Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2017-08-08

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

All times shown according to UTC.

Time Nick Message
00:04 openstackgerrit Merged openstack/puppet-designate master: Deprecate oslo.messaging rpc_backend option parameter  https://review.openstack.org/491348
00:34 openstackgerrit Merged openstack/puppet-qdr master: Fix permissions on qdrouterd.sasldb  https://review.openstack.org/489257
00:42 openstackgerrit zhongshengping proposed openstack/puppet-sahara master: Deprecate oslo.messaging rpc_backend option parameter  https://review.openstack.org/491362
00:50 openstackgerrit Merged openstack/puppet-manila master: Deprecate oslo.messaging rpc_backend option parameter  https://review.openstack.org/491351
00:50 openstackgerrit Merged openstack/puppet-nova master: Fix unit test  https://review.openstack.org/491353
00:55 markvoelker joined #puppet-openstack
00:57 markvoelker_ joined #puppet-openstack
01:18 openstackgerrit zhongshengping proposed openstack/puppet-aodh master: Fix rpc_backend option warning  https://review.openstack.org/491312
01:18 openstackgerrit zhongshengping proposed openstack/puppet-aodh master: Fix rpc_backend option warning  https://review.openstack.org/491312
01:20 openstackgerrit zhongshengping proposed openstack/puppet-cinder master: Fix rpc_backend option warning  https://review.openstack.org/491309
01:27 vinsh joined #puppet-openstack
01:33 openstackgerrit Merged openstack/puppet-octavia master: Deprecate oslo.messaging rpc_backend option parameter  https://review.openstack.org/491357
01:50 rwsu joined #puppet-openstack
01:52 ilbot3 joined #puppet-openstack
01:52 Topic for #puppet-openstack is now CI Status: REDish (beaker centos7 repo problems) | Puppet OpenStack modules https://docs.openstack.org/puppet-openstack-guide/latest/
01:56 openstackgerrit Merged openstack/puppet-tacker master: Deprecate oslo.messaging rpc_backend option parameter  https://review.openstack.org/491365
01:56 openstackgerrit Merged openstack/puppet-vitrage master: Fix rpc_backend option warning and test failed  https://review.openstack.org/491314
01:56 openstackgerrit Merged openstack/puppet-trove master: Fix rpc_backend option warning  https://review.openstack.org/491308
01:56 openstackgerrit Merged openstack/puppet-watcher master: Change tag link in README to the newest address  https://review.openstack.org/490306
02:12 openstackgerrit Merged openstack/puppet-magnum master: Deprecate oslo.messaging rpc_backend option parameter  https://review.openstack.org/491350
02:22 mtreinish joined #puppet-openstack
03:39 dixiaoli joined #puppet-openstack
03:45 udesale joined #puppet-openstack
04:52 ratailor joined #puppet-openstack
05:03 skramaja joined #puppet-openstack
05:44 yprokule joined #puppet-openstack
06:02 udesale__ joined #puppet-openstack
06:08 indistylo joined #puppet-openstack
06:10 agurenko joined #puppet-openstack
06:21 rcernin joined #puppet-openstack
06:45 jaganathan joined #puppet-openstack
06:53 simon-AS559 joined #puppet-openstack
06:55 gfidente joined #puppet-openstack
07:00 LarsErikP question; https://github.com/openstack/puppet-nova/blob/stable/newton/manifests/wsgi/apache_placement.pp this should _not_ create and manage a systemd unit for nova-placement-api, right?
07:00 LarsErikP 'cause.. i think it's somehow doing that...
07:03 LarsErikP and.. it really shouldn't beacause the placement api must run in wsgi - right?
07:07 markvoelker joined #puppet-openstack
07:08 markvoelker joined #puppet-openstack
07:10 aarefiev joined #puppet-openstack
07:21 tesseract joined #puppet-openstack
07:23 udesale joined #puppet-openstack
07:26 udesale__ joined #puppet-openstack
07:31 oidgar joined #puppet-openstack
07:38 ccamacho joined #puppet-openstack
07:39 simon-AS559 joined #puppet-openstack
07:40 simon-AS5591 joined #puppet-openstack
07:45 duritong joined #puppet-openstack
07:56 duritong joined #puppet-openstack
07:59 LarsErikP i can't really find the trick to run nova-api and nova-placement api in apache wsgi AND running the nova-api-metadata in eventlet (because metadata apparently can't be run in wsgi?)
07:59 LarsErikP ^ newton
07:59 openstackgerrit Merged openstack/puppet-barbican master: Fix unit test  https://review.openstack.org/491331
08:06 shardy joined #puppet-openstack
08:14 oidgar joined #puppet-openstack
08:17 mwarad joined #puppet-openstack
08:20 derekh joined #puppet-openstack
08:30 karthiks joined #puppet-openstack
08:43 saneax left #puppet-openstack
08:44 LarsErikP i really don't understand what's going on here. For every other puppet run, the nova-api.service gets "masked"
08:44 LarsErikP https://github.com/ntnusky/profile/blob/placement/manifests/openstack/nova/api.pp
09:06 jaosorior LarsErikP: you need to add service_name = 'httpd' for the nova-api and the nova-placement resources
09:06 jaosorior then you need to import the nova::wsgi::apache_api   and the nova::wsgi::apache_placement  resources
09:07 salmankhan joined #puppet-openstack
09:09 salmankhan1 joined #puppet-openstack
09:42 LarsErikP jaosorior: but the nova-placement don't have any service_name parameter?
09:43 jaosorior LarsErikP: let me re-check. That does apply for nova-api though.
09:44 LarsErikP jaosorior: yep, and for nova-api I have that :-) https://github.com/ntnusky/profile/blob/placement/manifests/openstack/nova/api.pp#L45
09:45 jaosorior LarsErikP: In tripleo we don't seem to have any special configuration for nova placement. Seems it expects you to use wsgi by default
09:45 jaosorior so it would be a matter of importing both the ::nova::placement and the ::nova::wsgi::apache_placement  resources
09:47 LarsErikP yeah, and that's what I actually do. The problem is that the nova-api service needs to run both in wsgi and in eventlet, because metadata can't run in wsgi... aaand, now the nova-api service gets masked every other puppet-run...
09:47 LarsErikP https://github.com/ntnusky/profile/blob/placement/manifests/openstack/nova/api.pp#L18 and https://github.com/ntnusky/profile/blob/placement/manifests/openstack/nova/placement.pp
09:50 LarsErikP I am assuimg this comment is true now.. https://github.com/openstack/puppet-nova/blob/stable/newton/manifests/api.pp#L404
09:56 shardy joined #puppet-openstack
10:02 LarsErikP jaosorior: oh - it may be due to this? https://github.com/openstack/puppet-nova/blob/stable/newton/spec/acceptance/nova_wsgi_apache_spec.rb#L66
10:03 fxpester joined #puppet-openstack
10:06 jaosorior LarsErikP: aaah, we run on CentOS/RHEL. It works there :)
10:07 jaosorior but yeah, metadata runs in eventlet.
10:07 LarsErikP fine, but I don't have any plans on changing OS :p
10:07 jaosorior oh, and enabled_apis needs to be ['metadata'] IIRC
10:09 LarsErikP it defaults to ['osapi_compute', 'metadata'] but if service_name is httpd, it will change to only ['metadata'] ? https://github.com/openstack/puppet-nova/blob/stable/newton/manifests/api.pp#L417
10:10 LarsErikP but it must be something related to placement. 'cause - 1st run: nova-api.service is enabled, nova-placement-api.service is masked. 2nd run nova-api.service becomes maskes, and nova-placement-api.service is enabled
10:11 LarsErikP but the nova-placement-api.service shouldn't really exist at all, since it runs in apache wsgi.....
10:12 LarsErikP mnaser: do you know the story behind this comment? https://github.com/openstack/puppet-nova/blob/stable/newton/spec/acceptance/nova_wsgi_apache_spec.rb#L66
10:16 foxhunt7z joined #puppet-openstack
10:16 mdavidson joined #puppet-openstack
10:17 iurygregory joined #puppet-openstack
10:18 agurenko joined #puppet-openstack
10:18 mkarpin joined #puppet-openstack
10:18 openstackgerrit Dmitry Tantsur proposed openstack/puppet-ironic master: Stop using SSH drivers in tests, they were removed from ironic  https://review.openstack.org/491746
10:18 dtantsur this should fix puppet-ironic CI ^^^
10:20 colonwq joined #puppet-openstack
10:32 indistylo joined #puppet-openstack
10:53 udesale joined #puppet-openstack
11:00 LarsErikP jaosorior: well, I think I this bug: https://bugs.launchpad.net/cloud-archive/+bug/1700677
11:00 openstack Launchpad bug 1700677 in nova (Ubuntu Yakkety) "nova-api conflicts with nova-placement-api in newton on xenial" [High,Triaged]
11:03 chem joined #puppet-openstack
11:12 fultonj joined #puppet-openstack
11:13 fultonj joined #puppet-openstack
11:48 atoth joined #puppet-openstack
11:49 openstackgerrit Merged openstack/puppet-magnum master: Allow setting of the DB sync command path  https://review.openstack.org/490397
11:51 jaosorior LarsErikP: right, that sounds like the issue
11:52 dtantsur folks, could you please check https://review.openstack.org/#/c/491746/ ? it's needed to fix the puppet-ironic CI
12:02 mnaser LarsErikP i actually run centos as well
12:03 mnaser do you have logs of the puppet run that's failing?
12:29 rwsu joined #puppet-openstack
12:39 LarsErikP mnaser: well, I think it's because of this now https://bugs.launchpad.net/cloud-archive/+bug/1700677
12:39 openstack Launchpad bug 1700677 in nova (Ubuntu Yakkety) "nova-api conflicts with nova-placement-api in newton on xenial" [High,Triaged]
12:39 LarsErikP so, not directly related to the puppet-modules
12:41 mnaser LarsErikP i remember reading about this on the ML at some point too
12:41 mnaser but yeah, that's a bit rough :\
12:44 LarsErikP yeah, 'cause that basically means that you can't currently run nova-api in nova-placement-api on the same host with xenial...
12:44 LarsErikP and.. that kinda' sucks :p
12:45 dprince joined #puppet-openstack
12:54 vinsh joined #puppet-openstack
12:58 iurygregory dtantsur, +2 in the ironic patch
12:58 dtantsur thanks!
12:59 iurygregory yw ;)
12:59 ansmith joined #puppet-openstack
13:05 clayton joined #puppet-openstack
13:12 markvoelker joined #puppet-openstack
13:21 alee joined #puppet-openstack
13:33 rmart04 joined #puppet-openstack
13:41 openstackgerrit Radomir Dopieralski proposed openstack/puppet-horizon stable/ocata: Horizon SSL handshake errors with apache  https://review.openstack.org/491810
13:46 jtomasek joined #puppet-openstack
13:56 oidgar joined #puppet-openstack
14:03 jaganathan joined #puppet-openstack
14:21 med_ joined #puppet-openstack
14:57 xarses_ joined #puppet-openstack
14:58 jaganathan joined #puppet-openstack
15:10 martbhell joined #puppet-openstack
15:38 ccamacho joined #puppet-openstack
15:50 ntpttr_laptop joined #puppet-openstack
15:55 mwhahaha why are our lint jobs running rake spec now
15:55 mwhahaha http://logs.openstack.org/52/491352/1/gate/gate-puppet-mistral-puppet-lint/9b68f25/console.html#_2016-12-16_09_27_21_573278
15:58 mwhahaha wait a min
15:59 agurenko joined #puppet-openstack
16:01 alee_ joined #puppet-openstack
16:17 ntpttr_laptop__ joined #puppet-openstack
16:33 indistylo joined #puppet-openstack
16:35 simon-AS559 joined #puppet-openstack
16:40 simon-AS559 joined #puppet-openstack
16:40 martbhell hello :) I'm having some trouble figuring out the right syntax for pci_alias in puppet-nova. Anybody got some idea? If I use the one in the example: https://github.com/openstack/puppet-nova/blob/stable/newton/manifests/api.pp#L81 puppet writes pci_alias= in nova.conf as an array, not a multistr
16:53 mwhahaha martbhell: it looks like in newer versions it's a listopt
16:53 mwhahaha did we improperly backport that for newton?
16:53 mwhahaha or do you need to upgrade your version for newton?
16:53 mwhahaha https://review.openstack.org/#/c/472611/
16:59 martbhell mwhahaha: do you have some hint how one can find which version of nova has it has listopt? https://github.com/openstack/nova/blob/master/nova/conf/pci.py says MultiStrOpt
17:00 mwhahaha ask #openstack-nova
17:00 martbhell we run nova newton and the puppet version is the latest for newton too, 9.6.0
17:00 mwhahaha owalsh: do you know anyting about pci_alias?
17:00 owalsh mwhahaha: err... a little
17:00 martbhell :)
17:01 mwhahaha owalsh: do you recall anything about that format change and puppet-nova change we did for it? -^ :D
17:02 mwhahaha i thought it was just an array of strings
17:02 * mwhahaha shrugs
17:04 martbhell i have been trying to figure out the correct syntax for a two days, i'm quite new to both openstack and puppet though. If I remove the join(any2array(check_array_of_hash( from api.pp and just send $pci_alias it works but I guess these join/any2array are so one can have multiple aliases. But from what I can understand nova.conf wants multiple pci_aliases and each should be a hash
17:04 mwhahaha right but it might just be an array of hash strings
17:04 mwhahaha i don't know, i honestly hate that config style
17:05 mwhahaha for precisely this reason
17:05 owalsh mwhahaha, martbhell: yea, IIRC multiple pci_aliases is correct, each is a hash
17:06 mwhahaha https://github.com/openstack/puppet-nova/blob/8938e4cff9fb7aa02f6b01037f3afef22792b8c8/lib/puppet/parser/functions/check_array_of_hash.rb
17:06 mwhahaha so i think you want an array of json strings
17:06 mwhahaha ['{foo: 1}', '{bar: 2}']
17:07 martbhell it needs to be a string too
17:08 mwhahaha yea other than what's in the param comments i have no idea what is needed for that
17:10 martbhell So at something like "['{"foo": "1"}', '{"bar": "2"}']" to make it valid-ish json - but i have tried something like this and it then writes the whole thing into one pci_alias, including the [] brackets
17:11 mwhahaha https://github.com/openstack/puppet-nova/blob/ff924133a46d648c130bff26cb21e0240476c91c/spec/classes/nova_api_spec.rb#L120
17:11 mwhahaha that's what we test it with
17:11 martbhell ohh
17:11 mwhahaha it's just a spec test so that may not be valid config but that seems to be the format
17:12 martbhell okay that's a lot of escaping
17:12 martbhell :)
17:12 martbhell i have not tried that i think
17:12 mwhahaha could be lest escaping if the outside quotes were '
17:13 mwhahaha '[{"vendor_id":"1234", ...},{"vendor_id":"1235", ...}]'
17:13 mwhahaha something to that effect
17:15 martbhell also I haven't tried to actually enter multiple aliases, only one
17:15 martbhell maybe that could have some effect too
17:19 owalsh so, the example from the spec tests results in the nova.conf pci_alias=[{"vendor_id":"8086","product_id":"0126","name":"graphic_card"},{"vendor_id":"9096","product_id":"1520","name":"network_card"}]
17:22 martbhell owalsh: is that by puppeting like this:?  pci_alias => "[{\"vendor_id\":\"8086\",\"product_id\":\"0126\",\"name\":\"graphic_card\"},{\"vendor_id\":\"9096\",\"product_id\":\"1520\",\"name\":\"network_card\"}]"
17:23 owalsh martbhell: yes
17:24 martbhell okay, with only one entry in the list that doesn't work for me in newton. Is evening time here so I won't be able to play more with this until tomorrow
17:26 owalsh martbhell: evening here too, but I'll try to take a look at this later
17:28 martbhell much appreciated :)
17:36 vinsh joined #puppet-openstack
17:37 markvoelker joined #puppet-openstack
17:48 salmankhan1 joined #puppet-openstack
18:15 makowals joined #puppet-openstack
18:24 vinsh joined #puppet-openstack
18:25 vinsh_ joined #puppet-openstack
18:40 markvoelker joined #puppet-openstack
18:46 simon-AS559 joined #puppet-openstack
19:08 oidgar joined #puppet-openstack
19:44 markvoelker joined #puppet-openstack
20:26 openstackgerrit Merged openstack/puppet-ironic master: Stop using SSH drivers in tests, they were removed from ironic  https://review.openstack.org/491746
20:55 dprince joined #puppet-openstack
21:37 markvoelker joined #puppet-openstack
21:59 dprince joined #puppet-openstack
22:04 markvoelker joined #puppet-openstack
22:05 markvoelker_ joined #puppet-openstack
22:36 markvoelker joined #puppet-openstack
22:37 markvoel_ joined #puppet-openstack
23:01 markvoelker joined #puppet-openstack
23:09 alee_ joined #puppet-openstack
23:18 markvoelker joined #puppet-openstack

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