Wednesday, 2014-03-12

devanandajroll: yes. we do need log shipping from the agent00:24
devanandaadam_g: i'd be fine with a deploy-debug element or some such00:24
devanandaadam_g: worth pinging in tripleo, if you haven't alraedy00:24
* devananda looks at the pile of reviews waiting for him00:25
devanandastarting with 7762300:26
*** matsuhashi has joined #openstack-ironic00:26
jrolldevananda: right00:26
comstudrussell_h: just the logging module in oslo00:29
comstudor rather, 'log'00:30
devanandacomstud: got a sec ?00:34
devanandanvm... bbiab00:38
*** matty_dubs|gone has quit IRC00:43
*** matty_dubs|gone has joined #openstack-ironic00:50
*** derekh has quit IRC00:50
*** dividehex has quit IRC00:57
*** zigo has quit IRC00:58
*** jrist has quit IRC00:58
*** GheRivero has quit IRC00:58
*** dividebin has joined #openstack-ironic00:58
*** GheRivero has joined #openstack-ironic00:58
*** jrist has joined #openstack-ironic00:58
*** openstack has joined #openstack-ironic01:05
*** russell_h has joined #openstack-ironic01:05
*** lazy_prince has joined #openstack-ironic01:07
*** lazy_prince is now known as killer_prince01:07
openstackgerritA change was merged to openstack/ironic: Add TaskManager lock on change port data  https://review.openstack.org/7762301:07
*** dwalleck has joined #openstack-ironic01:10
*** dwalleck_ has joined #openstack-ironic01:11
*** eghobo has quit IRC01:13
*** dwalleck has quit IRC01:14
*** zigo has quit IRC01:27
*** zigo has joined #openstack-ironic01:33
*** nosnos has joined #openstack-ironic01:39
*** matsuhashi has quit IRC01:58
*** hemna has quit IRC02:00
*** vkozhukalov has joined #openstack-ironic02:07
Shrewsadam_g: awesome. i'll give that a try in the morning02:11
*** matsuhashi has joined #openstack-ironic02:17
*** zigo has quit IRC02:19
*** zigo has joined #openstack-ironic02:23
*** killer_prince is now known as lazy_prince02:29
*** vkozhukalov has quit IRC02:36
*** harlowja is now known as harlowja_away02:48
*** rloo has quit IRC02:50
*** rsacharya has joined #openstack-ironic02:53
*** rameshg87 has joined #openstack-ironic03:15
*** rwsu has quit IRC03:19
*** matsuhashi has quit IRC03:23
*** eghobo has joined #openstack-ironic03:45
*** rwsu has joined #openstack-ironic03:50
*** killer_prince has joined #openstack-ironic04:10
*** matsuhashi has joined #openstack-ironic04:25
*** rameshg87 has quit IRC04:29
*** rameshg87 has joined #openstack-ironic05:02
*** rameshg87 has left #openstack-ironic05:03
*** rsacharya has quit IRC05:34
*** loki_ has joined #openstack-ironic05:38
*** vkozhukalov has joined #openstack-ironic05:53
comstuddevananda: sorry, I bailed... I'll be back tomorrow :)06:02
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/7886206:11
*** dwalleck_ has quit IRC06:19
*** romcheg1 has joined #openstack-ironic06:40
*** saju_m has joined #openstack-ironic06:52
*** romcheg1 has quit IRC06:52
*** bashok has joined #openstack-ironic06:55
adam_gdevananda, will probably start looking at adding that this week. i've gotten as far as nodes trying to tftp their respective token-$id file with errors. i imagine it would also be required for debugging deploy issues in gate06:56
*** pradipta is now known as pradipta_away07:09
*** pradipta_away is now known as pradipta07:09
*** mrda is now known as mrda_away07:11
*** mdurnosvistov_lt has joined #openstack-ironic07:15
*** lazy_prince has quit IRC07:24
*** killer_p- has joined #openstack-ironic07:24
*** eghobo has quit IRC07:28
*** mdurnosvistov_lt has quit IRC07:31
*** vkozhukalov has quit IRC07:38
openstackgerritAdam Gandelman proposed a change to openstack/python-ironicclient: Avoid traceback with insufficient auth credentials  https://review.openstack.org/7949407:42
*** romcheg1 has joined #openstack-ironic07:43
*** rsacharya has joined #openstack-ironic07:44
GheRiveromorning all07:47
romcheg1Morning GheRivero07:59
*** ifarkas has joined #openstack-ironic08:05
*** sanek11 is now known as agordeev08:11
*** jistr has joined #openstack-ironic08:13
*** jistr has quit IRC08:20
*** matsuhashi has quit IRC08:21
*** jistr has joined #openstack-ironic08:22
openstackgerritFengqian Gao proposed a change to openstack/ironic: Keep python 3.X compatibility for xrange  https://review.openstack.org/7987508:39
*** yuriyz has joined #openstack-ironic08:41
*** saju_m has quit IRC08:41
*** max_lobur has joined #openstack-ironic08:44
*** ekarlso has quit IRC08:47
*** ekarlso has joined #openstack-ironic08:47
*** max_lobur1 has joined #openstack-ironic08:54
*** max_lobur has quit IRC08:57
openstackgerritMichael Davies proposed a change to openstack/ironic: Improve Ironic Conductor threading & locks  https://review.openstack.org/7851508:58
*** athomas has joined #openstack-ironic08:58
openstackgerritMichael Davies proposed a change to openstack/ironic: Improve Ironic Conductor threading & locks  https://review.openstack.org/7851509:03
mdurnosvistovMorning Ironic!!! :)09:05
*** saju_m has joined #openstack-ironic09:09
*** derekh has joined #openstack-ironic09:12
*** max_lobur1 has quit IRC09:13
*** max_lobur has joined #openstack-ironic09:13
*** jrist has quit IRC09:27
*** ifarkas has quit IRC09:28
*** romcheg1 has quit IRC09:31
*** ifarkas has joined #openstack-ironic09:31
*** rsacharya has quit IRC09:34
*** killer_prince has quit IRC09:34
*** killer_p- is now known as killer_prince09:34
*** jrist has joined #openstack-ironic09:40
*** romcheg1 has joined #openstack-ironic09:41
*** romcheg has left #openstack-ironic09:43
*** romcheg has quit IRC09:43
*** romcheg1 is now known as romcheg09:43
*** athomas has quit IRC09:43
*** tatyana has joined #openstack-ironic09:43
*** lucasagomes has joined #openstack-ironic09:47
*** lucasagomes has quit IRC09:48
*** lucasagomes has joined #openstack-ironic09:48
*** killer_prince2 has joined #openstack-ironic09:50
*** athomas has joined #openstack-ironic09:51
openstackgerritGhe Rivero proposed a change to openstack/ironic: Set boot device to PXE when deploying  https://review.openstack.org/7989210:07
*** lucasagomes has quit IRC10:10
*** lucasagomes has joined #openstack-ironic10:10
*** martyntaylor has joined #openstack-ironic10:18
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: PXE validate() to fail if no Ironic API URL  https://review.openstack.org/7957910:43
*** rsacharya has joined #openstack-ironic10:44
*** killer_prince2 has quit IRC10:45
*** saju_m has quit IRC10:49
*** killer_prince2 has joined #openstack-ironic10:53
*** rsacharya has quit IRC11:01
openstackgerritGhe Rivero proposed a change to openstack/ironic: Update SeaMicro to use MixinVendorInterface  https://review.openstack.org/7990311:04
*** bigjools has quit IRC11:06
*** bigjools has joined #openstack-ironic11:07
*** bigjools has joined #openstack-ironic11:07
*** bigjools has quit IRC11:11
*** bigjools has joined #openstack-ironic11:12
*** bigjools has joined #openstack-ironic11:12
*** dtantsur has quit IRC11:19
*** ChanServ changes topic to "test/gate jobs are queuing now in preparation for gerrit maintenance at 12:00 utc (eta to resume is 12:30 utc)"11:27
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Make the Nova Ironic driver to wait for ACTIVE  https://review.openstack.org/7990611:34
*** loki_ has quit IRC11:59
*** linggao has joined #openstack-ironic12:05
*** ndipanov_gone is now known as ndipanov12:08
*** dtantsur has joined #openstack-ironic12:19
*** ChanServ changes topic to "gerrit on review.openstack.org is down for maintenance (revised eta to resume is 13:00 utc)"12:24
*** lucasagomes is now known as lucas-hungry12:36
lsmolalucas-hungry: hello12:37
*** saju_m has joined #openstack-ironic12:37
*** openstackgerrit has quit IRC12:54
*** openstackgerrit has joined #openstack-ironic12:54
*** jbjohnso_ has joined #openstack-ironic12:58
*** openstackgerrit has quit IRC13:08
*** openstackgerrit has joined #openstack-ironic13:08
*** pradipta is now known as pradipta_away13:20
*** rloo has joined #openstack-ironic13:24
*** jdob has joined #openstack-ironic13:26
*** lucas-hungry is now known as lucasagomes13:37
lucasagomeslsmola, hey there13:37
lsmolalucasagomes: hello13:39
lsmolalucasagomes: I just wanted to ask and the exact match of flavors with nodes13:39
lsmolalucasagomes: with nova baremetal, it doesn't do the exact match for me13:39
lsmolalucasagomes: are you using anything special for Ironic?13:40
lsmolalucasagomes: this functionality should be done with nova filters, right?13:40
lucasagomeslsmola, hmm unless something changed recently in nova bm it should13:40
lucasagomeslsmola, we use a diff scheduler for nova bm and ironic13:40
*** jgrimm has quit IRC13:40
lsmolalucasagomes: ha13:41
lsmolalucasagomes: and nova bm, uses also different scheduler than normal nova ?13:42
lucasagomeslsmola, for ironic scheduler_host_manager = ironic.nova.scheduler.ironic_host_manager.IronicHostManager13:42
lucasagomeslsmola, yes13:42
lucasagomesit should13:42
lucasagomesbecause baremetal can't do partial usage of a machine13:42
lucasagomesu always use 100%13:42
*** rloo has quit IRC13:42
lsmolalucasagomes: right13:42
lsmolalucasagomes: hm I saw the managers code13:43
lsmolalucasagomes: but this seems to be oriented for eating of the resources13:43
*** nosnos has quit IRC13:43
lsmolalucasagomes: though i don't see a logic for picking the right resources13:43
*** dkehn_ has joined #openstack-ironic13:43
lsmolalucasagomes: that should be still done by nova filters, right?13:44
lsmolalucasagomes: or am I missing something? :-)13:44
lucasagomesright, lemme take a look at nova bm13:45
lsmolalucasagomes: ok, thanks13:46
lsmolalucasagomes: the nova bm manager looked almost the same for me13:46
lsmolalucasagomes: so seems like with other manager, this is still in place http://docs.openstack.org/developer/nova/devref/filter_scheduler.html13:47
lucasagomesyeah the scheduler_driver still using the FilterScheduler13:48
lucasagomeswhich calls the host_manager driver to make a decision13:48
*** matsuhashi has joined #openstack-ironic13:50
lsmolalucasagomes: ok so we might need to write some new filters13:52
*** matty_dubs|gone is now known as matty_dubs13:52
lsmolalucasagomes: or at least by quick peek, I haven't found a great ones for the exact match13:52
lucasagomesright yeah I have to take a quick look into it as well, as we leave the scheduling job for nova I'm not very familiar in the area13:53
lucasagomesI'll take a look into it13:53
*** matsuhashi has quit IRC13:56
lucasagomeslsmola, ur correct!13:58
lucasagomeslsmola, did a quick test here, created a node with more resources than the flavor13:58
lucasagomesnova pick it anyway13:58
* lucasagomes files a bug13:58
lucasagomesdevananda, ^13:59
lsmolalucasagomes: right, so for icehouse scope, we can't probably use this13:59
lsmolalucasagomes: haven't had time to dig deep into existing filters14:00
*** matsuhashi has joined #openstack-ironic14:00
lsmolalucasagomes: ok, this is worth a bug in tripleo nova element14:00
agordeevmorning all!14:00
lucasagomeslsmola, yeah, I'm filling one for ironic right now14:00
lsmolalucasagomes: we need to list a proper filters in nova.conf14:00
lucasagomeslsmola, http://paste.openstack.org/show/73250/14:01
lucasagomeslsmola, yeah I will take a look into the filters as well14:01
lsmolalucasagomes: ok, I will create a TripleO bug14:02
lucasagomesack thanks14:02
agordeevcould anyone know whether v2.0 ending is really needed for admin_url for ironic.nova.driver? is it okay?14:02
lucasagomesagordeev, admin_url?14:03
lucasagomesor auth_uri?14:03
*** openstack has joined #openstack-ironic14:04
lucasagomesagordeev, ah, I think it's the same case14:04
lucasagomesit seems to be mandatory14:04
lucasagomessince keystone clients don't work with versionless urls14:05
lucasagomesagordeev, https://bugs.launchpad.net/ironic/+bug/129048214:05
*** fungi has joined #openstack-ironic14:07
*** ChanServ sets mode: +o fungi14:07
*** fungi changes topic to "OpenStack Bare Metal Provisioning | Docs: http://docs.openstack.org/developer/ironic/ | Bugs: https://bugs.launchpad.net/ironic | Status: https://etherpad.openstack.org/p/IronicWhiteBoard"14:07
*** ChanServ sets mode: -o fungi14:07
*** fungi has left #openstack-ironic14:07
agordeevlucasagomes: same thing will happen if admin_url from ironic nova driver is versionless too.14:07
NobodyCamGood Morning Ironic14:07
agordeevNobodyCam: morning14:07
NobodyCammorning agordeev :)14:08
lucasagomesagordeev, right yeah, mind commenting that on the bug?14:08
lucasagomesNobodyCam, ^ the scheduler thing14:08
lucasagomesNobodyCam, nova is not doing an exact matching when picking a node14:08
NobodyCamhumm14:09
lucasagomesNobodyCam, should we have a filter for the nova scheduler as well?14:11
*** rloo has joined #openstack-ironic14:11
lucasagomesNobodyCam, or only the host_manager would be able to prevent a node from being pick by nova if it doesn't match the exact same resources?14:11
devanandamorning, all14:11
NobodyCamlucasagomes: I thought we did >= matching14:12
NobodyCammorning devananda :)14:12
lucasagomesNobodyCam, no14:12
agordeevdevananda: morning14:12
lucasagomeswe should cause we can't do pick part of the resources14:12
lsmolalucasagomes: could you link your bug with this? https://bugs.launchpad.net/tripleo/+bug/129139614:12
lucasagomesalso we would be giving the client a machine that has more resources than he asked and is paying for14:12
lucasagomesdevananda, morning14:13
lucasagomesdevananda, ^14:13
lucasagomeslsmola, will do14:13
lucasagomeslsmola, thanks14:13
NobodyCamlucasagomes: ya the host manager will comsume the entire node14:13
lucasagomesNobodyCam, so not really14:13
devanandalucasagomes: just read scroll back ... ya, that needs to be fixed14:13
lucasagomesI gave it a go here14:13
lucasagomesit substract the amout of resources specified in the node but the n-cpu still showing the difference as available14:14
*** rloo_ has joined #openstack-ironic14:14
*** rloo has quit IRC14:14
lucasagomesdevananda, right14:14
lucasagomesdevananda, and the way to fix it would be writing an filter?14:14
lucasagomesa filter*14:14
devanandalucasagomes: ya14:14
lucasagomesdevananda, ack14:15
lucasagomeslsmola, ^14:15
*** rloo_ has quit IRC14:15
*** rloo has joined #openstack-ironic14:16
lsmoladevananda: right, one or more filter, right now they have separate filter for each metric, e.g. CPUFIlter14:16
devanandayea..14:16
devanandaurgh14:16
devanandai was just looking at it14:16
devanandalsmola: i suspect it's goign to be more than one filter difference14:16
lsmoladerekh: https://github.com/openstack/nova/tree/master/nova/scheduler/filters14:16
lsmoladerekh: sorry, it was for devananda14:17
devanandalsmola: do you see any reason that we'd need to change filter_scheduler.py itself? or just filters/*14:17
lsmoladevananda: though it make sense to just do baremetal_filter14:17
lsmoladevananda: we should be fine with just filters I guess14:18
derekhlsmola: np14:18
lsmoladevananda: cause we will need to use other filters .e.g for affinity, etc.14:19
lsmoladevananda: in the future14:19
devanandaya14:19
lsmoladevananda: though it might be that much of them will be baremetal specific, using some Ironic metadata14:20
*** matsuhashi has quit IRC14:23
devanandalucasagomes: in our ironic_host_manager, we should probably start setting a different list of default filters14:24
devanandahttps://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L4514:24
lucasagomesdevananda, will take a look, thanks14:25
lucasagomesdevananda, NobodyCam btw  https://review.openstack.org/#/c/79906/14:25
NobodyCamlucasagomes: awesome :)14:26
devanandalucasagomes: good stuff! one issue, comment added14:27
lucasagomesdevananda, ack14:28
devanandaoh, and another14:28
* devananda makes coffee14:29
lucasagomesdevananda, ah indeed, that doesn't looks at the deleted instances etc14:29
lucasagomesdevananda, will fix it14:29
*** matsuhashi has joined #openstack-ironic14:30
NobodyCamI lucasagomes would we want a time out from nova, Ie if networking is messed up and node is unable to ping back, we'll be stuck in waiting for call back?14:33
NobodyCams/I //14:35
lucasagomesNobodyCam, yeah I thought about it14:35
lucasagomesNobodyCam, but hmm it's hard to say the timeout unless we set it to something high14:35
lucasagomesironic has a timeout so it would set to state to deployfail14:36
lucasagomesso I was relying on that for nova14:36
* NobodyCam notes that he has not had much coffee, but say data networking is messed up, but ipmi net is working14:37
NobodyCamthe node could poweron but then never ping to start deploy14:38
NobodyCamya it would have to be a big timeout14:39
devanandaNobodyCam: in that case, ironic will eventually time it out14:39
devanandanova-bm had a pxe_deploy_timeout option which defaulted (badly) to 014:40
devanandaso I suspect nova is not going to impose any other timeouts here14:40
NobodyCamahh so our default should be like 5 minutes?14:43
NobodyCamfor wait for call back to deploying change?14:43
*** jgrimm has joined #openstack-ironic14:44
devanandaNobodyCam: http://git.openstack.org/cgit/openstack/ironic/tree/ironic/conductor/manager.py#n9114:44
NobodyCamahh :)14:45
* NobodyCam goes back to coffee14:45
devanandaGheRivero: ping re: https://review.openstack.org/#/c/71332/14:50
GheRiveromorning all14:51
GheRiverodevananda: pong: https://review.openstack.org/#/c/79892/14:52
*** killer_prince2 is now known as lazy_prince14:52
GheRiveroI though the patch was going to be much more different, but didn't realize until late14:52
devanandaGheRivero: now that the multiplexing has landed, I'd like to get that one in too14:53
devanandaGheRivero: are you going to work on it? if not, i will take a look14:54
GheRiveroyes. it-s redone in the one I previously mentioned14:54
GheRivero https://review.openstack.org/#/c/79892/14:54
devanandaoh! right, i see :)14:54
devanandaGheRivero: I see a comment about the SSH driver, but it looks like it will raise an unhandled exception14:58
devanandaGheRivero: you validate here https://review.openstack.org/#/c/79892/1/ironic/conductor/utils.py but for the pxe_ssh driver, that's going to raise InvalidParameterValue, no?14:59
GheRiveroyeah14:59
GheRiveroi should catch that14:59
devananda:)14:59
*** saju_m has quit IRC15:03
*** saju_m has joined #openstack-ironic15:04
*** lazy_prince2 has joined #openstack-ironic15:04
jrollmorning y'all15:06
NobodyCammorning jroll :)15:06
devanandamornin15:06
*** lazy_prince has quit IRC15:07
lucasagomesmorning jroll15:10
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Driver utils should raise unsupported method  https://review.openstack.org/7996415:10
devanandaGheRivero: you may want to rebase your fix on ^ so you catch just the right error15:11
GheRiverothx. will do15:11
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Make the Nova Ironic driver to wait for ACTIVE  https://review.openstack.org/7990615:12
*** matsuhashi has quit IRC15:18
devanandalucasagomes: there's an interesting race in the nova driver15:19
*** lazy_prince2 is now known as lazy_prince15:19
devanandalucasagomes: not that your patch is creating it, but i see it now15:19
devanandalucasagomes: if an instance is deleted from within ironic during provisioning15:20
devanandalucasagomes: ^^ will abort the spawn() call with an exception, leaving teh instance in an error state15:20
*** dwalleck_ has joined #openstack-ironic15:21
devanandalucasagomes: and a subsequent call to nova destroy() will fail because15:21
devanandanode_uuid = self._require_node(instance)15:21
devanandawill also raise notfound15:21
*** dwalleck has joined #openstack-ironic15:22
devanandaI suspect it's not possible to trigger those circumstances purely via the nova api -- i think someone would have to issue "ironic node-update delete instance_uuid" to cause it15:22
lucasagomesohhhh15:22
devanandabut there are lots of odd paths through nova code that i dont know15:22
lucasagomeswell we can't delete the instance if the node is provisioned I think15:23
lucasagomesor being provisioned, lemme check15:23
agordeevjroll: morning! I'm very excited about teeth-agent :)15:23
devanandaright, true15:23
lucasagomesdevananda, yeah there's many corner cases15:23
jrollagordeev: :)15:23
devanandalucasagomes: yep :(15:23
lucasagomesit's hard to figure out all them, we need some intensive tests creating and deleting instances15:23
lucasagomesmessing around to detect15:23
devanandalucasagomes: the checks around "dont do X if the node is associated" are specifically to prevent this sort of edge case15:24
lucasagomesdevananda, it's fine :) it's part of the maturity of the project15:24
devanandalucasagomes: let's hope they work as intended!15:24
lucasagomesdevananda, yes15:24
devanandajust thought I'd point this one out as I saw it related to your patch :)15:24
devanandalucasagomes: which, btw, looks good. just one more question i think15:24
devanandalucasagomes: should we be raising any more specific exceptions?15:24
*** dwalleck_ has quit IRC15:25
lucasagomesdevananda, for the nova driver? hmm it might be important yes, lemme check other drivers to see what they r raising15:25
lucasagomesI've been using NovaException with custom messages all the way15:26
lucasagomes:(15:26
lucasagomesshame on me15:26
devanandahehe15:26
*** martyntaylor has left #openstack-ironic15:27
devanandalucasagomes: http://paste.openstack.org/show/73262/15:27
devanandanot that the nova-bm driver is always right, but that gives some starting point15:27
lucasagomesdevananda, def15:28
lucasagomesi should be using InstanceDeployFailure for my patch15:28
lucasagomeswill change it15:28
lucasagomesthe starting point yay!15:28
lucasagomesand InstanceNotFound as well15:28
devananda:)15:30
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Make the Nova Ironic driver to wait for ACTIVE  https://review.openstack.org/7990615:39
*** saju_m has quit IRC15:40
Shrewsadam_g: can you send me your entire localrc you're using?15:43
*** bashok has quit IRC15:46
openstackgerritA change was merged to openstack/ironic: Improve Ironic Conductor threading & locks  https://review.openstack.org/7851515:47
lucasagomesdear lazy#ironic: what tool do you guys use to create diagrams in linux?15:49
agordeevShrews: adam_g: hey guys. Just want to thank you for working on making devstack patch better! :) Let me know if i need to add you as co-author to commit message. Or feel free to add this information by yourself :)15:49
Shrewsagordeev: np. i still can't get the vm's to boot, but i think this may be a problem with my setup15:50
devanandalucasagomes: dia || openoffice15:51
agordeevlucasagomes: if online services count, lastly i've used draw.io15:51
lucasagomesdevananda, right yeah, I started something on the openoffice but it's kinda painful15:51
lucasagomesthanks guys :) will take a look15:51
devanandaagordeev: have you gotten VMs to finish provisioning and be accessible via ssh?15:51
devanandalucasagomes: yea... it is ...15:51
*** romcheg has quit IRC15:52
agordeevdevananda: in my local env that happens flawlessly15:53
*** lazy_prince has quit IRC15:55
agordeevdevananda: but I can't login to them using ssh key from nova15:55
*** matty_dubs is now known as matty_dubs|lunch15:56
devanandaagordeev: hm, so what is different in your env? many of us are not getting a POST back from the ramdisk to ironic-api15:56
*** dwalleck has quit IRC15:56
devanandaShrews: are you still hitting ^ ? or did you guys fix that over night?15:56
*** eghobo has joined #openstack-ironic15:56
Shrewsdevananda: yeah, i'm still stuck there even using adam_g's new ip settings15:57
Shrewsthus my request to him for his localrc15:57
*** eghobo has quit IRC15:58
agordeevdevananda: sounds like ironic-api isn't accessible from baremetal instance's network. Have you checked that connectivity?15:58
devanandaagordeev: right. can you share your localrc?15:59
agordeevdevananda: regarding my env, i just run ./stack.sh on my desktop. Nothing special :)15:59
devanandadefinitely something with the networking, either neutron or the bridge15:59
devanandaagordeev: not in a VM, but on your desktop directly?15:59
agordeevdevananda: right, on desktop directly. Makes sense?16:00
devanandaagordeev: the VMs you are creating -- are they running in bridge mode or NAT or .. ?16:00
devanandaagordeev: we are testing within cloud instances in HPCS and RackSpace -- this is where the gate will run, so this is unltimately where it has to work16:01
agordeevdevananda: let me restart stack.sh, i'll check what mode they're using16:01
agordeevdevananda: http://paste.openstack.org/show/73265/ FYI, my localrc.16:03
*** eghobo has joined #openstack-ironic16:04
Shrewsagordeev:  you should be using nova master branch now16:05
agordeevShrews: right, but it works with old branch too :)16:10
agordeevdevananda: network mode. It uses libvirt network.16:11
agordeevdevananda: are you able to run arbitrary shell commands in that cloud instances?16:14
*** jistr has quit IRC16:14
*** digambar has joined #openstack-ironic16:16
*** vkozhukalov has joined #openstack-ironic16:18
*** lazy_prince has joined #openstack-ironic16:18
*** lazy_prince has quit IRC16:19
agordeevdevananda: any chance for me to get the same cloud image for test? i'll test it against a VM then16:22
*** romcheg has joined #openstack-ironic16:22
NobodyCamdevananda: question on one of lifeless's comments: re 72696, its about line 87 of https://review.openstack.org/#/c/72969/8/scripts/devtest_undercloud.sh16:27
agordeevdevananda: also it's possible to switch network for regular linux bridge, not ovs. Additionaly this may make libvirt upgrade probably unnecessary.16:29
Shrewsagordeev: i can create you an hp vm instance temporarily. i'll need your public key16:31
openstackgerritRuby Loo proposed a change to openstack/ironic: Default value for database.connection config option  https://review.openstack.org/7978716:34
devanandarloo: we shouldn't make changes directly to anything in ironic.openstack.common -- these are synced from oslo16:36
rloodevananda. then it isn't really possible to set a default value for connection.16:37
devanandarloo: seems like this is a bug in oslo, then16:38
rloolet me forward you email from Roman (one of the people that made the change)16:38
devanandak16:39
rloodevananda: you're at devananda.vdv@gmail.com?16:39
devanandaya16:39
devanandarloo: your change looks fine to me, except that i think it should be applid here https://github.com/openstack/oslo-incubator/blob/master/openstack/common/db/options.py16:40
rloodevananda. it *was* there and it was removed: https://review.openstack.org/#/c/74737/16:41
devananda... i see16:41
devanandadhellmann: around?16:41
*** matty_dubs|lunch is now known as matty_dubs16:42
devanandarloo: see this? https://github.com/openstack/nova/blob/master/nova/config.py#L2916:42
devanandaperhaps we should do something similar16:42
rloodevananda. I tried that. but it didn't show up when generating the sample. maybe i need to learn more about how to use that generate sample script.16:43
devanandarloo: it's OK if the sample config line is empty16:44
rloodevananda. OH, in that case...16:44
rloodevananda. although I'm not convinced it is really OK. but if you're Ok with it ;)16:44
rloodevananda. Are you OK if we don't set the connection to .../$sqlite_db? cuz that also broke in oslo.16:45
rloodevananda. (cuz in oslo sqlite_db was moved to 'database' from DEFAULT. and the templating only works if you refer to variables from DEFAULT. We can just set it to ironic.sqlite.16:46
devanandarloo: hrmm16:47
*** eghobo has quit IRC16:47
rloodevananda. Which btw, someone modified our copy of openstack/common/db/options.py so it is set to ironic.sqlite. Which is why I thought it was OK to change that file.16:48
*** eghobo has joined #openstack-ironic16:48
devanandarloo: so the issue is more that the defaults do not work right now, than that the config file line is blank16:56
devanandai'm surprised theyre not the same in nova16:56
NobodyCamdevananda: have a quick second to help me digest lifeless's comment?16:56
devanandasure16:56
rloodevananda: I'm looking now at nova, to see why they seem to be able to get the config default in their sample. their generator sample is diff from ours and I'm not actually familiar with that code.16:57
NobodyCam09:27 | NobodyCam > devananda: question on one of lifeless's comments: re 72696, its about line 87 of https://review.openstack.org/#/c/72969/8/scripts/devtest_undercloud.sh16:57
devanandarloo: our generate_sample comes from oslo. theirs may not?16:57
rloodevananda: dunno yet. or they may be diff versions from oslo.16:58
rloodevananda. wrt the defaults -- it works for them cuz they aren't using $sqlite_db in their value anymore. We could do that too, just set connection default value = .../ironic.sqlite instead of $sqlite_db.16:59
devanandarloo: it sounds like a change to https://github.com/openstack/ironic/blob/master/ironic/common/config.py is the simplest solution,a nd replicates what Nova is doing17:00
rloodevananda: ok, so in nova, their sample has connection=<None>. So they have the same problem we have.17:00
devanandarloo: ack. i'm fine with that17:01
devanandarloo: it's not ideal, but it's better than carrying a significant local change to openstack.common17:02
devanandaNobodyCam: ok, i think i undersatnd the comments there. what is your question(s)?17:02
rloodevananda. ok then. but i think we need to change https://github.com/openstack/ironic/blob/master/ironic/common/service.py, not config.py (config.py only used by tests)17:02
rloodevananda. thx.17:02
devanandarloo: ooh. well17:03
devanandarloo: nvp. that should be fine. I was about to say ironic-dbsync doesn't use service.py, but it does :)17:03
devananda*nvm17:03
*** max_lobur has quit IRC17:04
NobodyCamdevananda: its the compile vs end point I not sure about17:04
*** harlowja_away is now known as harlowja17:04
rloosorry, devananda. so are you OK with this modified since it is from oslo: https://github.com/openstack/ironic/blob/master/ironic/openstack/common/db/options.py17:04
NobodyCams/I/I'm.17:04
rloodevananda. I mean it was modified to have sqlite_db default = ironic.sqlite (instead of oslo.sqlite i think)17:04
devanandarloo: that's a normal change as part of the sync process :)17:06
devanandarloo: https://github.com/openstack/oslo-incubator/blob/master/update.py17:06
devanandarloo: syncing oslo-incubator to a project does a bunch of string replacement17:07
*** yuriyz has quit IRC17:07
*** rsacharya has joined #openstack-ironic17:07
rloodevananda. thx. so much to learn... What happens when the stuff is out of oslo.incubation? Or I'll wait to see what happens...17:08
comstuddevananda: did you still need something?17:08
*** rpodolyaka has joined #openstack-ironic17:09
rpodolyakamorning ironic17:09
devanandaNobodyCam: erm, I *think* what lifeless means is that we should have a unified heat template that works for both nova-bm and ironic17:09
devanandaSpamapS: thoughts on ^ ? I don't know heat enough to know how feasible taht is17:10
openstackgerritRoman Podoliaka proposed a change to openstack/ironic: Set the database.connection option default value  https://review.openstack.org/8000317:10
devanandacomstud: hi! paging in that question ... :)17:11
NobodyCam09:27 | NobodyCam SpamapS question is on lifeless's comments: re 72696, about line 87 of https://review.openstack.org/#/c/72969/8/scripts/devtest_undercloud.sh17:11
rpodolyakarloo: ^ this is how I'd like to see the problem with the default value of database.connection option not set be solved for ironic-dbsync calls17:11
NobodyCamoh bad paste17:11
devanandacomstud: how does nova handle passing information about failed requests across RPC ?17:11
NobodyCamoh lucasagomes still around?17:11
lucasagomesNobodyCam, hey yes17:12
devanandacomstud: right now, ironic is raising exceptions from the conductor, which propagate across RPC to the API, where they are converted to clean user-facing error messages and returned with the right HTTP status code17:12
* SpamapS arouses upon seeing highlight17:12
rloorpodolyaka: you mean the discussion with deva, not NobodyCam's link?17:12
SpamapSdevananda: unified for both .. sort of :)17:12
devanandacomstud: but this results in a lot of exception traces in the conductor log for "normal" errors17:12
rpodolyakarloo: no, https://review.openstack.org/80003 :)17:13
rloorpodolyaka: sorry, i see your link now.17:13
SpamapSdevananda: I don't think we can really do "if you chose this parameter, set all of these keys, otherwise those" at parse/deploy time...17:13
NobodyCamlucasagomes: what do yo think about a change like this? http://paste.openstack.org/show/uc8D59LQozRNOXMNzUDR/17:13
devanandaSpamapS: thus the need for a different heat template?17:13
SpamapSdevananda: what we can do is have the things that are common to nova-bm and ironic in one template, and then the things that are different in another.. and build appropriately.17:13
devanandaSpamapS: right17:14
rpodolyakarloo: the reason for this is that we're not going to restore the default value in oslo.db (as it makes no sense when oslo.db becomes a separate library)17:14
devanandaSpamapS: it appears that lifeless is requesting a single unified template in the comment which NobodyCam linked above17:14
SpamapSdevananda: note that the new OS::Heat::SoftwareConfig resource may allow us to do it at deploy time.17:14
devanandaSpamapS: but i may have misunderstood his comment17:14
NobodyCamSpamapS: I'm just unclear in what lifeless is wanting in that comment17:14
* SpamapS reads17:14
rloorpodolyaka: thx. did you test those changes are are those suggestions? cuz config.py is only used by ironic tests.17:15
lucasagomesNobodyCam, nice, to get the return value from that LoopingCall17:15
lucasagomesNobodyCam, looks good :017:15
NobodyCamyea!!17:15
lucasagomes:)*17:15
lucasagomes+117:15
lifelessdevananda: I'm suggesting like we do for overcloud.yaml, to parameterise the build via variables rather than a different target name. This might be a bad idea :)17:16
rpodolyakarloo: hmm, I expected to be used when the service starts17:16
lifelessdevananda: but I'm looking down the track at how we maintain all the different fragments17:16
* NobodyCam thanks jroll for the point in the right direction17:16
*** saju_m has joined #openstack-ironic17:16
rpodolyakarloo: nevertheless, now the default value is set in db api module - and it's used in both tests and runtime17:16
NobodyCammorning lifeless :)17:17
rpodolyakarloo: (and ironic-dbsync)17:17
comstuddevananda: There's a decorator you can put on rpc methods to not log certain expected exceptions17:17
rloorpodolyaka: actually, i think your changes work. and anyway, even though tests uses config.py, i seem to recall that tests overrode the connection setting anyway ;)17:17
devanandalifeless: ideally, i agree that a single undercloud yaml which can handle the array of [virt | hardware] x [nova-bm | ironic] would be great17:17
devanandacomstud: oooh, perfect17:17
comstuddevananda: The decorator is buried in the oslo messaging module somewhere17:17
comstudlemme see if I can find a nvoa example for you17:18
rpodolyakarloo: yeah, they'd better do - we don't want to write sqlite files, when we can write to memory much faster :)17:18
devanandacomstud: thanks17:18
devanandarloo: all tests in the gate use mysql or pgsql, AIUI17:18
comstuddevananda: @messaging.expected_exceptions(NotImplementedError)17:18
*** tatyana has quit IRC17:18
comstudmessaging = oslo.messaging17:18
rpodolyakadevananda: rloo: yes, but only for migrations tests, as far as I recall17:19
devanandarpodolyaka: not for unit tests?17:19
rloorpodolyaka: should we just use your review then? I don't mind if you take over. the only thing (that i can think of now) is that the default sql connection is wrong, in api.py.17:19
rpodolyakadevananda: not yet, I think17:19
devanandahrm17:19
adam_gShrews, http://paste.ubuntu.com/7080336/17:20
rpodolyakadevenanda: we've done some work in oslo.db to make it easier to run tests on real backends, but it's still WIP. maybe in Juno17:20
NobodyCamlifeless: do you see that type of overcloud refactor as part of this patch (72969)?17:21
devanandacomstud: it looks like we're still using oslo-incubator/rpc17:21
rpodolyakarloo: the only reason why I uploaded the change in the first place, is that it's easier to show the code right away :)17:21
*** digambar has quit IRC17:21
rpodolyakarloo: hmm, what would you put there instead?17:22
comstuddevananda: it's in there too somewhere17:22
comstudprobably with the same name17:22
*** digambar has joined #openstack-ironic17:22
comstudwe were using this before oslo.messaging17:22
devanandanot exactly the same name :)17:22
devanandawill keep searching17:22
comstudhaha17:22
comstudk17:22
rloorpodolyaka: i actually prefer what you have, but it isn't the same default t value that it used to be.17:23
comstuddevananda: 428 def client_exceptions(*exceptions):17:23
comstud(line # may be different..t his was from an old branch)17:24
comstudrpc/common.py17:24
rloorpodolyaka: connection=sqlite:////ironic/openstack/common/db/$sqlite_db17:24
rpodolyakarloo: oh, I see what you are talking about. I'd argue that it's better to put sqlite database within the state path :)17:24
devanandacomstud: yep! looks like it. testing now17:24
adam_gShrews, are you s till having tftp connectivity issues?17:24
rpodolyakarloo: (even if it has a default value now)17:25
rloorpodolyaka: i'd argue the same thing as you.17:25
rloodevananda: sorry, are you OK if we set the connection default value to something different that what it was set to before?17:25
devanandarloo: such as?17:25
rloosomething like sqlite:////ironic/ironic.sqlite17:26
rlooinstead of ironic/openstack/common/db.17:26
devanandarloo: so functionally the same, but literaly different17:26
devanandasure17:26
rlooright. also means breaks people's dev environments. but better now than later?17:26
devanandayep17:26
rloogood.17:26
devanandadef note that change in teh commit msg17:26
devanandaand pls check the docs for any reference -- i dont rememver one, but good to heck17:27
devanandacheck17:27
rpodolyakaok17:27
rloorpodolyaka: ^^ let's just use your review. Can you take care of what deva asks or do you want me to?17:27
rpodolyakarloo: I'll take care of it, no problem17:28
rloothx rpodolyaka!17:28
rpodolyakarloo: np17:28
*** rsacharya has quit IRC17:31
*** openstackstatus has quit IRC17:38
*** openstackstatus has joined #openstack-ironic17:38
NobodyCamdevananda: new rev pushed up to https://review.openstack.org/#/c/7296917:39
SpamapSNobodyCam: ok, NOW I'm reading the comments.. my browser crashed before.. -P17:39
NobodyCamlol17:39
NobodyCamSpamapS: I just clobbered it17:39
NobodyCambut may happy to address it still17:40
NobodyCams/may/sm/17:40
NobodyCams/sm/am/17:40
NobodyCam:-p17:40
* NobodyCam refills coffee cup17:40
SpamapSNobodyCam: ok so what lifeless was referring to is that Heat can substitute things based on "environment".. but I don't think that is applicable here.17:40
lifelessdevananda: I'm not saying a single undercloud.yaml; I'm saying a single make target that builds the appropriate undercloud.yaml17:41
SpamapSBecause AFAIK, environments only allow substitution at the "type" level.17:41
openstackgerritRoman Podoliaka proposed a change to openstack/ironic: Set the database.connection option default value  https://review.openstack.org/8000317:41
SpamapSlifeless: right, I think that is entirely doable.17:41
SpamapSthough I feel our makefile command lines are getting almost criminal in length17:42
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Update Neutron if mac address of the port changed  https://review.openstack.org/7793917:44
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Suppress conductor logging of expected exceptions  https://review.openstack.org/8002217:44
devananda^ breaks unit tests - anyone want to fix it up?17:45
devanandalifeless: ah. ok.17:45
devanandagotta jump on a conf call ... bbiah17:45
*** jbjohnso_ has quit IRC17:50
*** rpodolyaka has quit IRC17:52
*** rpodolyaka has joined #openstack-ironic17:56
lucasagomesdevananda, quick q, about the delete state, should we allow a "nova delete" while the instance is being deployed?17:56
lucasagomescause ironic prevents that (node will be locked)17:56
devanandalucasagomes: during deploywat - yes. at other times ... yes... but not sure how17:56
lucasagomesdevananda, ok17:56
lucasagomesdevananda, one wait to do this is to make destroy() keep retrying17:57
lucasagomesone way*17:57
lucasagomeskeep retrying sending the destroy() command to ironic17:57
*** rpodolyaka has quit IRC17:57
*** athomas has quit IRC17:57
lucasagomesalthough it means that the deploy will be complete and then it will be destroyed17:57
lucasagomesit's not going to abort it17:57
devanandalucasagomes: yea. interrupt in-progress tasks ....17:58
devanandain juno17:58
lucasagomesack17:58
devanandalucasagomes: for now, we want nova to not be broken when a delete can't delete17:58
lucasagomesdevananda, there's anything u can return to nova saying17:58
devanandasome sanity around the retry would be good, with a FIXME17:58
lucasagomes"look i can't delete it now"17:58
*** vkozhukalov has quit IRC17:58
devanandalucasagomes: i would look for 503 NODE LOCKED17:58
lucasagomesdevananda, right, yeah we already do it17:59
lucasagomesproblem is if it's timeout17:59
devanandaand as long as the node has the same instance uuid, keep retrying17:59
lucasagomesso it works, but the timeout right now is pretty small17:59
devanandawhich timeout?17:59
lucasagomesI think it's 5 times 2 seconds17:59
lucasagomesthat's the default time out17:59
lucasagomesor 10 times /me checks17:59
lucasagomes5 times with an interval of 2 seconds each18:00
lucasagomesthat's what the "_retry_if_service_is_unavailable" uses18:00
*** rpodolyaka has joined #openstack-ironic18:01
lucasagomes(it's configurable via conf options tho)18:01
lucasagomesanyhoo, I will give it some thought18:01
lucasagomesdevananda, please Chris Behens comment at line 455 https://review.openstack.org/#/c/79906/3/ironic/nova/virt/ironic/driver.py18:06
lucasagomesI think we don't need that check/block there, as u pointed out. If the node is deleted it's going to raise InstanceNotFound(after I update the patch to replace the NodeNotFound)18:06
lucasagomesso nova will handle that18:07
*** eghobo has quit IRC18:07
*** derekh has quit IRC18:07
*** jbjohnso_ has joined #openstack-ironic18:09
*** eghobo has joined #openstack-ironic18:09
NobodyCamoh poop... forgot to set USE_IRONIC .... doh18:18
lucasagomesgotta run18:18
*** lucasagomes is now known as lucas-afk18:18
*** rpodolyaka has quit IRC18:20
*** jistr has joined #openstack-ironic18:22
*** rpodolyaka has joined #openstack-ironic18:23
*** sandeepr has joined #openstack-ironic18:26
*** sandeepr has left #openstack-ironic18:26
*** killer_prince is now known as lazy_prince18:26
Shrewsadam_g: my vm boots still fail. not sure of the cause. how do i verify that it's a tftp issue?18:28
adam_gShrews, i connect to the system via libvirt/virt-manager and watch the console18:28
adam_gShrews, alternatively you can bump the verbosity of atftp and log to a file to see what the node is grabbing18:28
adam_gi found that the ramdisk is attempting to grab their token-$uuid files from the wrong tftp path, https://bugs.launchpad.net/diskimage-builder/+bug/129153318:29
*** saju_m has quit IRC18:30
adam_gtesting now with a fedora ramdisk to see if that was ever expected to work18:30
*** tatyana has joined #openstack-ironic18:39
*** digambar has quit IRC18:41
*** jistr has quit IRC18:44
*** rpodolyaka has quit IRC18:47
*** jbjohnso_ has quit IRC18:52
*** jb11211 has joined #openstack-ironic18:58
*** tatyana has quit IRC18:59
devanandaback19:00
NobodyCamwb devananda19:01
devanandalucas-afk: ahh, i rhink you're right19:01
*** tatyana has joined #openstack-ironic19:01
*** jbjohnso_ has joined #openstack-ironic19:04
*** rpodolyaka has joined #openstack-ironic19:05
comstudlucasagomes: let me know if you have any questions about my review19:07
comstudlucasagomes: nova will set instance to ERROR on any exception.. except for things like InstanceNotFound... which it treats as a race with delete, etc19:08
comstudnon-exception return will set ACTIVE19:08
comstudlucas-afk: ^19:09
devanandacomment added re: ironic_states.DELETED19:13
*** ndipanov is now known as ndipanov_gone19:13
comstudok19:18
comstuddevananda: left a reply to your comment!19:20
comstudbbiab19:20
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Set boot device to PXE when deploying  https://review.openstack.org/7989219:30
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Driver utils should raise unsupported method  https://review.openstack.org/7996419:30
*** rpodolyaka has quit IRC19:31
*** rpodolyaka has joined #openstack-ironic19:31
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Set boot device to PXE when deploying  https://review.openstack.org/7989219:31
NobodyCamdevananda: almost :-p http://paste.openstack.org/show/y28vi0IJLl5r8TLNLrRk/19:32
devanandaneeds reviews: https://review.openstack.org/#/c/79892/ and https://review.openstack.org/#/c/79964/219:33
devanandaneeds soemone to fix unit tests: https://review.openstack.org/#/c/80022/119:33
devanandaalso needs unit tests: https://review.openstack.org/#/c/79192/19:35
devanandaalso needs another core review: https://review.openstack.org/#/c/79191/19:39
Shrewsdevananda: i'll pick up 80022 for you19:40
devanandaShrews: awesome, ty19:40
devanandarloo: if you have tiem to review/vote on https://review.openstack.org/#/c/80003/, that'd be great. at a glance, it looks good to me19:41
rloodevananda. sure, I forgot about that ;) Will look at it now.19:41
Shrewsomg... provisioning_state = active19:42
devanandaShrews: !!! \o/19:42
Shrewsdevananda: thank adam_g19:42
NobodyCamw00t !!!19:42
adam_gShrews, that tftp path issue was the last blocker for you?19:43
Shrewsyes!19:43
adam_gcool19:43
Shrewsand i can successfully ssh in19:43
adam_g:)19:43
devanandai need to run out for appointments, will be on and off for the remainder of the day19:44
adam_ggonna start replacing atftpd usage in  devstack with tftpd-hpa to match tripleo-incubator's undercloud19:44
Shrewsso, the symlink fix i suggested works19:44
adam_gagordeev, ^19:44
devanandawill respond to msgs here as i can19:44
Shrewsnot sure if that's the correct solution or not19:44
Shrewsadam_g: that works too. probably the better solution, though more involved19:46
*** Lotus907efi has joined #openstack-ironic19:54
*** rpodolyaka has quit IRC20:20
*** rpodolyaka has joined #openstack-ironic20:21
*** rpodolyaka1 has joined #openstack-ironic20:21
*** mrda_away is now known as mrda20:21
*** Slower_ is now known as Slower20:22
*** MarkAtwood has joined #openstack-ironic20:41
*** linggao has quit IRC20:54
NobodyCamrloo: just read your comment on set_boot_device and seamicro20:58
NobodyCamthat seems like a bug in SM to me20:59
rlooNobodyCam: i don't know if that is a(nother) bug or not. wanted to point it out but it shouldn't stop the patch.20:59
NobodyCamya20:59
rlooNobodyCam. I think it was just a docstring thing that I -1'd. can't remember now. I probably should be more explicit about what I am really concerned about ;)21:00
*** vkozhukalov has joined #openstack-ironic21:02
NobodyCamoh brb21:02
*** rpodolyaka1 has quit IRC21:05
*** matty_dubs is now known as matty_dubs|gone21:05
*** rpodolyaka has joined #openstack-ironic21:09
Shrewsdevananda: aarrgh. you are the devil. 80022 takes some finagling to verify the real exception21:13
*** jdob has quit IRC21:13
*** jbjohnso_ has quit IRC21:20
*** romcheg has quit IRC21:31
*** rpodolyaka has quit IRC21:52
*** rpodolyaka has joined #openstack-ironic21:56
*** rpodolyaka has quit IRC22:03
NobodyCamgreghaynes: ping22:10
*** rpodolyaka has joined #openstack-ironic22:10
greghaynesHey22:10
NobodyCamhey hey was just looking at the tr -d of the newlines comment22:11
NobodyCamhttps://review.openstack.org/#/c/72969/13/scripts/devtest_undercloud.sh22:11
greghaynesYep22:12
NobodyCamwanted to ask did you like the remove as the tr did or would escaping (ie. s/\n/\\n/) be more what you had in mind22:13
greghaynesI dont really like either - I think ideally we pass in the key as-is22:13
greghaynesthat was my fix for not being competent enough in bash quote escaping to allow the newlines to be passed22:13
greghaynesoh, maybe thats what you mean by escaping?22:15
greghaynesif so then yes to that :)22:15
NobodyCamlet me try a test here22:17
openstackgerritA change was merged to openstack/ironic: Mark hash_replicas as experimental  https://review.openstack.org/7919122:22
*** jgrimm has quit IRC22:26
*** rpodolyaka has quit IRC22:28
*** rpodolyaka has joined #openstack-ironic22:30
*** max_lobur has joined #openstack-ironic22:30
*** harlowja has quit IRC22:30
*** harlowja has joined #openstack-ironic22:31
*** max_lobur has quit IRC22:38
*** max_lobur has joined #openstack-ironic22:39
greghaynesNobodyCam: haha, thats an interesting choice ;)22:44
NobodyCamgreghaynes: ok pushed up another rev. testing with Ironic22:44
NobodyCamlol22:44
NobodyCamits json encoded22:44
greghaynesyes, which doesnt deal with newlines to it has to escape :p22:44
*** MarkAtwood has quit IRC22:45
NobodyCamoh :-p22:46
greghaynesshould work though so *shrug*22:46
* greghaynes will try and give it a proper test in a few22:46
NobodyCamgreghaynes: TY :)22:47
devanandaShrews: I'll take that as a compliment :)22:47
NobodyCamwb devananda :)22:47
adam_gShrews, agordeev devananda : just pushed another patchset to https://review.openstack.org/#/c/70348/ -- swaps atftpd out in favor of tftpd-hpa (to align with tripleO) and fixes the issues we've been hitting around fetching auth token via tftp.22:47
adam_gi'm getting functional ironic nodes with working metadata now on a fresh devstack run22:47
NobodyCamgreghaynes: but it will still need the grep I sucked out22:50
greghaynesReally? I added that grep... I think ideally we can just send the data in the original format22:52
NobodyCamI was looking at a echo and saw two newlines at the end22:53
NobodyCamfigured that should have only been one22:53
*** MarkAtwood has joined #openstack-ironic22:53
greghaynesah. That may be within the margin of error for things which use the key22:53
NobodyCamoh ya, no that grep is not what we need. it removes the --begin ... --end lines22:55
*** eguz has joined #openstack-ironic22:56
greghaynesyerp22:59
*** eghobo has quit IRC23:00
*** eguz has quit IRC23:00
*** tatyana has quit IRC23:06
devanandaadam_g: \o/23:07
* devananda tries23:07
*** tatyana has joined #openstack-ironic23:11
*** lsmola has quit IRC23:36
*** lsmola has joined #openstack-ironic23:36
devanandaadam_g: have you guys been rebasing on devstack trunk?23:37
adam_gdevananda, good point--no, i haven't23:37
adam_gtho ive been checking out master and cherry-picking from that review23:38
adam_gwithout a conflict in a while23:38
devanandacool23:39
devanandai'm taking a slightly old local VM that I have, updating everything from git,a nd trying devstack in offline mode23:39
devanandarisky, yes, but HPCS is not functioning fo rme right now23:39
devanandaand this cafe wifi is slow23:39
adam_goffline mode eh?23:40
adam_gits going to need to hit the internet to build the ramdisk, in case you dont have that stuff cached23:40
*** lucas-afk has quit IRC23:46
devanandai probably do23:47
devanandabut23:47
devanandait would be neat if devstack knew how to pass the offline flag to DIB23:47
devanandaI gotta run again in a bit, but if anyone's looking for patches to fix up -- https://review.openstack.org/#/c/79964/23:50
*** tatyana has quit IRC23:54
*** jbjohnso_ has joined #openstack-ironic23:54

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!