Friday, 2014-01-31

openstackgerritJarrod Johnson proposed a change to stackforge/pyghmi: Detect and notify Console users of disconnect  https://review.openstack.org/7025900:00
openstackgerritA change was merged to stackforge/pyghmi: Detect and notify Console users of disconnect  https://review.openstack.org/7025900:06
*** matsuhashi has joined #openstack-ironic00:24
*** epim has joined #openstack-ironic00:26
*** thedodd has quit IRC00:29
*** epim_ has joined #openstack-ironic00:30
*** epim has quit IRC00:30
*** epim_ is now known as epim00:30
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Improve handling of invalid input in HashRing class  https://review.openstack.org/7026700:31
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: API validates driver name for both POST and PATCH  https://review.openstack.org/6801800:31
*** epim_ has joined #openstack-ironic00:33
*** epim has quit IRC00:35
*** epim_ is now known as epim00:35
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Minor update for _check_clear_reservation  https://review.openstack.org/7027300:43
devanandaok, and with that, i think i need to call it a day :-D00:45
NobodyCam:) enjoy your night devananda :)00:45
* NobodyCam gets his garlic and other vampire warding equment ready00:47
NobodyCamequipment even :-p00:47
*** epim has quit IRC00:53
*** harlowja is now known as harlowja_away01:04
*** epim has joined #openstack-ironic01:06
*** epim has quit IRC01:11
*** harlowja_away is now known as harlowja01:26
*** nosnos has joined #openstack-ironic01:41
*** rloo has quit IRC01:54
*** thedodd has joined #openstack-ironic02:18
*** matsuhashi has quit IRC02:34
*** jbjohnso has quit IRC02:35
*** matsuhas_ has joined #openstack-ironic02:37
*** aignatov_ is now known as aignatov02:42
*** thedodd has quit IRC02:44
*** matsuhashi has joined #openstack-ironic03:07
*** matsuhas_ has quit IRC03:08
*** matsuhashi has quit IRC03:08
*** matsuhashi has joined #openstack-ironic03:20
*** matsuhashi has quit IRC03:34
*** matsuhashi has joined #openstack-ironic03:35
*** thedodd has joined #openstack-ironic03:38
*** matsuhashi has quit IRC03:43
*** matsuhashi has joined #openstack-ironic03:50
*** thedodd has quit IRC04:18
*** ko__ has joined #openstack-ironic04:24
*** harlowja is now known as harlowja_away04:26
*** ko__ has quit IRC04:31
*** blamar has quit IRC04:40
*** blamar has joined #openstack-ironic04:45
*** coolsvap_away has quit IRC05:08
*** aignatov is now known as aignatov_05:09
*** blamar has quit IRC05:13
*** aignatov_ is now known as aignatov05:17
*** vkozhukalov has joined #openstack-ironic05:26
*** ko__lazy has joined #openstack-ironic05:29
*** pradipta has joined #openstack-ironic05:47
*** rwsu has quit IRC05:59
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/6802406:06
*** coolsvap has joined #openstack-ironic06:12
*** vkozhukalov has quit IRC06:51
*** aignatov is now known as aignatov_07:28
*** mdurnosvistov has joined #openstack-ironic08:21
*** Guest10145 has quit IRC08:26
*** vkozhukalov has joined #openstack-ironic08:29
openstackgerritGhe Rivero proposed a change to openstack/ironic: Rename and update ironic-deploy-helper rootwrap  https://review.openstack.org/6834008:30
*** matsuhashi has quit IRC08:37
*** ndipanov has joined #openstack-ironic08:40
*** aignatov_ is now known as aignatov08:52
*** jistr has joined #openstack-ironic08:58
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add inactive timeout to dd  https://review.openstack.org/4819809:34
*** athomas has joined #openstack-ironic09:35
*** matsuhashi has joined #openstack-ironic09:44
*** matsuhashi has quit IRC10:05
*** athomas has quit IRC10:05
*** athomas has joined #openstack-ironic10:12
*** martyntaylor has joined #openstack-ironic10:16
*** matsuhashi has joined #openstack-ironic10:16
*** martyntaylor has quit IRC10:20
*** aignatov is now known as aignatov_10:27
*** tatyana has joined #openstack-ironic10:34
*** martyntaylor has joined #openstack-ironic10:38
*** max_lobur_afk is now known as max_lobur10:39
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Fix 'run_as_root' parameter check in execute()  https://review.openstack.org/7032410:40
*** aignatov_ is now known as aignatov10:56
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Removes use of timeutils.set_time_override  https://review.openstack.org/6743211:07
*** lucasagomes has joined #openstack-ironic11:37
*** coolsvap has quit IRC12:24
*** ko__lazy is now known as ko__away12:29
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic: Fix ssh_port type in _parse_driver_info() from ssh.py  https://review.openstack.org/7033612:34
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic: Fix ssh_port type in _parse_driver_info() from ssh.py  https://review.openstack.org/7033613:04
agordeevmorning! and thanks for your helpful comments, guys :)13:13
openstackgerritA change was merged to openstack/ironic: Update docstrings in ssh.py  https://review.openstack.org/7003313:22
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Removes use of timeutils.set_time_override  https://review.openstack.org/6743213:27
*** romcheg has joined #openstack-ironic13:28
*** jdob has joined #openstack-ironic13:38
*** matsuhashi has quit IRC13:41
*** ko__away is now known as ko__13:41
*** aignatov is now known as aignatov_13:44
*** max_lobur is now known as max_lobur_afk13:49
*** matsuhashi has joined #openstack-ironic13:50
*** matsuhashi has quit IRC13:57
*** aignatov_ is now known as aignatov13:59
*** matsuhashi has joined #openstack-ironic14:04
openstackgerritMax Lobur proposed a change to openstack/ironic: Replace nonexistent mock assert methods with real ones  https://review.openstack.org/7034914:10
*** jbjohnso has joined #openstack-ironic14:13
ko__Hi everyone..14:15
ko__I am running a bm-vm deployment using ironic and when dd was being executed, i noticed something like /bin/dd if=/var/lib/ironic/images/e66dd98f-9b8e-40e0-a11d-3a9e3d43d666/disk of=/dev/disk/by-path/ip-120.0.0.41:3260-iscsi-iqn-e66dd98f-9b8e-40e0-a11d-3a9e3d43d666-lun-1-part1 bs=1M oflag=direct14:16
ko__My disk image has some partitions.. but it seems like the disk image is getting dumped to the partition 1 on the bm-vm..14:16
ko__or may be my understanding is flawed..14:17
ko__can someone please help me..14:17
lucasagomesko__, yup, the images are expected to be partition images not disk images (otherwise you wouldn't be able to expand image fs when it's being deploy and things like that)14:26
lucasagomesso the pxe driver is going to format the disk for you and copy the partition image over14:26
lucasagomesthat's why pxe needs you to input the pxe_root_gb option14:27
*** matty_dubs|gone is now known as matty_dubs14:27
lucasagomesso it knows which size you want the root partition to be14:27
*** matsuhashi has quit IRC14:28
* lucasagomes have a call in 2 minutes so will be away for a while14:28
ko__oh.. k.. correct me if i am wrong, in real case secnarios, this pxe_root_gb will be picked up from flavor.. right..?14:29
lucasagomesko__, afair yea, when you create the flavor in nova you can say things like swap_mb, ephemeral_gb, root_gb14:35
*** yongli has quit IRC14:36
*** nosnos has quit IRC14:37
ko__lucasagomes: thanks...14:44
lucasagomesko__, np :)14:44
*** yongli has joined #openstack-ironic14:52
ko__I have anothe doubt. If my Linux disk Image has two partitions, say 1 for boot another for root, how am i supposed to create the partition image for it..? Or do I have to settle down with root only..?15:01
ko__my question is can i include both partition in the image?15:01
*** russellb is now known as rustlebee15:02
lucasagomesko__, the /boot should be part of the root... Right now, the idea is to deploy cloud images15:06
lucasagomeswhich are prepared images15:07
*** yuriyz has quit IRC15:07
lucasagomesby prepare I mean, these images are already configured to be immediately used by openstack15:08
lucasagomesand they are configured with things like cloud-init15:09
lucasagomesso it can use the metadata service to be configured etc15:09
*** max_lobur_afk is now known as max_lobur15:09
ko__k..15:09
lucasagomesif you look at the diskimage-builder tool for e.g15:09
lucasagomeshttps://github.com/openstack/diskimage-builder15:09
*** pradipta has quit IRC15:09
lucasagomesit's a tool to customize cloud images15:10
*** pradipta has joined #openstack-ironic15:10
lucasagomesit's not going to install the OS from the beggining etc15:10
*** rwsu has joined #openstack-ironic15:13
*** lucasagomes is now known as lucas-hungry15:26
ko__lucas-hungry: k.. but i see that the diskimage-builder labels the root file system with cloudimg-rootfs when creating disk images... what is this label used for. My understanding was that ironic will use this label to find which partition has the root fs and then dump it to the partition 1 of the baremetal...15:27
ko__looks like my understanding is flawed..15:28
*** coolsvap has joined #openstack-ironic15:38
*** thedodd has joined #openstack-ironic15:48
NobodyCamgood morning Ironic15:50
max_loburmorning NobodyCam ! and everyone else :)15:51
NobodyCammorning max_lobur15:52
mdurnosvistovMorning all =)15:53
NobodyCammorning mdurnosvistov :)15:54
*** doddstack has joined #openstack-ironic16:02
*** vkozhukalov has quit IRC16:04
*** thedodd has quit IRC16:05
NobodyCambrb16:08
*** mdurnosvistov has quit IRC16:19
NobodyCamlucas-hungry: ping me when your back16:20
*** lucas-hungry is now known as lucasagomes16:28
lucasagomesNobodyCam, ping16:28
NobodyCamhey hey lucasagomes16:29
lucasagomesmorning max_lobur NobodyCam16:29
NobodyCamlucasagomes: have a second for https://review.openstack.org/#/c/55549/16:29
lucasagomesNobodyCam, sure16:29
NobodyCamthe comments on patch set 20 are worth reading16:30
*** jistr has quit IRC16:30
*** jbjohnso has quit IRC16:31
*** aignatov is now known as aignatov_16:32
*** jbjohnso has joined #openstack-ironic16:32
* NobodyCam makes another cup of Joe.16:38
devanandamorning, all16:45
NobodyCamGood morning devananda :)16:45
lucasagomesdevananda, morning16:47
lucasagomesI'm reviewing 5554916:47
lucasagomesthere's some things16:47
NobodyCam:)16:48
lucasagomeswhy _check_clear_reservation is static?16:48
lucasagomesI mean because "_<name>" means private16:48
lucasagomesand then doing NodeController._check... looks odd16:48
lucasagomesto access a private method from outside16:48
lucasagomes_check_clear_reservation could just be a private method in that class, I don't see the point in making it static16:49
*** ndipanov is now known as ndipanoff16:52
devanandalucasagomes: you're very right.16:53
lucasagomesdevananda, there's no tests on that method16:53
NobodyCamI totaly missed that lastnight16:54
lucasagomesand there's also one else kinda useless there (investigating it)16:54
devanandalucasagomes: i was in a hurry to land all the things yesterday, since the gate was unblocked at last16:54
lucasagomesI will put some comments16:54
lucasagomesdevananda, I see, it's my fault as well. I slowed down my reviews in order to test the deploy etc16:54
devanandalucasagomes: i feel like, this patch has been needed for >2 months, we should just land it and iteratively improve it16:54
lucasagomesdevananda, indeed16:54
devananda^ applies to several patches, actually16:54
lucasagomesright16:54
lucasagomesdo you think we should just land it and fix it in some following patches?16:55
NobodyCambrb16:59
devanandalucasagomes: or i can fix it and post a new patch set17:00
devanandaon top of tha treview17:00
lucasagomesdevananda, that sounds better :)17:01
lucasagomesdevananda, 1 sec I will add the comments17:01
*** martyntaylor has quit IRC17:04
max_loburbrb17:09
lucasagomesdevananda, commented17:11
lucasagomesdevananda, so I'm a bit scared because that method doesn't seems to be right tested17:11
lucasagomesif you remove a piece of the code there (one else that I don't understand the logic) all the tests still pass17:12
lucasagomesso it needs some more coverage, and we need to add some tests to verify the logic of that method directly (not only functional tests around the patch())17:12
devanandalucasagomes: yea, so taht else is bogus. i fixed it in the following patch17:12
devanandalucasagomes: but it def needs better tests17:12
devanandalemme just fix this...17:13
lucasagomesdevananda, right, thanks17:13
devanandalucasagomes: do we agree that this is a suitable approach? compare the rpc_node to the patched_node17:13
devanandalucasagomes: max and I talked yesterday about the RFC for PATCH objects, and I feel that what we're doing is within the RFC scope17:14
lucasagomesdevananda, hmm maybe it's not needed to test it after the node is patched17:14
lucasagomeswe could just take a look at the patch object and see if there's some operation being done to the /reservation path17:14
devanandaso that was max_lobur's suggestion on rev1917:15
devanandaand he outlined what looked to me like a good approach17:15
lucasagomes(would be better if we had some helper functions to work with dictonaries, because the patch structure is a list of dictionaries)17:15
lucasagomeslemme take a look17:15
devanandaright - max_lobur proposed exactly that17:16
devanandahowever17:16
devanandain further discussion, i feel like that would actually be very inconsistent17:16
devanandaa PATCH document may contain N discrete operations17:16
devanandaeach is evaluated semantically and sequentially by jsonpatch17:16
devanandathen we pass the net change (the resulting Node object) to the conductor to evaluate17:16
lucasagomeshmm makes sense, we could have 2 operations on the same path in the same patch17:17
devanandaso a PATCH document could, in principle, contain one or more operations that -- if submitted lone -- would fail, but collectively ,the net result is accepted17:17
devanandaif we are applying some rules to each op individually, bu tnot all rules, it's inconsistent17:18
lucasagomesyea devananda indeed I think ur correct here17:18
devanandak k17:18
lucasagomesdevananda, just wondering, would make sense to make the break of the reservation out of the patch()17:19
lucasagomesPUT /nodes/<uuid>/break17:19
lucasagomesidk just a hypothesis17:19
*** matty_dubs is now known as matty_dubs|lunch17:19
lucasagomesthreat the reservation as an internal attribute, but expose a way to break it, that would remove all this logic of tests patch operations etc17:20
devanandahmm17:20
devanandalike we separate out states17:20
lucasagomesyea17:21
NobodyCamthat might be more consistent for Nobodycam's thought process17:21
lucasagomesso the break of the node is a complete different action than just setting attributes17:21
devananda:)17:21
lucasagomesthere's a whole logic around setting it17:21
devanandayes17:21
max_loburback17:21
NobodyCam+117:21
lucasagomesI mean not setting (because setting is internal)17:21
lucasagomesbreaking it17:21
devanandaalso, i suspect taht'll make a lot more sense if we ever want to require separate privileges for that action17:21
lucasagomesindeed17:22
lucasagomesencapsulating it, in it's own call17:22
lucasagomeswould make the code more sane17:22
lucasagomesto add more logic around it17:22
lucasagomesinstead of squashing everything into patch()17:22
devanandalucasagomes: so that's basically a whole different code change to do17:23
lucasagomes(but that would need a complete refactor of that patch, ofc the functions there could be reused)17:23
devanandanot just a little fix of the logic in the "else" line17:24
devanandaye17:24
devanandayea17:24
lucasagomesyea17:24
max_loburI like the subresource approach too17:24
* devananda wonders if this patch's long history might be in some part a result of the author not being in channel much17:25
* lucasagomes feels bad cause he took a long time to review that patch 17:26
* max_lobur makes tea :-P17:27
openstackgerritMax Lobur proposed a change to openstack/ironic: Replace assertEqual(None, *) with assertIsNone in tests  https://review.openstack.org/7038217:31
*** mdurnosvistov has joined #openstack-ironic17:33
*** hstimer has joined #openstack-ironic17:53
*** hstimer has quit IRC17:55
*** marty- has joined #openstack-ironic17:55
*** harlowja_away is now known as harlowja17:55
*** hstimer has joined #openstack-ironic17:56
*** marty- has quit IRC17:56
*** matty_dubs|lunch is now known as matty_dubs18:13
*** doddstack has quit IRC18:20
*** athomas has quit IRC18:20
* NobodyCam makes more coffee18:21
lucasagomesdevananda, NobodyCam, re nova driver18:22
lucasagomesI added a retry mechanism, to retry the request if the API returns 40918:22
lucasagomes(Conflict)18:22
NobodyCam:) pushed up?18:22
lucasagomeswould make sense to put the number of attempts to retry and the delay between the attemps in the config options?18:23
lucasagomesNobodyCam, just finishing one more thing, related to ^18:23
lucasagomesNobodyCam, we need another attempt/wait appraoch18:23
lucasagomeswhen destroying the instance18:23
NobodyCamahh :)18:24
lucasagomesbecause we call the node tear_down first and then we have to wait to it to finish in order to start removing the pxe_ attributes and instance uuid from the node18:24
lucasagomesAPI doesn't allow you to remove the instance_uuid if the machine is active18:24
lucasagomesand that makes sense18:24
*** aignatov_ is now known as aignatov18:24
devanandalucasagomes: right18:34
devanandalucasagomes: so yes, config seems fine. I would have it be a time (in seconds), then use LoopingCall to poll18:34
* lucasagomes gotta take a look at LoopingCall18:35
lucasagomesthanks18:35
devanandaeg, ironic.api_retry_interval = 1 ; ironic.api_max_retires = 518:36
devanandaor something18:36
devanandalucasagomes: look at the baremetal code's IPMI driver for some examples of loopingcall18:36
lucasagomesdevananda, cheers, yea baremetal/PXE seems to be using it18:37
lucasagomeswill take a look18:37
NobodyCammorning walkies..brb..18:37
devanandaNobodyCam: think you could take a minute or two to update https://wiki.openstack.org/wiki/Ironic#Using_Disk_Image_Builder with the current status?18:43
NobodyCamis on my list for today :)18:44
NobodyCamya we had a bunch of stuff land18:44
NobodyCamand I need to pull the reff to my repo18:44
devanandaNobodyCam: awesome, ty18:45
NobodyCam:)18:45
devanandadavidlenwell: hi! so - yes, pecan/wsme. using the sphinx extension for our api doc generation.18:46
davidlenwelldevananda: awesome .. I'lm gonna look at the bug list and try to land a patch or two over the next week while I get familure with the project.18:46
*** mdurnosvistov has quit IRC18:46
davidlenwellI'll pose stupid questions here ;)18:47
devanandagreat :)18:47
devanandadavidlenwell: take a look at the open reviews too. that's a good way to get familiar with what's changing // needs to be worked on18:48
davidlenwellwill do18:48
devanandadavidlenwell: lucasagomes is a good resource to direct API questions to, if you think you might be leaning towards taht side of the code base18:48
lucasagomesdavidlenwell, welcome :)18:49
davidlenwellyeah .. I think that is the lower hanging fruit as far as what I can contribute to right out of the gate18:50
davidlenwellhi lucasagomes18:50
davidlenwellIt will be next week before I really dig in..18:50
*** aignatov is now known as aignatov_18:50
*** ko__ has quit IRC18:51
*** med_ has joined #openstack-ironic18:55
openstackgerritMax Lobur proposed a change to openstack/ironic: Replace CONF.set_default with self.config  https://review.openstack.org/7039718:56
openstackgerritMax Lobur proposed a change to openstack/ironic: Replace CONF.set_default with self.config  https://review.openstack.org/7039718:58
*** aignatov_ is now known as aignatov19:01
lucasagomesNobodyCam, testing before pushing19:03
*** tatyana has quit IRC19:05
*** thedodd has joined #openstack-ironic19:06
NobodyCammorninf davidlenwell :)19:07
NobodyCamlucasagomes: w00 hoo19:08
NobodyCam** morning even19:08
lucasagomes| 08ee9454-7775-4bb4-b609-746d4e7ff192 | ironictest | ACTIVE | None       | Shutdown    | public=172.24.4.3 |19:10
lucasagomesw00t!19:10
lucasagomesthe power state takes a lot of time to be sync'd with ironic19:11
* lucasagomes gotta take a look at it later19:11
NobodyCam:)19:11
davidlenwellhi NobodyCam19:11
NobodyCam:)19:12
NobodyCamnice to see you back in channel :)19:12
lucasagomesNobodyCam, new patchset pushed and tested :)19:13
lucasagomesspawn() more reliable because it now retries requests19:13
lucasagomesdestroy() working19:13
* NobodyCam looks19:14
lucasagomessome performance improvements when updating resources19:14
lucasagomesyou can make a patch with a list of patches19:14
lucasagomesinstead of calling update to update each attribute19:14
NobodyCamhehehe19:14
lucasagomes:)19:15
lucasagomesand exception handlers fixed19:15
lucasagomes(maybe not all of them)19:15
NobodyCamlike the  _wait_for_provision_state :)19:16
lucasagomes:)19:16
lucasagomesretry_on_conflict() use a similar approach19:17
NobodyCamya just reading :)19:17
NobodyCamnice :)19:17
lucasagomesforgot some small nits19:18
lucasagomesbut it's alright19:18
NobodyCam:)19:19
NobodyCamgah another office lunch19:19
NobodyCam:-p19:19
NobodyCambut the office is 1200 minles away19:19
*** vkozhukalov has joined #openstack-ironic19:19
*** ndipanoff is now known as ndipan_off19:20
lucasagomes:p19:20
lucasagomesNobodyCam, where r u located now?19:21
lucasagomesstill in california?19:21
NobodyCamyep :)19:22
*** pradipta has quit IRC19:22
lucasagomes^^ nice19:26
lucasagomesI'm getting ready to the cold again19:26
lucasagomesreturning to Ireland tomorrow19:26
openstackgerritMax Lobur proposed a change to openstack/ironic: Remove unnecessary json dumps/loads from tests  https://review.openstack.org/7041319:27
* lucasagomes don't like long flights x.x19:27
*** aignatov is now known as aignatov_19:28
NobodyCamoh man but hten your comming out forhte sprint?19:29
max_loburhave a good weekend guys!19:29
max_loburbtw I will be out of office on Monday19:30
NobodyCamyou too max_lobur :)19:30
max_loburbut I'll try to join the meeting19:30
NobodyCamteh meetings are logged:)19:30
NobodyCamoh cool-e-o19:30
*** aignatov_ is now known as aignatov19:31
max_lobur:)19:31
max_loburanyway it's good when all attend19:31
max_loburI will be able to ask question in proper moment :-P19:31
NobodyCamyes :)19:31
NobodyCamhabe a good weekend19:31
max_loburthx!19:32
max_loburbye All!19:32
lucasagomesmax_lobur, g'night!19:32
*** max_lobur is now known as max_lobur_afk19:32
lucasagomesNobodyCam, for the spring?!19:33
NobodyCamsprint :-p19:33
lucasagomessprint*19:33
lucasagomesyea19:33
lucasagomesheh19:33
NobodyCam:-p19:33
lucasagomesdunno what you mean by that :P19:34
NobodyCamthe ironic /OoO sprint in march19:34
lucasagomesahh19:34
lucasagomesNobodyCam, I dunno, I didn't get a answer from my manager19:35
lucasagomesI hope I will be able to make it19:35
* lucasagomes really wants to go19:35
* NobodyCam hopes so too19:35
*** ndipan_off has quit IRC19:37
lucasagomesmy gmail is horrible slow! Seems there's some problems with firefox and some hangout updates19:38
lucasagomesScript: https://talkgadget.google.com/_/scs/talk-static/_/js/k=wcs.wbl.en.QX9o2g257d8.O/m=b,r/am=CpTALiAuPAGMoQEBDg/rt=j/d=1/rs=AItRSTPIJS-Jnb5oiufGxbTJ2mWZuBTaqQ:80619:38
lucasagomes>.<19:38
NobodyCamnice19:39
devanandadkehn: for the neutron update, should the api request contain the port_id in both the URI and body?19:45
devanandathat seems really redundant19:45
dkehnI believe it should19:46
devanandadkehn: http://docs.openstack.org/api/openstack-network/2.0/content/PUT_os-ports-v2.0_updatePort_v2.0_ports__port_id__ports.html suggests it should not19:46
devanandathe body does not contain "id" field19:47
devanandabecause that is in the URI19:47
dkehndevananda: yes your correct, http://docs.openstack.org/api/openstack-network/2.0/content/extra-dhc-opt-ext-update.html19:49
devanandajust found that page too. great, thanks!19:50
*** mdurnosvistov has joined #openstack-ironic19:59
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Adds Neutron support to Ironic  https://review.openstack.org/6607119:59
devanandadkehn: ^19:59
devanandawoops, flake8 ... one sec20:00
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Adds Neutron support to Ironic  https://review.openstack.org/6607120:01
* NobodyCam takes lunch and steps afk for a bit. I will be back!20:11
lucasagomesright I'm done for today20:17
lucasagomesdevananda, NobodyCam dkehn have a good night20:17
lucasagomesenjoy the weekend20:17
devanandag'night lucasagomes !20:17
*** lucasagomes has quit IRC20:18
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Adds Neutron support to Ironic  https://review.openstack.org/6607120:19
openstackgerritJarrod Johnson proposed a change to stackforge/pyghmi: Fix exception if login times out  https://review.openstack.org/7043420:22
*** romcheg has quit IRC20:25
openstackgerritA change was merged to stackforge/pyghmi: Fix exception if login times out  https://review.openstack.org/7043420:25
openstackgerritJarrod Johnson proposed a change to stackforge/pyghmi: Allow special handling to preceed generic handler  https://review.openstack.org/7043720:31
*** vkozhukalov has quit IRC20:34
openstackgerritA change was merged to stackforge/pyghmi: Allow special handling to preceed generic handler  https://review.openstack.org/7043720:36
*** matty_dubs is now known as matty_dubs|gone20:47
* devananda makes food20:51
*** aignatov is now known as aignatov_21:06
*** rloo has joined #openstack-ironic21:36
devanandaback21:38
*** jdob has quit IRC21:40
* NobodyCam is back21:46
openstackgerritJarrod Johnson proposed a change to stackforge/pyghmi: Reasonably relay IPMI errors to console handlers  https://review.openstack.org/7044821:48
openstackgerritA change was merged to stackforge/pyghmi: Reasonably relay IPMI errors to console handlers  https://review.openstack.org/7044821:51
*** openstackgerrit has quit IRC21:53
*** openstackgerrit has joined #openstack-ironic21:53
NobodyCamdevananda: question on lines 614-614 of https://review.openstack.org/#/c/66071/18/etc/ironic/ironic.conf.sample21:54
NobodyCamwhere is that comming from?21:54
NobodyCamand wont that conflict with https://review.openstack.org/#/c/70141/21:55
NobodyCams/614-614/614-61521:59
* devananda looks21:59
devanandaoh22:00
devanandano - it's fine22:00
devanandai'll fix this patch up to rebase on ghe's22:00
NobodyCam:)22:00
NobodyCamthe #noqa on the doc string url ref is because it > 80 chr?22:05
devanandaya22:05
NobodyCam:)22:06
NobodyCamcheeter22:06
NobodyCam:-p22:06
devanandabreakign the link onto 2 lines makes it non-clickable in the web docs22:06
NobodyCamya22:06
NobodyCamjust giving you a hard time , as its friday and i'm ready to +2 the patch22:07
NobodyCamand I think I'll steal the neutron client test and adapt for use in nova-driver22:08
devananda:)22:17
devanandai like the NeutronAPI class code, though i feel like i'm +2'ing my own work now ...22:18
openstackgerritA change was merged to openstack/ironic: Fix ssh_port type in _parse_driver_info() from ssh.py  https://review.openstack.org/7033622:24
openstackgerritA change was merged to openstack/ironic: Remove net_config_template options  https://review.openstack.org/7014122:28
NobodyCamdevananda: ^^^ landed22:28
devanandasweet. rebasing22:28
*** jbjohnso has quit IRC22:28
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Adds Neutron support to Ironic  https://review.openstack.org/6607122:30
devanandadone22:30
NobodyCamjust a dumb question on my part:22:33
NobodyCamwhy the acl.register_opts(CONF)22:33
devanandai wondered taht too22:34
devanandai beleive it's to get access to the keystone opts22:34
NobodyCamahh22:34
devanandafound the same thing (acl.register_opts(CONF) in our API service start-up code22:34
NobodyCam:)22:34
NobodyCamdkehn: around?22:37
dkehnyep22:37
NobodyCamwanta review your patch :)22:38
NobodyCamhttps://review.openstack.org/#/c/66071/22:38
dkehnsure, thats a 1st22:38
devanandahehehe22:38
NobodyCamhehehehe22:38
* devananda adds node-takeover hooks to pxe.py22:38
NobodyCamnice :)22:38
NobodyCamhttp://www.youtube.com/watch?v=7GL6LH6ufhM22:39
dkehnNobodyCam: k22:40
NobodyCamdevananda: +a'ing!22:40
devanandawoot22:41
dkehnNobodyCam: this is what I sent to markmcclain http://www.youtube.com/watch?v=U0oOH2H56uc, who live in Atlanta22:41
NobodyCamofc we that all befor mr J was done22:41
dkehnhedging bets22:42
NobodyCambrb22:42
devanandawoops, switched the BP status too soon22:43
devanandai need to add one more patch22:43
devanandamaybe 222:43
NobodyCam:)22:44
devanandadkehn: the neutron port_id -- this is the neutron port, not the MAC address, right?22:45
devananda*neutron port ID22:45
devanandaNobodyCam: we need to know that value. it's not something we have today22:45
dkehndevananda: yes neutron port_id22:45
devanandadkehn: any thoughts on how we get that?22:46
devanandadkehn: ie, can I ask neutron "what is the port_id for this MAC"22:46
dkehndevananda: I was under the impression that your had that22:47
devanandadkehn: no inside Ironic22:47
dkehnok22:47
NobodyCamdevananda: lines 604 - 611 of nova-driver22:47
devanandaNobodyCam: the noav drive is passing it up ...22:47
NobodyCamattaches to nodes port22:47
devanandaahh22:48
NobodyCam:)22:48
devanandaNobodyCam: so we need that to pass the info DOWN to ironic, too22:48
devanandanvm! it is!22:49
NobodyCam:)22:49
*** romcheg has joined #openstack-ironic22:49
NobodyCamlol the patch is in both chack and gate queues on zuul at the same time22:51
* NobodyCam wonuders if -infra ever thought of that edge case22:52
devanandayea22:53
devanandait's fine, heh22:53
* devananda prepares to hide incase Jenkins -1's it22:54
NobodyCamlol passes all pep 8 and pys in tempest tests now22:54
devanandaNobodyCam: if there are no VIFs registered on the ports belonging to the node22:56
NobodyCamcheck passed :) now just gate left :-p22:56
devanandaNobodyCam: should PXE driver silently fail the neutron update, or raise? any thoughts?22:56
NobodyCamhuh22:56
NobodyCamsomehting happened22:56
NobodyCamoh wrong review22:57
NobodyCam:-p doh22:57
NobodyCamoh,22:57
NobodyCamlog.error and continue I think is out best bet22:58
NobodyCamthey could be using a single hub and not neutron22:59
NobodyCamwaiting on tempest tests for gate... still queued23:07
devanandahmmm23:11
devanandacall me paranoid but i've another thought23:11
devanandadkehn: if a node has N ports, Ironic will try to set the DHCP BOOT opts on all of them. what do you think is the likelyhood of 0 < x < N of those updates failing?23:12
NobodyCam??? gulp ??23:12
devanandaNobodyCam: and if some but not all fail, is that exception-worthy? or just LOG.warning?23:12
devanandai think if at least 1 succeeds, we should continue23:13
NobodyCamwarrning I would ... ya23:13
dkehnhmm, port_id specifies 1 port23:13
NobodyCamI think that is why we set all port opts23:13
NobodyCamwe dont know which one will actually bee the boot interface23:14
devanandadkehn: yes, but a node may have >1 port23:14
dkehntrue, I've gotta step out for a bit23:14
devanandadkehn: so the PXE driver will be calling NeutronAPI.update_port many times, potentially23:14
devanandaNobodyCam: right23:15
NobodyCamn-driver will assign a unique id to each port23:15
devanandaye23:15
devanandayep23:15
devanandaand ironic, during takeover,w ill attempt to update all of the ports23:15
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Implement _update_neutron in PXE driver  https://review.openstack.org/7046823:21
devanandaNobodyCam: posting ^ before i've written unit tests so you can see what i'm talking about23:21
* NobodyCam clicks23:21
NobodyCamcan we include the port id's that failed in the log23:23
NobodyCamwe have node, but which port23:24
NobodyCamas a admin I may look at the log as say of that a internal channel and not care23:24
devanandaah, yes23:24
NobodyCamnot that as a admin I would know the my nodes port uuid by hart... but I might23:25
NobodyCam:-p23:25
NobodyCamyes I aggree with the logic23:25
NobodyCamoh tempest started on THE PATCH23:26
NobodyCamlol23:26
NobodyCamreally: pip's wheel support requires setuptools >= 0.8 for dist-info support.23:27
NobodyCamdoes ubuntu even have wheel support23:27
*** romcheg has quit IRC23:28
dkehnb23:31
NobodyCamc?23:31
*** thedodd has quit IRC23:37
*** mdurnosvistov has quit IRC23:38
dkehnits friday23:48
dkehnso b = back23:48
dkehnNobodyCam: ^^^^23:48
NobodyCamlol23:49
dkehnNobodyCam: hows the weather out there still warm?23:51
*** jbjohnso has joined #openstack-ironic23:51
NobodyCamits a bit chilly its like 68 today23:52
NobodyCam:-p23:52
* NobodyCam ducks23:52

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