Perl 6 - the future is here, just unevenly distributed

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

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

All times shown according to UTC.

Time Nick Message
00:15 tonyb joined #puppet-openstack
00:16 tonyb I'm really new to puppet.  I'm tryign to use packstack and one of the jobs?manifests is failing with an I *think* it's due to an undefined variable.  Any pointers on how I can debug this?
00:21 mnaser tonyb got any logs?
00:22 tonyb mnaser: sure let me pastebin them
00:27 tonyb mnaser: slightly edited http://paste.openstack.org/show/617195/
00:28 mnaser https://github.com/openstack/packstack/blob/master/packstack/puppet/modules/packstack/manifests/neutron/ovs_agent.pp#L50
00:28 mnaser looks like localip is not set for whatever reason
00:29 mnaser https://github.com/openstack/packstack/blob/master/packstack/puppet/modules/packstack/manifests/neutron/ovs_agent.pp#L21-L26
00:29 mnaser do you have the openvswitch interface configured/selected in packstack?
00:30 mnaser more specifically CONFIG_NEUTRON_OVS_TUNNEL_IF
00:31 tonyb mnaser: okay so that telss me I've misunderstood the OVS code
00:32 tonyb mnaser: I do have them configured and more than likley I have them configfured badly
00:32 mnaser make sure you have that interface correctly set
00:32 mnaser i think its not set most likely
00:32 tonyb Thanks. I'll check that
00:34 tonyb I thought that is it was unset, then neutron_ovs_tunnel_if woudl be undef, which measn that ovs_agent_vxlan_cfg_neut_ovs_tun_if will also be unset which means that I'd hit line 25 'localip = choose_my_ip(hiera('HOST_LIST')'
00:35 tonyb what did I misunderstand?
00:37 mnaser tonyb: im assuming it probably tried to autoselect based on the choose_my_ip and didnt exactly pick the right one
00:37 mnaser tonyb i work with the puppet modules often but not packstack specifically so my knowledge goes to as far as that the value is incorrect there but i dont know why/how it should be set
00:37 mnaser but there certainly should be an interface there
00:40 fultonj joined #puppet-openstack
00:40 tonyb mnaser: Thanks.  I certainly get what you're saying.  I'm just trying to learn more (any) puppet ;P
00:41 mnaser tonyb
00:41 mnaser np :)
00:43 oyrogerg joined #puppet-openstack
00:44 oyrogerg EmilienM: G'day, here I am as you suggest
00:45 oyrogerg gregoryo is taken on another server, so I reversed it.
00:46 dmsimard tonyb: looking at the packstack integration tests is a good way to get started
00:46 dmsimard https://github.com/openstack/packstack#packstack-integration-tests
00:47 dmsimard and then you have the different scenarios file such as https://github.com/openstack/packstack/blob/master/tests/scenario001.sh
00:47 tonyb dmsimard: cool  Thanks!
00:47 dmsimard tonyb: we have the same thing for pure puppet, puppet-openstack-integration: https://github.com/openstack/puppet-openstack-integration#description
00:48 dmsimard With scenarios here https://github.com/openstack/puppet-openstack-integration/tree/master/fixtures and the different manifests here: https://github.com/openstack/puppet-openstack-integration/tree/master/manifests
00:51 EmilienM oyrogerg: welcome here!
00:53 oyrogerg I'm glad there's some overlap - I'm in AWST (UTC+8) which often makes quick communication challenging.
00:54 EmilienM oyrogerg: I'm usually online on PST evenings
00:54 EmilienM oyrogerg: but I'm based in PST and mwhahaha (Alex) on MST
00:54 oyrogerg What's MST?
00:54 * oyrogerg fires up worldtimebuddy.com
00:54 EmilienM mountain
00:55 oyrogerg Ah that's USA too
00:55 mwhahaha Utc-7 (it's 6:55 PM)
00:55 EmilienM oyrogerg: yeah
00:55 EmilienM oh that's Alex :)
00:55 EmilienM oyrogerg: so you're using Puppet modules to deploy OpenStack right?
00:55 EmilienM oyrogerg: do you use the upstream ones, do you fork them? what version of them do you use, we want to know everything ahahaha
00:56 oyrogerg Yep. I started with the AIO fixture/scenario, then started going through it to try to create a new compute node on our existing (Fuel-deployed) environment.
00:56 oyrogerg I want to stick with upstream if possible
00:57 EmilienM cool
00:57 oyrogerg My Puppetfile is largely a copy and paste from the one at https://github.com/openstack/puppet-openstack-integration
00:57 EmilienM well, I suggest to read our code, all modules / libraries are on github/openstack, and if you have any question let us know
00:57 EmilienM keep in mind https://github.com/openstack/puppet-openstack-integration is used by CI
00:59 oyrogerg Well, my main questions so far are around which
00:59 oyrogerg Well, my main questions so far are around which modules I will need for which node types.
00:59 mnaser a new user? :>
00:59 oyrogerg The AIO obviously uses all (most?) of them, but clearly cinder isn't needed for a compute node, etc.
01:00 mnaser oyrogerg id familiarize myself with the different openstack services -- but most of the time, neutron/nova will go in compute nodes and rest go in controller :>
01:00 EmilienM mnaser: yeah! we have a new user and AFIK a new potential contributor :D
01:00 mnaser oyrogerg: welcome :>
01:01 oyrogerg So I'm taking a somewhat naive approach (being entirely new to OpenStack in January), and looking at the packages installed and services running on an existing compute node
01:01 oyrogerg Then working out which module will make that happen on my new compute node
01:02 oyrogerg If there's a better way, I'd love to hear it
01:02 mnaser that's a pretty good way of getting started, you can also use the puppet modules to take over a cloud
01:03 mnaser so "ok: i need neutron-<something>-agent and nova-compute" .. add the appropriate configs and classes, and technically a puppet run should make no changes (puppet agent -tv --noop is my goto)
01:03 oyrogerg Once we are more familiar with it, we will either do that, or replace the existing cloud with a new deployment.
01:04 oyrogerg Yep, that's my command line too (:
01:04 mnaser i've done plenty of "takeovers" -- i try to grep the service configuration file and make sure i have all the settings are in the puppet manifest
01:04 mnaser sed '/^#.*/d' /etc/nova/nova.conf | sed '/^$/d'
01:05 oyrogerg It's not so simple with this Fuel deployed one though - just looking at nova, there were at least half a dozen (or a dozen? can't remember) deprecated settings that I had to go and check
01:05 mnaser oh yeah you'll have to go through that little process but you get the hang of it, just make sure you're using modules from the appropriate version of cloud you're taking over
01:05 oyrogerg i.e. they weren't mentioned anywhere in Puppet modules, but were in nova.conf - and sure enough, we won't be needing them
01:05 oyrogerg It's all Ocata
01:06 mnaser oh good, that's pretty recent, id suggest using stable/ocata in your puppetfile
01:06 mnaser and yeah, that's no fun, but going through the openstack nova code its easy to identify whats needed and whats leftover from previous upgrades, etc.
01:06 mnaser i say nova, but it could be any project
01:07 * tonyb waves at oyrogerg from AEST ;P
01:07 * tonyb also waves at EmilienM :)
01:07 EmilienM woot, a tonyb around here
01:07 oyrogerg The past few days have been networking, and my head is spinning. I'm using the example42-network module to configure it, but in the end it's VLANs and local config compexity that's hard.
01:08 oyrogerg G'day tonyb, pleased to meet another ozstacker online - I haven't found many
01:08 tonyb EmilienM: tryignto get my head around all the things puppet/tripleo/ironic :)
01:08 EmilienM good luck!
01:08 EmilienM I've heard they are cool projects
01:08 tonyb oyrogerg: Theer are a few of us over here but <50
01:08 EmilienM I think you're lucky.
01:08 oyrogerg Yeah, nova seemed like a good place to start since it's somewhat standalone
01:09 tonyb EmilienM: Well wait and see what I try and do to/with them then decide if you're lucky
01:30 openstackgerrit Merged openstack/puppet-nova stable/newton: Switch nova_security_rule to openstack provider  https://review.openstack.org/488224
01:30 openstackgerrit Merged openstack/puppet-nova stable/ocata: Switch nova_security_rule to openstack provider  https://review.openstack.org/488223
01:34 https_GK1wmSU joined #puppet-openstack
01:37 https_GK1wmSU left #puppet-openstack
01:52 ilbot3 joined #puppet-openstack
01:52 Topic for #puppet-openstack is now CI Status: GREENish | Puppet OpenStack modules https://docs.openstack.org/puppet-openstack-guide/latest/
01:54 markvoelker joined #puppet-openstack
02:05 dixiaoli joined #puppet-openstack
02:51 dixiaoli joined #puppet-openstack
02:59 markvoelker joined #puppet-openstack
03:33 udesale joined #puppet-openstack
03:37 rodrigopaiva joined #puppet-openstack
03:46 rodrigopaiva joined #puppet-openstack
04:23 indistylo joined #puppet-openstack
04:29 udesale__ joined #puppet-openstack
05:13 skramaja joined #puppet-openstack
05:15 ratailor joined #puppet-openstack
05:16 jtomasek joined #puppet-openstack
05:28 dixiaoli joined #puppet-openstack
05:29 dixiaoli joined #puppet-openstack
06:34 jaosorior joined #puppet-openstack
06:34 LarsErikP wouldn't it be a good idea to backport the placement.pp in nova to stable/newton since it is mandatory in ocata?
06:35 LarsErikP will make upgrading so much easier
06:36 LarsErikP and as I say this, a vague memory of someone else proposing this earlier this summer.... EmilienM ? mwhahaha ?
06:37 LarsErikP ^ i tend to leave some words out of my sentences... *needs more coffee*
06:46 rcernin joined #puppet-openstack
06:53 jaganathan joined #puppet-openstack
07:05 oidgar joined #puppet-openstack
07:07 agurenko joined #puppet-openstack
07:07 yprokule joined #puppet-openstack
07:33 udesale joined #puppet-openstack
07:48 tesseract joined #puppet-openstack
07:52 ccamacho joined #puppet-openstack
08:11 chem joined #puppet-openstack
08:13 simon-AS5591 joined #puppet-openstack
08:15 derekh joined #puppet-openstack
08:20 udesale__ joined #puppet-openstack
08:26 https_GK1wmSU joined #puppet-openstack
08:26 jpena joined #puppet-openstack
08:28 https_GK1wmSU left #puppet-openstack
08:53 rmart04 joined #puppet-openstack
09:25 salmankhan joined #puppet-openstack
10:21 indistylo joined #puppet-openstack
10:40 ansmith joined #puppet-openstack
10:41 ansmith_ joined #puppet-openstack
10:52 markvoelker joined #puppet-openstack
11:02 jaosorior joined #puppet-openstack
11:31 mwhahaha LarsErikP: yea mnaser proposed it and I think we merged it? If not i'll take a look today
11:37 LarsErikP mwhahaha: oooh nice! But I don't think it was ever merged: https://github.com/openstack/puppet-nova/blob/stable/newton/manifests/placement.pp
11:37 LarsErikP 404 ;)
11:39 LarsErikP I'm sure you already have it, but I found the change: https://review.openstack.org/#/c/488246/
11:53 markvoelker joined #puppet-openstack
11:54 dprince joined #puppet-openstack
11:58 atoth joined #puppet-openstack
12:05 morazi joined #puppet-openstack
12:15 * mwhahaha pokes Hunner
12:15 mwhahaha Hunner: https://github.com/puppetlabs/puppetlabs-stdlib/pull/791 seems to have broken puppet-pacemaker
12:22 markvoelker joined #puppet-openstack
12:23 openstackgerrit joined #puppet-openstack
12:23 openstackgerrit Alex Schultz proposed openstack/puppet-openstack-integration master: Pin stdlib to 4.16.0  https://review.openstack.org/490004
12:26 chem joined #puppet-openstack
12:42 oidgar joined #puppet-openstack
12:43 chem joined #puppet-openstack
12:47 chem joined #puppet-openstack
12:49 openstackgerrit Pradeep Kilambi proposed openstack/puppet-panko master: Add panko client install support  https://review.openstack.org/490012
13:00 mnaser LarsErikP: looks like its about to merge.. so you should be able to use it :)
13:30 openstackgerrit Dmitry Tantsur proposed openstack/puppet-ironic master: Add a class to run the db online_data_migrations  https://review.openstack.org/490026
13:38 ansmith_ joined #puppet-openstack
13:39 ansmith joined #puppet-openstack
13:40 ansmith__ joined #puppet-openstack
13:41 rwsu joined #puppet-openstack
13:41 rwsu joined #puppet-openstack
13:44 ansmith joined #puppet-openstack
13:58 openstackstatus NOTICE: We have disable infracloud-vanilla due to the compute host running mirror.regionone.infracloud-vanilla.o.o being offline. Please recheck your failed jobs to schedule them to another cloud.
13:59 openstackgerrit Andy Smith proposed openstack/puppet-oslo master: Remove use of oslo.messaging rpc_backend  https://review.openstack.org/489264
14:06 udesale__ joined #puppet-openstack
14:25 openstackgerrit Andy Smith proposed openstack/puppet-qdr master: Fix permissions on qdrouterd.sasldb  https://review.openstack.org/489257
14:34 udesale joined #puppet-openstack
14:38 mnaser i've been looking at when the jobs timeout and it seems that the second run of installation takes 10 minutes (and the the initial taking 30 minutes)
14:38 mnaser unfortunately because the job is timing out we have zero logs
14:38 mwhahaha it happens from time to time
14:38 mwhahaha usually it's a cloud provider issue with repos so it hangs or is really slow downloading
14:39 rwsu joined #puppet-openstack
14:39 mnaser mwhahaha: im going to check with infra if we can do something like at least pull out the puppet logs on job timeouts so we can pin point issues -- maybe we can setup our own timeout - 10 minutes which collects all data and fails before we get killed
14:40 mwhahaha it's probably related to infracloud-vanilla
14:40 mwhahaha you can check the logs to see what cloud it ran on
14:40 mwhahaha (it's one of the first few lines)
14:40 mnaser in this case it was citycloud
14:40 xarses joined #puppet-openstack
14:42 mnaser and 26 minutes for another install on rackspace and 10 minutes for 2nd run as well (seems like the 10 minute pattern is weird)
14:42 mnaser http://logs.openstack.org/25/489725/2/check/gate-puppet-openstack-integration-4-scenario003-tempest-centos-7/961a508/console.html#_2017-08-02_02_58_46_796637 and http://logs.openstack.org/25/489725/2/check/gate-puppet-openstack-integration-4-scenario001-tempest-centos-7/052597f/console.html#_2017-08-02_03_10_22_342992 both just almost exactly 10 minutes, so looks like something is timing out and taking 10 minutes
14:43 mwhahaha yea that's probably an overloaded vm
14:45 mwhahaha the 2nd run is just a rerun puppet so it should it would make sense that it's shorter but 10 mins seems a bit long
14:45 dfisher joined #puppet-openstack
14:53 mnaser yeah for me it seems odd that its almost exactly 10 minutes to the dot, seems like its stuck somewhere with a 10 minute timeout
14:57 ratailor joined #puppet-openstack
15:36 openstackgerrit Merged openstack/puppet-nova stable/newton: Nova Placement API support  https://review.openstack.org/488246
15:36 openstackgerrit Merged openstack/puppet-openstack-integration stable/newton: nova: activate placement API service  https://review.openstack.org/488252
15:37 mnaser LarsErikP ^ its there now :)
15:38 Hunner mwhahaha: thanks for your detective work!
15:38 mwhahaha btw it timed out in the tempest run not the deployment
15:48 openstackgerrit Brent Eagles proposed openstack/puppet-octavia master: Change service-type to load-balancer  https://review.openstack.org/490062
15:51 openstackgerrit Dmitry Tantsur proposed openstack/puppet-ironic master: Add a class to run the db online_data_migrations  https://review.openstack.org/490026
16:00 indistylo joined #puppet-openstack
16:35 openstackgerrit Alex Schultz proposed openstack/puppet-openstack-integration master: Pin stdlib to 4.16.0  https://review.openstack.org/490004
16:39 simon-AS559 joined #puppet-openstack
16:42 dprince joined #puppet-openstack
17:20 ntpttr_laptop__ joined #puppet-openstack
17:20 ntpttr_laptop joined #puppet-openstack
17:21 EmilienM iurygregory: if you around https://review.openstack.org/#/c/489725
17:21 iurygregory sure EmilienM
17:24 EmilienM thx!
17:25 iurygregory yw :D
17:26 EmilienM iurygregory: same for https://review.openstack.org/#/c/483855, if you can
17:52 iurygregory EmilienM,  done ;)
17:56 EmilienM iurygregory: thx
17:56 iurygregory anytime o/
18:50 openstackgerrit Brent Eagles proposed openstack/puppet-octavia master: Change service-type to load-balancer  https://review.openstack.org/490062
19:48 openstackgerrit Pradeep Kilambi proposed openstack/puppet-openstack-integration master: Add telemetry to POI scenario002  https://review.openstack.org/475056
19:54 ntpttr_laptop joined #puppet-openstack
20:35 salmankhan joined #puppet-openstack
20:37 https_GK1wmSU joined #puppet-openstack
20:40 LarsErikP mnaser: brilliant! thanks :) :)
20:40 https_GK1wmSU left #puppet-openstack
20:43 LarsErikP that'll make life easier for a lot of us I guess!
21:03 openstackgerrit Emilien Macchi proposed openstack/puppet-openstack-integration master: Deploy buildlogs from OpenStack Infra mirrors  https://review.openstack.org/490206
21:06 openstackgerrit Merged openstack/puppet-nova master: Fix resources for latest puppet  https://review.openstack.org/489725
21:22 openstackgerrit Merged openstack/puppet-swift master: Update resource references for dependencies  https://review.openstack.org/483855
22:15 ansmith joined #puppet-openstack
22:21 https_GK1wmSU joined #puppet-openstack
22:24 https_GK1wmSU left #puppet-openstack
23:54 ansmith joined #puppet-openstack

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