Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2015-06-02

| Channels | #puppet-openstack index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 openstackgerrit Colleen Murphy proposed stackforge/puppet-nova: Added parameters for availability zones configuration  https://review.openstack.org/187396
00:08 xarses joined #puppet-openstack
00:08 openstackgerrit Colleen Murphy proposed stackforge/puppet-nova: Correct docs on format for nova::policy data  https://review.openstack.org/187398
00:09 alexpilotti joined #puppet-openstack
00:09 openstackgerrit Colleen Murphy proposed stackforge/puppet-nova: Remove Python Package Declaration  https://review.openstack.org/187400
00:09 rcallawa_ joined #puppet-openstack
00:10 alexpilotti hi guys, does anybody know when puppet-nova Kilo is going to be ready?
00:11 openstackgerrit Colleen Murphy proposed stackforge/puppet-nova: crontab: ensure nova-common is installed before  https://review.openstack.org/187401
00:18 xarses joined #puppet-openstack
00:18 rcallawa_ joined #puppet-openstack
00:25 rcallaw__ joined #puppet-openstack
01:10 ducttape_ joined #puppet-openstack
01:16 openstackgerrit Colleen Murphy proposed stackforge/puppet-keystone: Add native types for keystone paste configuration  https://review.openstack.org/187412
01:20 alexpilotti mgagne: hi
01:32 openstackgerrit Colleen Murphy proposed stackforge/puppet-keystone: Add paste_config optional parameter  https://review.openstack.org/187414
01:40 petems joined #puppet-openstack
01:40 tchaypo joined #puppet-openstack
01:45 simonmcc joined #puppet-openstack
01:45 openstackgerrit Colleen Murphy proposed stackforge/puppet-keystone: Fix deprecated LDAP config options  https://review.openstack.org/187416
01:45 openstackgerrit Colleen Murphy proposed stackforge/puppet-keystone: Set WSGI process display-name  https://review.openstack.org/187417
01:48 openstackgerrit Colleen Murphy proposed stackforge/puppet-keystone: Rename resource instance variable  https://review.openstack.org/187418
01:51 openstackgerrit Colleen Murphy proposed stackforge/puppet-keystone: Switch the example URL to a fake address  https://review.openstack.org/187419
01:56 openstackgerrit Colleen Murphy proposed stackforge/puppet-heat: added option to configure flavor in heat.conf  https://review.openstack.org/187421
02:05 openstackgerrit Colleen Murphy proposed stackforge/puppet-heat: Fix Keystone domain class  https://review.openstack.org/187423
02:09 openstackgerrit Colleen Murphy proposed stackforge/puppet-heat: Fix ipv6 support  https://review.openstack.org/187424
02:32 ducttape_ joined #puppet-openstack
03:10 gildub joined #puppet-openstack
03:24 openstackgerrit Merged stackforge/puppet-nova: templates: Fix variable prepending  https://review.openstack.org/180138
03:25 openstackgerrit Merged stackforge/puppet-nova: spec: convert remaining deprecated keywords  https://review.openstack.org/183897
03:27 ducttape_ joined #puppet-openstack
03:33 fedexo joined #puppet-openstack
03:55 ducttape_ joined #puppet-openstack
04:02 aimon joined #puppet-openstack
04:03 britthou_ joined #puppet-openstack
04:08 openstackgerrit Matt Fischer proposed stackforge/puppet-cinder: Don't add a new line if the rbd_user changes  https://review.openstack.org/187448
04:10 chem joined #puppet-openstack
04:14 openstackgerrit Matt Fischer proposed stackforge/puppet-designate: MySQL: change default MySQL collate to utf8_general_ci  https://review.openstack.org/187451
04:47 delattec joined #puppet-openstack
04:56 ducttape_ joined #puppet-openstack
05:03 sks joined #puppet-openstack
05:13 cwolferh joined #puppet-openstack
05:47 reed joined #puppet-openstack
06:12 tshtilma joined #puppet-openstack
06:28 rlaurika joined #puppet-openstack
06:31 khappone joined #puppet-openstack
06:45 ducttape_ joined #puppet-openstack
06:46 tfz joined #puppet-openstack
07:16 dgurtner joined #puppet-openstack
07:16 dgurtner joined #puppet-openstack
07:17 dalgaaf joined #puppet-openstack
07:22 panda|ko joined #puppet-openstack
07:28 jpena joined #puppet-openstack
07:48 jistr joined #puppet-openstack
07:50 paramite joined #puppet-openstack
07:57 beddari1 joined #puppet-openstack
08:01 ducttape_ joined #puppet-openstack
08:19 derekh joined #puppet-openstack
08:31 todin joined #puppet-openstack
08:31 todin hi
08:32 todin does the puppet-neutron support for service_providers entries like lbaas
08:53 kbyrne joined #puppet-openstack
09:21 cdent joined #puppet-openstack
09:50 ducttape_ joined #puppet-openstack
10:12 openstackgerrit sac proposed stackforge/puppet-manila: Add share driver options.  https://review.openstack.org/186699
10:32 rcallawa_ joined #puppet-openstack
10:34 openstackgerrit sac proposed stackforge/puppet-manila: Add share driver options.  https://review.openstack.org/186699
10:46 alexpilotti joined #puppet-openstack
10:48 jpena joined #puppet-openstack
10:50 dgurtner joined #puppet-openstack
10:50 dgurtner joined #puppet-openstack
10:54 ducttape_ joined #puppet-openstack
11:06 kevin joined #puppet-openstack
11:22 igajsin joined #puppet-openstack
11:22 panda|ko joined #puppet-openstack
11:31 Guest16407 joined #puppet-openstack
11:48 dprince joined #puppet-openstack
12:04 ducttape_ joined #puppet-openstack
12:09 paramite joined #puppet-openstack
12:09 cdelatte joined #puppet-openstack
12:23 bogdando joined #puppet-openstack
12:49 ahcorporto joined #puppet-openstack
12:50 rcallawa_ joined #puppet-openstack
12:51 ducttape_ joined #puppet-openstack
12:57 paramite joined #puppet-openstack
12:58 alexpilotti mgagne: ping
13:03 tfhartmann joined #puppet-openstack
13:05 ahcorporto1 joined #puppet-openstack
13:17 sks joined #puppet-openstack
13:23 richm joined #puppet-openstack
13:27 ducttape_ joined #puppet-openstack
13:42 tfhartmann joined #puppet-openstack
13:44 openstackgerrit Dan Prince proposed stackforge/puppet-tripleo: Use node IP lists for HA Proxy ipaddresses  https://review.openstack.org/186775
13:44 openstackgerrit Dan Prince proposed stackforge/puppet-tripleo: Allow use of ssl for public api endpoints  https://review.openstack.org/175958
13:44 openstackgerrit Dan Prince proposed stackforge/puppet-tripleo: Configure virtual IPs for split out networks  https://review.openstack.org/186240
13:44 openstackgerrit Dan Prince proposed stackforge/puppet-tripleo: Add interface_for_ip function  https://review.openstack.org/186776
13:44 openstackgerrit Dan Prince proposed stackforge/puppet-tripleo: Stop keystone admin from listening on public interface  https://review.openstack.org/187371
13:44 openstackgerrit Dan Prince proposed stackforge/puppet-tripleo: Drop nova_meta and glance_registry on public vip  https://review.openstack.org/187588
13:47 tfhartmann joined #puppet-openstack
13:53 tshtilma joined #puppet-openstack
13:57 openstackgerrit Dan Prince proposed stackforge/puppet-tripleo: Configure virtual IPs for split out networks  https://review.openstack.org/186240
14:02 tfhartmann joined #puppet-openstack
14:08 chem joined #puppet-openstack
14:13 xingchao joined #puppet-openstack
14:14 ducttape_ joined #puppet-openstack
14:16 ToMiles joined #puppet-openstack
14:18 ericpeterson joined #puppet-openstack
14:23 stevemar joined #puppet-openstack
14:23 tfhartmann joined #puppet-openstack
14:46 Guest16407 joined #puppet-openstack
14:48 guimaluf joined #puppet-openstack
14:52 openstackgerrit Malik Bougacha proposed stackforge/puppet-glance: adding support for min ram and min disk  https://review.openstack.org/187618
14:54 crinkle morning
14:56 dfisher joined #puppet-openstack
14:59 spredzy hello
15:00 clayton meeting today?
15:00 crinkle yep
15:02 Hunner _ody: meeting?
15:02 crinkle _ody: are you around? meeting is in #openstack-meeting-4
15:05 rcallaw__ joined #puppet-openstack
15:09 tfz joined #puppet-openstack
15:13 mdorman joined #puppet-openstack
15:14 dfisher gah.
15:21 panda|ko joined #puppet-openstack
15:34 tfz joined #puppet-openstack
15:43 openstackgerrit joined #puppet-openstack
15:46 tristanC left #puppet-openstack
15:54 _ody Ok...must make coffee and food...
15:54 * _ody takes laptop to kitchen for meeting
16:00 Hunner The beauty of an irc meeting :)
16:02 rcallawa_ joined #puppet-openstack
16:04 mdorman crap, totally missed the meeting
16:04 mdorman yet another outlook calendar notificatoin fail
16:04 ahcorporto1 left #puppet-openstack
16:08 tfhartmann joined #puppet-openstack
16:14 _ody mdorman: Everyone says they same about Google Calendar too
16:15 mdorman yeah i don’t have good luck with taht either
16:15 mdorman not sure why this is such a hard problem
16:23 tfhartmann joined #puppet-openstack
16:24 xingchao joined #puppet-openstack
16:25 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: support for keystone v3 api - add domains to service_identity  https://review.openstack.org/180586
16:25 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: wip - support for keystone v3 api - the user_role resource  https://review.openstack.org/174999
16:25 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: support for keystone v3 api - v3 domain utility code  https://review.openstack.org/178385
16:25 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: support for keystone v3 api - keystone and keystone::roles::admin  https://review.openstack.org/175060
16:25 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: wip -support for keystone v3 api - the user resource  https://review.openstack.org/174976
16:25 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: wip - support for keystone v3 api - the project resource  https://review.openstack.org/174468
16:25 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: wip - support for keystone v3 api - beaker tests  https://review.openstack.org/178828
16:25 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: support for keystone v3 api - the domain resource  https://review.openstack.org/174439
16:35 mattymo joined #puppet-openstack
16:36 dprince joined #puppet-openstack
16:40 _ody joined #puppet-openstack
16:43 dfisher well, awesome.  keystone, glance, heat, and cinder (with a Solaris-specific cinder driver) all working on solaris.
16:43 _ody joined #puppet-openstack
16:50 iurygregory joined #puppet-openstack
17:04 aimon joined #puppet-openstack
17:09 dfisher quick puppet manifest question.  I need to run a command and save that value to use later to set things for nova.  Is there a magic incantation to do this?
17:14 Hunner dfisher: On the agent side?
17:14 Hunner And in nova for nova?
17:14 Hunner Can it be a fact?
17:15 dfisher hmm.
17:15 tshtilma joined #puppet-openstack
17:15 dfisher good point.  will check facter
17:15 openstackgerrit Merged stackforge/puppet-glance: Correct docs on format for glance::policy data  https://review.openstack.org/187320
17:15 dfisher if it's not in facter, what's the right way to do this?
17:17 openstackgerrit Merged stackforge/puppet-neutron: Correct docs on format for neutron::policy data  https://review.openstack.org/187383
17:17 Hunner dfisher: It depends on the use case. When does the command need to run? Are there any pre-steps that need to happen before the fact runs?
17:18 Hunner What uses the value? How many places is it used?
17:18 dfisher nope.  just need the output from psrinfo -p
17:18 Hunner ah
17:18 dfisher used for all the workers configurations
17:18 openstackgerrit Merged stackforge/puppet-nova: Correct docs on format for nova::policy data  https://review.openstack.org/187398
17:18 Hunner Then yeah, the module can add a custom fact
17:18 dfisher ok.
17:18 Hunner Or you can make a facter PR :)
17:18 dfisher :)
17:18 dfisher ok, will go from there.   thanks, Hunner
17:19 Hunner The puppet community hangout is going, if you want to join and ask about contributing to facter
17:19 Hunner From #puppet-dev:
17:19 Hunner 09:55       peterhu | Puppet Community PR triage is starting in about 10 minutes: http://links.puppetlabs.com/pr-triage
17:19 Hunner Every week at this time
17:20 dfisher oh.  maybe!
17:20 xarses joined #puppet-openstack
17:24 dfisher i have so many things running right now.  can't make this one, sadly
17:28 tshtilma joined #puppet-openstack
17:54 openstackgerrit Ben Nemec proposed stackforge/puppet-tripleo: Use node IP lists for HA Proxy ipaddresses  https://review.openstack.org/186775
17:54 openstackgerrit Ben Nemec proposed stackforge/puppet-tripleo: Allow use of ssl for public api endpoints  https://review.openstack.org/175958
17:54 openstackgerrit Ben Nemec proposed stackforge/puppet-tripleo: Add interface_for_ip function  https://review.openstack.org/186776
17:55 openstackgerrit Ben Nemec proposed stackforge/puppet-tripleo: Stop keystone admin from listening on public interface  https://review.openstack.org/187371
17:55 openstackgerrit Ben Nemec proposed stackforge/puppet-tripleo: Drop nova_meta and glance_registry on public vip  https://review.openstack.org/187588
17:55 openstackgerrit Richard Megginson proposed stackforge/puppet-openstacklib: support for Keystone v3 authentication  https://review.openstack.org/187654
17:59 openstackgerrit Malik Bougacha proposed stackforge/puppet-glance: adding support for min ram and min disk  https://review.openstack.org/187704
18:09 tfhartmann joined #puppet-openstack
18:09 openstackgerrit Malik Bougacha proposed stackforge/puppet-glance: adding support for min ram and min disk  https://review.openstack.org/187709
18:10 openstackgerrit joined #puppet-openstack
18:56 openstackgerrit joined #puppet-openstack
19:00 tfhartmann joined #puppet-openstack
19:08 ToMiles joined #puppet-openstack
19:12 dfisher Hunner:  turns out that facter already had the data I needed.  Didn't need a custom fact at all.
19:13 dfisher on x86:
19:13 dfisher root@openstack-x52:/# facter physicalprocessorcount processorcount
19:13 dfisher physicalprocessorcount => 2
19:13 dfisher processorcount => 32
19:14 dfisher on sparc:
19:14 dfisher $ facter physicalprocessorcount processorcount
19:14 dfisher physicalprocessorcount => 1
19:14 dfisher processorcount => 128
19:14 dfisher do you like cores?  sparc has cores.
19:21 cdent joined #puppet-openstack
19:35 aimon_ joined #puppet-openstack
19:41 mgagne I can't believe we aren't using pick() more than that
19:59 richm What's the status of the template for new projects?  One of the Barbican devs wants to create a puppet-barbican
20:00 alee joined #puppet-openstack
20:01 dfisher got a bit of a manifest issue with Nova and Solaris here.  Anybody got a sec to look at http://paste.openstack.org/show/257183/ ?
20:04 richm spredzy: I guess this would be the cookiecutter work?
20:06 spredzy richm, yes it is. https://github.com/enovance/cookiecutter-openstack-puppet-modules
20:07 spredzy this + msync on top of it and you should have a well started modules for you
20:07 nosleep77 joined #puppet-openstack
20:08 richm spredzy: thanks!
20:08 spredzy richm, yw
20:10 openstackgerrit joined #puppet-openstack
20:15 openstackgerrit Matt Fischer proposed stackforge/puppet-nova: Remove comment for non-existant variable  https://review.openstack.org/187752
20:15 mfisch here's a trivial if someone wants review points ^
20:17 rcallaw__ joined #puppet-openstack
20:19 * crinkle noms points
20:19 openstackgerrit Colleen Murphy proposed stackforge/puppet-neutron: Allow l3_ha to be disabled  https://review.openstack.org/187389
20:19 jtomasek joined #puppet-openstack
20:19 mfisch I like the essex reference
20:24 openstackgerrit Colleen Murphy proposed stackforge/puppet-neutron: Add MidoNet plugin manifest  https://review.openstack.org/187392
20:26 dfisher anybody got any ideas with my fun error above?
20:28 mfisch dfisher: my uninformed opinion is that you need to include ::nova::vncproxy before referencing any variables in it
20:28 dfisher ignore those.
20:28 dfisher the last line.
20:28 dfisher Error: Could not find dependency Package[nova-compute] for Service[nova-compute] at /etc/puppet/modules/nova/manifests/generic_service.pp:60
20:29 aimon joined #puppet-openstack
20:29 mfisch looks like params issue but yours seems ok
20:29 mfisch wonder if there is some code referencing that package direct by name
20:30 aimon_ joined #puppet-openstack
20:30 dfisher i can paste a —verbose —debug dump too but I don't see much in there.
20:30 mfisch I found some code, but its inside if debian
20:30 mfisch I need to step away for a bit
20:30 dfisher no worries.  i'm not going anywhere
20:34 dfisher so if I change https://github.com/stackforge/puppet-nova/blob/master/manifests/generic_service.pp#L54 to be 'service { $service_name:   and L59 to be 'require => [Package['nova-common'], Package[$pacakge_name]] … everything seems to work
20:34 dfisher not really sure why $nova-title is used instead of the passed in $package_name / $service_names
20:41 dfisher seems there was a cset which specifically changed it to what it is now though :/
20:53 openstackgerrit Colleen Murphy proposed stackforge/puppet-nova: Added parameters for availability zones configuration  https://review.openstack.org/187396
20:56 openstackgerrit Ben Nemec proposed stackforge/puppet-tripleo: Use node IP lists for HA Proxy ipaddresses  https://review.openstack.org/186775
20:56 openstackgerrit Ben Nemec proposed stackforge/puppet-tripleo: Allow use of ssl for public api endpoints  https://review.openstack.org/175958
20:57 openstackgerrit Ben Nemec proposed stackforge/puppet-tripleo: Drop nova_meta and glance_registry on public vip  https://review.openstack.org/187588
21:09 ducttape_ joined #puppet-openstack
21:14 mgagne dfisher: I think $nova_title is used to get a predictable service and package resource title. Their names are overriden with $package_name and $service_name which are platform specific.
21:15 dfisher but line 23 in that file hardcodes … right?
21:15 dfisher $nova_title = "nova-${name}"
21:16 mgagne dfisher: it's dynamically built since the define name is the nova service name without the nova- prefix (for some reason)
21:17 dfisher my head hurts.
21:17 dfisher :(
21:19 mgagne dfisher: with puppet, there is 2 different concepts: the resource title (a unique identifier) and the namevar (usually the name attribute)
21:19 mgagne dfisher: both are unique but the later is usually platform specific.
21:20 mgagne dfisher: since you need to still be able to refer those resources from elsewhere, you usually use a static/constant resource title which isn't platform specific.
21:21 mgagne dfisher: with generic_service, the title ($nova_title) is always (for example) nova-compute, not the actual package name which is platform specific (nova-compute on Debian platforms and openstack-nova-compute on RedHat platforms)
21:21 mgagne dfisher: this allows you to always be able to find the resource from other manifests using a "standard" resource title (nova-compute) instead of having to "guess" the actual package name the platform uses.
21:22 dfisher ok.  that all (somewhat) makes sense.
21:23 dfisher what I'm not seeing is why the require isn't on the specific package name though :(
21:23 mgagne dfisher: the package "name" found in the require is the title, not the name
21:24 * dfisher nods
21:24 dfisher ok.
21:24 mgagne dfisher: I guess you could use the name but don't =)
21:24 * dfisher nods
21:24 dfisher man, getting nova working with all the solaris-isms is … unfun.
21:24 mgagne dfisher: better use a non-platform specific identifier so you don't have to include nova::params to fetch the actual package name to build your require
21:25 mgagne dfisher: how is solaris a challenge? I'm not familiar with this plaform
21:25 dfisher ^ not sure what you mean on that one
21:25 mgagne dfisher: for example: https://github.com/stackforge/puppet-nova/blob/master/manifests/compute/libvirt.pp#L118
21:25 dfisher oh, lookie there.
21:26 rcallawa_ joined #puppet-openstack
21:26 dfisher well, mostly that in solaris we have a single package for all of Nova.
21:26 dfisher (so far)
21:26 dfisher linux seems to like a crazy amount of granularity
21:26 mgagne dfisher: without nova-compute as a resource *title*, you would have to include the nova::params class, fetch the package_name of the platform and dynamically building a resource name like Package[$::nova::params::compute_package_name].
21:26 mgagne dfisher: oh god, I'm so sorry
21:27 * dfisher ^H^H^H^H in api.pp
21:27 dfisher no, it's really ok.  i mean, it's trying to balance how linux has 345236 nova packages and solaris has 1.
21:27 dfisher also, s/nova/<any openstack component>
21:27 mgagne sure
21:28 mgagne tbh, I wouldn't know how to add support for solaris without refactoring the whole module
21:28 dfisher so far it's not really been that bad.
21:28 rcallawa_ joined #puppet-openstack
21:28 dfisher we'll see at code review :)
21:28 dfisher i need to slightly tweak a few small things and that's really it.
21:28 dfisher and deliver a custom compute manifest, obv.
21:28 mgagne yes, we have similar challenges with some platforms with glance which combines api and registry in the same package.
21:29 dfisher glance causes me fits.  just in general.  not specifically with puppet
21:29 dfisher stupid glance.
21:29 dfisher "it's just a list of URLs, guys."
21:29 mgagne https://github.com/stackforge/puppet-glance/blob/master/manifests/registry.pp#L165-L172
21:29 dfisher ayup :)
21:30 dfisher heat patch:
21:30 dfisher +  if ( $heat::params::engine_package_name != $heat::params::common_package_name ) {
21:30 dfisher +    ensure_packages([$heat::params::engine_package_name],
21:30 dfisher +      {
21:30 dfisher +        ensure => $package_ensure,
21:30 dfisher +        name   => $::heat::params::engine_package_name,
21:30 dfisher +        tag    => ['openstack'],
21:30 dfisher +      }
21:30 dfisher +    )
21:30 dfisher +  }
21:30 dfisher +
21:30 dfisher look familar? :)
21:30 mgagne yep
21:30 * dfisher sad
21:30 mgagne it's awful and I think we can do better
21:30 dfisher at this point, i'm sort of just slamming code in to try to make this function
21:30 dfisher here's another fun one
21:31 dfisher we have an SMF service for doing foo-manage db sync
21:31 dfisher we don't call it directly
21:31 dfisher so, the db_sync addition to openstacklib that's been proposed will impact us … i think?
21:31 mgagne I think we should split all package installation in its own class so all the dirty logic is circumscribed in there
21:31 dfisher solaris is easy-peasy:  pkg install nova
21:31 dfisher aaaand done.
21:31 mgagne dfisher: can you explain how SMF influence db sync? is it some kind of wrapper?
21:32 dfisher yup
21:32 dfisher that's all it is
21:32 dfisher <exec_method timeout_seconds="60" type="method" name="start"
21:32 dfisher exec="/usr/bin/cinder-manage db sync">
21:32 dfisher <method_context>
21:32 dfisher <method_credential user='cinder' group='cinder' />
21:32 dfisher </method_context>
21:32 dfisher </exec_method>
21:32 dfisher run that command as that user/group
21:32 dfisher and exit
21:32 dfisher done
21:32 mgagne how do you invoke it?
21:33 mgagne echo | smf ? o_O
21:33 dfisher boot :)
21:33 mgagne you sync at each boot?
21:33 dfisher seems to be harmless
21:34 dfisher so far :)
21:34 mgagne I beg to differ
21:34 dfisher ohdear :)
21:34 mgagne try it with ceilometer for instance
21:34 dfisher hey, we don't pkg ceilometer! :)
21:34 * dfisher phew
21:35 mgagne or neutron between grizzly -> havana
21:35 mgagne unless solaris figured that one out
21:35 dfisher hey, we only have one release at a time! :)
21:35 dfisher :P
21:35 mgagne or you tell me that solaris only support havana and up
21:35 dfisher juno!
21:36 mgagne god bless you
21:36 dfisher we added code to automatically upgrade people from havana to juno
21:36 mgagne :O
21:37 dfisher :D
21:37 dfisher see, when you have have ZFS, you can get away with murder!
21:37 dfisher oh, your entire OS is hosed?  *rolls back to previous environment*  *reboot*.  30 seconds later, we're back
21:37 mgagne oh true, I forgot about that one
21:37 dfisher :)
21:37 mgagne ok so the challenges so far are: unique package name (unlike linux distro) and SMF used to db sync at boot
21:37 dfisher i'll have a blog post on this entire process "soon"
21:38 dfisher so, the SMF thing, you shouldn't worry about
21:38 dfisher i need to submit a PR against upstream puppet
21:38 dfisher i can add a flag to puppet's invocation
21:38 dfisher and everything gets fixed.
21:38 dfisher --- puppet-3.6.2/lib/puppet/provider/service/smf.rb.orig        2015-06-02 10:28:10.870219833 -0600
21:38 dfisher +++ puppet-3.6.2/lib/puppet/provider/service/smf.rb      2015-06-02 10:28:19.325013006 -0600
21:38 dfisher @@ -70,7 +70,7 @@ Puppet::Type.type(:service).provide :smf
21:38 dfisher when :maintenance
21:38 dfisher [command(:adm), :clear, @resource[:name]]
21:38 dfisher else
21:38 dfisher -      [command(:adm), :enable, "-s", @resource[:name]]
21:38 dfisher +      [command(:adm), :enable, "-rs", @resource[:name]]
21:38 dfisher end
21:38 dfisher end
21:39 dfisher SMF's dependencies will take care of the db sync service
21:49 aimon joined #puppet-openstack
21:52 aimon_ joined #puppet-openstack
21:55 mgagne why do we need keystone::python in nova again? https://github.com/stackforge/puppet-nova/blob/master/manifests/api.pp#L188
21:56 stevemar mgagne, is that the keystoneclient python lib?
21:57 mgagne stevemar: haven't been the case for 2 years I think
21:57 mgagne stevemar: and I think nova-api package depends on it anyway
21:58 stevemar mgagne, sorry, my question was simpler, i'm a ruby noob, what's require ::keystone::python mean ? :)
21:58 stevemar mgagne, but yes, i can confirm that nova probably pulls it in, and should only need keystonemiddleware anyway
21:59 mgagne stevemar: it means every resources found in the class will automatically requires this resource
21:59 crinkle stevemar: it includes this class https://github.com/stackforge/puppet-keystone/blob/master/manifests/python.pp which installs this package https://github.com/stackforge/puppet-keystone/blob/master/manifests/params.pp#L5
22:00 crinkle i can't imagine why nova needs that...
22:00 stevemar crinkle, ahhh i get it
22:00 stevemar yeah probably doesn't :\
22:00 crinkle maybe it was to set up the nova keystone_user ?
22:02 stevemar crinkle, thats the only relationship it should have, but it doesn't look like https://github.com/stackforge/puppet-keystone/blob/master/manifests/params.pp#L5 does that
22:22 dfisher ok, what's
22:22 dfisher Nova_paste_api_ini<| |> ~> Service['nova-api']
22:22 dfisher do?
22:25 crinkle it gathers every nova_paste_api_ini resource in the entire catalog, "realizes" it if necessary, and prompts the nova-api service to refresh if any of the nova_paste_api_ini resources are being updated
22:25 crinkle https://docs.puppetlabs.com/puppet/latest/reference/lang_collectors.html
22:28 dfisher gotcha.
22:28 dfisher thanks
22:42 petems joined #puppet-openstack
22:58 xingchao joined #puppet-openstack
23:03 dfisher ugh.  package dependencies in puppet manifests makes for sad.
23:12 stevemar joined #puppet-openstack
23:22 panda|ko joined #puppet-openstack
23:38 gildub joined #puppet-openstack
23:40 markvoelker joined #puppet-openstack
23:40 alee joined #puppet-openstack
23:42 aimon joined #puppet-openstack

| Channels | #puppet-openstack index | Today | | Search | Google Search | Plain-Text | summary