Monday, 2014-07-14

*** foexle has joined #openstack-ironic00:03
*** pcrews has joined #openstack-ironic00:16
*** sseago has joined #openstack-ironic00:35
*** pcrews has quit IRC00:41
*** foexle_ has joined #openstack-ironic01:10
*** jbjohnso has joined #openstack-ironic01:10
*** foexle has quit IRC01:13
*** jbjohnso has quit IRC01:37
*** jbjohnso has joined #openstack-ironic01:37
*** nosnos has joined #openstack-ironic01:49
*** jbjohnso has quit IRC01:59
*** nosnos has quit IRC02:09
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Implements send-data-to-ceilometer  https://review.openstack.org/7253802:27
*** foexle_ has quit IRC02:28
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Implements send-data-to-ceilometer  https://review.openstack.org/7253802:30
*** ramineni has joined #openstack-ironic03:11
*** bmahalakshmi has joined #openstack-ironic03:17
*** pcrews has joined #openstack-ironic03:29
*** pcrews has quit IRC03:36
*** notsogentle is now known as annegentle03:45
*** geekyogi has joined #openstack-ironic03:45
*** stendulker has joined #openstack-ironic03:54
*** stendulker has quit IRC04:02
*** eghobo has joined #openstack-ironic04:04
*** stendulker has joined #openstack-ironic04:16
*** eghobo has quit IRC04:18
*** eghobo has joined #openstack-ironic04:19
*** nosnos has joined #openstack-ironic04:26
*** stendulker has quit IRC04:34
*** Poornima has joined #openstack-ironic04:42
*** eghobo has quit IRC04:51
*** lazy_prince2 has joined #openstack-ironic05:09
*** k4n0 has joined #openstack-ironic05:13
*** lazy_prince2 has quit IRC05:19
*** bandicot has joined #openstack-ironic05:24
*** eghobo has joined #openstack-ironic05:28
*** shausy has joined #openstack-ironic05:42
*** rakesh_hs has joined #openstack-ironic05:46
*** romcheg has joined #openstack-ironic05:57
*** radsy has quit IRC05:58
*** romcheg has quit IRC06:00
*** geekyogi has quit IRC06:10
*** geekyogi has joined #openstack-ironic06:15
*** nosnos has quit IRC06:20
*** Mikhail_D_ltp has joined #openstack-ironic06:30
*** eguz has joined #openstack-ironic07:01
*** Mikhail_D_ltp has quit IRC07:02
*** eguz has quit IRC07:03
*** Mikhail_D_ltp has joined #openstack-ironic07:04
*** eghobo has quit IRC07:05
*** bmahalakshmi2 has joined #openstack-ironic07:18
*** bmahalakshmi has quit IRC07:19
*** jcoufal has joined #openstack-ironic07:20
*** jistr has joined #openstack-ironic07:20
*** ifarkas has joined #openstack-ironic07:32
*** bandicot has quit IRC07:36
*** mrda is now known as mrda-away07:40
GheRiveromorning all07:56
dtantsurMorning Ironic \o/ did you miss me? :)08:04
*** derekh__ has joined #openstack-ironic08:13
*** ndipanov has joined #openstack-ironic08:14
*** sseago has quit IRC08:19
*** lucasagomes has joined #openstack-ironic08:28
*** yuriyz has joined #openstack-ironic08:34
yuriyzmorning Ironic08:35
*** athomas has joined #openstack-ironic08:36
*** Poornima has quit IRC08:41
dtantsuryuriyz, morning!08:43
gilliardmorninf :)08:44
dtantsurgilliard, morning!08:44
*** martyntaylor has joined #openstack-ironic08:45
*** romcheg has joined #openstack-ironic08:48
lucasagomesmorning all08:50
dtantsurlucasagomes, \o/08:52
openstackgerritMatthew Gilliard proposed a change to openstack/ironic: Make ComputeCapabilitiesFilter work with Ironic  https://review.openstack.org/10580208:52
dtantsurlucasagomes, please let me know what you think about comments to a discovery spec08:52
lucasagomessure will take a look08:53
dtantsurlucasagomes, I got at least one request for a full-featured hardware management :D08:53
lucasagomesew08:54
dtantsurlucasagomes, I'll do the last update today and will be asking you and devananda for fast-forwarding it. Otherwise we'll be arguing forever...08:57
lucasagomessure yeah that needs to land quickly or we won't get anywhere08:57
lifelesslucasagomes: https://bugs.launchpad.net/nova/+bug/1341420 might scare you :)09:01
lucasagomes:(09:01
* lucasagomes looks09:01
lifelesslucasagomes: ran into it trying to get hp1.tripleo.org back online for CI09:02
dtantsurbbl09:05
lucasagomesew 4 machines out of 45 it's almost 10 percent (8 something)09:08
lucasagomesand as u said, they all have retried and failed at least 3 times before it's marked as failed09:08
lifelesslucasagomes: that was using 29/45 - so its 4/29 requests fail (> 10%)09:08
lifelesslucasagomes: doing 45 even more fail - like 15/4509:09
lucasagomes:/09:10
lifelessyeah09:10
lifelessI've raised the red flag on this within/HP - got some public cloud folk eyeballing it now09:10
lucasagomesif the retry forcebily tried to rescheduler in another host (if resources area available elsewhere) instead of insisting on the same09:10
lucasagomeswould minimize it as well09:10
lifelesslucasagomes: nope - it does retry a different host09:10
lifelessit tracks which ones it tried09:11
lucasagomesah09:11
lifelessall it needs is three hosts outstanding and not yet claimed, and the front three, and the failure can happen in < 1s09:11
lucasagomesi c urghhh09:11
*** vinbs has joined #openstack-ironic09:12
lucasagomeswell bright side, CI is working and doing it's job capturing such problems09:12
lucasagomesthat would be hardly seem else where on tests09:12
lifelesslucasagomes: actually I found this trying to *deploy* the CI infra :)09:12
lifelesslucasagomes: a little meta :>09:12
lucasagomesah lol09:13
lifelessso sleep(5) seems to fix it09:14
lifelesswhich confirms the race aspect of it09:14
lifeless;)09:14
vinbsHello Ironic!09:16
lucasagomesheh fair09:16
lucasagomesvinbs, hi there09:16
romchegMorning Ironic!09:20
openstackgerritA change was merged to openstack/ironic: Update docstring for api...node.validate  https://review.openstack.org/10609209:20
romcheglucasagomes: Have you ever hit ERROR: openstackclient.shell Exception raised: six>=1.6.0 when installing Icehouse with Grenade?09:21
*** athomas has quit IRC09:23
romchegIndeed, when I try running openstackclient manually, I get the same error :(09:23
*** lazy_prince has quit IRC09:23
lucasagomesromcheg, ew not really, but my env is a bit old I haven't build a new one for a while09:24
lucasagomes:(09:24
lucasagomesromcheg, any bug open on the openstackclient?09:24
romcheglucasagomes: so don't do than :)09:24
lucasagomeslol hah ok09:24
romchegI'm looking for one09:25
*** athomas has joined #openstack-ironic09:29
*** dtantsur has quit IRC09:31
*** dtantsur has joined #openstack-ironic09:34
*** lazy_prince has joined #openstack-ironic09:40
*** Alexei_987 has joined #openstack-ironic09:45
openstackgerritDmitry Tantsur proposed a change to openstack/ironic-specs: Generic Hardware Discovery Bits  https://review.openstack.org/10256509:46
dtantsurlucasagomes, ^^^09:48
openstackgerritDmitry Tantsur proposed a change to openstack/ironic-specs: Generic Hardware Discovery Bits  https://review.openstack.org/10256509:49
*** k4n0 has quit IRC09:57
*** pelix has joined #openstack-ironic10:03
sorenI find that I'm having to specify --nic net-id=bblahblah on my "nova boot" command line. Otherwise the instances get no network assigned. Does anyone else see the same thing? With no --nic options, Nova used to create an interface on each network visible to the given tenant.10:04
sorenOh. It does get assgined. Eventually.10:06
sorenNever mind.10:06
openstackgerritA change was merged to openstack/ironic: REST API 'limit' parameter to only accept positive values  https://review.openstack.org/10609310:08
openstackgerritA change was merged to openstack/ironic: Updates Ironic Guide with deployment information  https://review.openstack.org/10078710:08
vinbsromcheg, I had come across that error when installing openstack client manually10:08
openstackgerritA change was merged to openstack/ironic: Document 'POST /v1/.../vendor_passthru'  https://review.openstack.org/10586910:09
openstackgerritA change was merged to openstack/ironic: Update webapi doc with link and console  https://review.openstack.org/10610210:09
vinbsromcheg, I had to upgrade pip to resolve that issue10:09
romchegvinbs: I have a fresh pip but I will try that10:10
vinbsromcheg, what version of pip do you have?10:11
*** k4n0 has joined #openstack-ironic10:11
romcheg1.5.610:11
*** k4n0 has quit IRC10:35
*** martyntaylor has left #openstack-ironic10:35
*** bmahalakshmi2 has quit IRC10:49
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic-specs: New driver ManagementInterface  https://review.openstack.org/10021810:58
*** ramineni has quit IRC11:03
*** killer_prince has joined #openstack-ironic11:04
*** lazy_prince has quit IRC11:07
*** killer_prince is now known as lazy_prince11:07
*** lazy_prince2 has joined #openstack-ironic11:11
*** lazy_prince2 is now known as killer_prince11:11
*** killer_prince has quit IRC11:20
dtantsurCore folks, I now, I'm annoying (you missed it, while I was absent, right? ;), but please your opinion on discovery https://review.openstack.org/#/c/102565/11:20
dtantsur(please read carefully intro on what was deliberately excluded)11:20
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Check whether specified FS is supported  https://review.openstack.org/9810211:22
*** lucasagomes is now known as lucas-hungry11:31
dtantsurlucas-hungry, addressed your comment on https://review.openstack.org/#/c/102247/ tl;dr UUID is always an internal attribute in REST API, I'm addressing only DB API itself11:35
openstackgerritMatthew Gilliard proposed a change to openstack/ironic: Make ComputeCapabilitiesFilter work with Ironic  https://review.openstack.org/10580211:36
openstackgerritMatthew Gilliard proposed a change to openstack/ironic: Make ComputeCapabilitiesFilter work with Ironic  https://review.openstack.org/10580211:37
*** rakesh_hs has quit IRC11:52
*** jdob has joined #openstack-ironic12:03
*** vinbs_ has joined #openstack-ironic12:04
*** lazy_prince has quit IRC12:05
*** vinbs has quit IRC12:05
*** vinbs_ is now known as vinbs12:06
openstackgerritA change was merged to openstack/ironic-specs: DRAC power driver  https://review.openstack.org/9935212:08
Shrewsmorning all12:09
Shrewslucas-hungry: thx for the comments on the node lock retry spec. will address those today  :)12:09
*** vinbs has quit IRC12:10
Shrewsdtantsur: welcome back!12:10
dtantsurShrews, morning, thanks :)12:10
*** yuriyz has quit IRC12:16
*** geekyogi has quit IRC12:16
*** yuriyz has joined #openstack-ironic12:19
*** rloo has joined #openstack-ironic12:20
*** amitpp has joined #openstack-ironic12:20
*** killer_prince has joined #openstack-ironic12:21
*** killer_prince is now known as lazy_prince12:21
*** lucas-hungry is now known as lucasagomes12:36
lucasagomesdtantsur, oh my bad, I see the defaults now12:37
lucasagomeswill change my vote12:37
dtantsurthnx :)12:37
lucasagomesShrews, np, and congratz for the nomination :)12:38
lucasagomesjroll, u too congratz :)12:39
Shrewsthx12:39
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic-specs: New driver ManagementInterface  https://review.openstack.org/10021812:48
jrolllucasagomes: thanks :)12:49
jrollwelcome back dtantsur \o/12:49
*** shausy has quit IRC12:53
lucasagomesdtantsur, on the autodiscovery spec doing a POST {... hardware characteristics ...} /nodes/autodiscovery, isnt the same as POST {... hardware characteristics + maintenance=True + newly_discovered=True}  /nodes ?12:53
lucasagomesdtantsur, just wondering if we really new a new endpoint for it12:54
lucasagomesI see the update part now12:57
dtantsurjroll \o/12:59
dtantsurlucasagomes, we at least should give a driver an ability to jump in + we may not know Node UUID12:59
dtantsurjroll, Shrews, congrats on nominating, well deserved!12:59
dtantsurand jroll I'm gonna annoy you again with discovery spec, please have a look :) https://review.openstack.org/10256513:04
rloohello ironickers on this bright and wonderful Monday morning. (zzzzz)13:04
rloowelcome back dtantsur!13:04
dtantsurrloo, hi \o/13:05
rloodtantsur, if you have a chance, would you please look at the ipxe spec: https://review.openstack.org/#/c/98822/13:05
dtantsursure!13:05
rloodtantsur: oh wait, well, it'd be good to look at but I think that's a like-to-have for j2.13:06
rloolucasagomes: is the mgt interface spec a high priority? it seems like lots of things are gating on it.13:06
lucasagomesrloo, yeah13:06
lucasagomesit's needed for a couple of things13:06
lucasagomesdiscovery13:06
lucasagomesceilometer data13:06
rloolucasagomes: i'll take a look at it again. it wasn't mentioned in last week's meeting but I think we should get it approved soon...13:07
lucasagomes+113:07
rloolucasagomes: btw, deva wanted this for J2 too and I said I'd get the code in after the spec was approved, so if you have a chance: https://review.openstack.org/#/c/100218/13:08
dtantsurrloo, did lucasagomes addressed your concerns on iPXE spec? I'm ok with it and thinking about approving13:08
lucasagomesrloo, oh will do13:08
*** faizan has joined #openstack-ironic13:09
rloodtantsur: yeah I think. Otherwise I'd have -1'd him. Sec, let me review, my head is a bit foggy still.13:09
dtantsurack13:09
rloodtantsur: he sort of answered my questions. i think we'll find out in the future if things need to change, but it is easy to deprecate config options so i'm not worried ;)13:10
dtantsurok, approved13:11
rloothx dtantsur.13:11
* romcheg wonders how stable jobs are working in OS CI...13:12
lucasagomesrloo, approved13:12
lucasagomesthanks for addressing the optional/required field thing13:12
rloothx lucasagomes. finally, maybe I should wait still to see if there are any objections ;)13:13
rloolucasagomes: thx for simplifying it for me ;)13:13
lucasagomesrloo, wait for jenkins :P13:13
*** matty_dubs|gone is now known as matty_dubs13:13
openstackgerritA change was merged to openstack/ironic-specs: iPXE boot  https://review.openstack.org/9882213:13
lucasagomeszo/13:13
rloolucasagomes: ha ha. All hail the glorious jenkins...13:13
openstackgerritA change was merged to openstack/ironic-specs: API to get driver_info properties  https://review.openstack.org/10291413:14
lucasagomesrloo, :) ^13:14
rloolucasagomes: whoo hoo. Past the first hurdle. Going for 1st base now...13:15
lucasagomes;)13:15
* Shrews giggles at rloo's monday morning email humor13:18
romchegCongrats Shrews and jroll! :)13:18
Shrewsrloo: gmail seems to think your emails are junk. i tend to disagree. something with emails from yahoo-inc.com. happens with josh too13:19
rlooShrews: yeah, I was giddy with happiness at more reviewers :D13:19
rlooShrews: yeah. Yahoo did something and I suspected it'd think it was junk but I am too lazy to change to another non-yahoo-inc email address.13:19
rlooShrews: I just try never to send email to the list ;)13:20
jrolloh god the puns13:20
jrollJayF will love it13:20
Shrewshehe13:20
rloojroll, Shrews: congrats. A lot is riding on you two now. ha ha.13:20
jrolldtantsur: question for you...13:21
dtantsursure13:21
jrollif the inventory field is an opaque json blob13:21
jrollhow would ironic tell that the node is already registered?13:21
jrolland is that pluggable?13:21
jrolle.g. if I don't trust mac addresses to be unique (I do at the moment)13:22
jrollalso, idk if I agree with that being a 20013:22
jrollshould almost be a 409 (conflict), but we use that everywhere right now :|13:23
jroll(I guess I see the answer for the first question)13:23
matty_dubsrloo: I've noticed that with normal yahoo.com webmail users, too. I think if they don't send through webmail, the SPF headers are bad or something.13:24
matty_dubsrloo: Just in case you wanted to single-handedly fix Yahoo! webmail.13:24
jrolllolll13:25
rloothx matty_dubs.13:27
openstackgerritA change was merged to openstack/ironic: Add more INFO logging to ironic/common/service.py  https://review.openstack.org/9949513:28
*** jbjohnso has joined #openstack-ironic13:30
rloolucasagomes: wrt the mgmt interface and set-boot-device. if it isn't being stored in the db, what happens if the conductor goes away?13:31
lucasagomesjroll, we don't use 409 for when registering nodes13:31
lucasagomesI mean, creating resources in general13:32
lucasagomesrloo, api will try to create a topic to talk to the conductor responsable for that driver13:32
lucasagomesrloo, it will fail saying no conductor in the cluster supports that driver13:33
lucasagomesso the node can't be managed13:33
*** Nisha has joined #openstack-ironic13:33
jrolllucasagomes: what do we use? I don't think we currently (can/do) validate that a resource is unique when creating it13:33
lucasagomesjroll, yeah we don't, just saying about ur argument that we use it everywhere13:34
lucasagomesjroll, just saying that none of the resources creations would return 409 (conflict) right now, because that doesn't required a node lock13:34
lucasagomesit's creating the node13:34
lucasagomesso I think ur suggestion for using 409 if node is already registered is valid13:35
rloolucasagomes: sorry. I should have been clearer. What happens if someone sets-boot-device for a node/driver, and then the conductor goes away. we're able to get another conductor to handle that node, but the set-boot-device setting will be gone.13:36
jrolllucasagomes: right, we just have a lot of things returning a 40913:36
jrollin general13:36
lucasagomesyeah13:36
dtantsurjroll, sorry, was out for a moment13:37
*** ramineni has joined #openstack-ironic13:38
lucasagomesrloo, why? it won't... like you had a conductor managing that node and the user set the boot device, request completely. Now this conductor is down and a new one took over that node13:38
dtantsurjroll, 409 is an error message, will cause an error to be logged and so on. In our case there's no error13:38
lucasagomesrloo, the configuration still on the BMC, so the device you set through the previous conductor still valid13:38
lucasagomes(if I got the question)13:38
dtantsurjroll, detecting existing node is not pluggable as of now. I wanted to include it, but dropped to make the spec as simple as possible.13:39
dtantsurI guess it can be introduced later in a backward-compatible manner13:39
*** amitpp has quit IRC13:40
rloolucasagomes: so the new conductor will know the setting that the user specified via the bmc? including the persistent flag?13:40
lucasagomesrloo, yeah because the conductor is just an abstraction layer, the configuration is set on the BMC13:41
jrolldtantsur: 409 is only an error if you treat it as an error :/13:41
rloolucasagomes: ok thx.13:41
lucasagomesrloo, or in the case of the SSH driver, who holds the configuration of which is the default boot device is virsh13:41
dtantsurjroll, you should, 4xx is a family of error codes13:41
lucasagomesrloo, we just go there and ask it13:41
*** amitpp has joined #openstack-ironic13:42
jrolldtantsur: sure... but idk. trying to re-enroll a node that is already enrolled sounds like an error case. unless you treat every re-enroll as a Node.update(), then maybe it's fine?13:42
dtantsurjroll, returning an error code assumes,that we tried not to take any action, when in fact we succeeded in updating hardware parameters. Yes, I treat this endpoint as an update_or_create() rather than just create13:43
jrollok13:44
jrollfair enough :)13:44
jrollI wasn't thinking about update() when I asked about 40913:44
openstackgerritDmitry Tantsur proposed a change to openstack/ironic: Raise appropriate errors on duplicate Node and Chassis creation  https://review.openstack.org/10250613:45
*** Mikhail_D_ltp has quit IRC13:49
jrolldtantsur: reviewed13:50
jrolla few more questions, ping me if you want to chat real-time about them13:50
GheRiveronls13:51
lucasagomesjroll, I remember we started talking about #10073413:52
jrolllucasagomes: hey, were you planning to remove your -1 here? (we talked friday about it) https://review.openstack.org/#/c/100734/13:52
jrolllol13:52
jrollgood timing13:52
lucasagomeslol13:52
lucasagomesyeah13:52
lucasagomesyeah so what's the problem of having tftp_master_path on the pxe group?13:53
jrolllucasagomes: still have questions or are we good to go here13:53
jrollah13:53
jrollI guess it depends how you think of the pxe group13:53
jrollI think of it as "pxe driver configs"13:53
lucasagomesjroll, there's a nit on that patch anyway that would keep my -1, importing image_cache at tftp.py is not required cause we are not using it13:53
jrollin which case it's weird... because I want to use that config in the agent13:54
dtantsurjroll, thanks. I suggest to postpone auth issue. I understand it's pressing, but I also understand that we can't grow this particular spec infinitely. Also, I'm not too strong in this topic.13:54
jrolllucasagomes: ah, right, pep8 caught that too13:54
dtantsurjroll, I suggest to start discussing it immediately, but in a new spec13:54
lucasagomesjroll, right... yeah... what I think when I see a tftp config in ironic13:54
lucasagomesis that ironic is actually managing a tftp server or something13:54
jrolldtantsur: I just... would -1 the heck out of any implementation that uses the regular auth mechanism13:54
lucasagomesthat's why on my patch I was moving back13:54
jrolllucasagomes: right. names are hard.13:54
lucasagomeshaving it on the pxe group, IMO it represents better that pxe depends on the tftp13:55
lucasagomesjroll, yeah13:55
jrollon the other hand... it configures what directory the tftp server uses, so13:55
jrollor like, what dir to put the files in because the deployer knows tftpd is pointed there13:55
lucasagomesyeah the 2) is more accurate13:56
dtantsurjroll, that's fair, but we _do_ have this auth right now and this spec changes exactly nothing13:56
jrolldtantsur: right... but we don't put admin creds in an image stored in glance today :)13:56
jrolldtantsur: or, at least, I don't. idk about others.13:56
dtantsurjroll, yeah, we put it into TFTP, that's what will be used here as well (as of now)13:56
lucasagomesjroll, and another thing I don't know what to do is, after renaming tftp.py to pxe_utils.py I should keep a 'tftp' config group as part of pxe_utils?13:57
jrolluhhhhhhh13:57
dtantsurjroll, again, I'm all for inventing something better, I only state that this spec does not make it worse13:57
jrolldtantsur: what do you mean by "we put it into TFTP"13:57
jrolldtantsur: as in, we put it in an image, or the pxe options?13:58
*** jistr has quit IRC13:58
dtantsurjroll, we put an admin token on a TFTP for the ramdisk to ping back Ironic after it booted, no?13:58
lucasagomesyes13:58
jrolllucasagomes: hrm, true. maybe we should leave it in pxe :/13:58
lucasagomesjroll, :/ yeah and it get more confused after I add http_root and http_server13:58
jrollwait, that's a keystone token? I thought that was a per-node token of some sort13:58
jrolllucasagomes: lol13:59
dtantsurjroll, it's a general admin token IIRC13:59
lucasagomesjroll, it gets more inconsistency, because then would I need to add a new 'http' config group?13:59
lucasagomes:(13:59
dtantsurlucasagomes, am I right ^^^?13:59
*** jistr has joined #openstack-ironic13:59
lucasagomesjroll, that's a keystone token yes13:59
jrolllucasagomes: right, hm13:59
jrollgah13:59
lucasagomesyeah the admin token is on the tftp13:59
jrollthat's... not awesome13:59
lucasagomesand the ramdisk will suck it and use it to talk to the ironic api14:00
lucasagomesyeah14:00
lucasagomesso, couple of ways to solve that14:00
lucasagomeskeystone trusts is the most generic one IMO14:00
jrollso anyone that can dhcp has admin tokens for your cloud14:00
lucasagomesor using the driver's virtual media to pass the token in a secure way14:00
dtantsurjroll, I believe it's sort of a problem, but I don't see how the spec in question make it worse or better14:00
jrollhmm14:00
lucasagomesjroll, yeah that's far from being a good case14:00
jrolldtantsur: right... I didn't realize that was a keystone token. that spec is fine, then14:01
lucasagomesofc the token is deleted after deploy14:02
lucasagomesFYI https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/pxe.py#L39714:02
jrolllucasagomes: that doesn't revoke it from keystone, though, does it?14:02
dtantsurjroll, cool. Re bad value for default_driver - I don't know :( Do you have some ideas?14:03
jrolldtantsur: idk, crash the conductor? :)14:03
jroll(actually not the worst idea)14:03
lucasagomesjroll, afair no, it just use the token used for the request of dpeloying a machine and saves it to a file14:03
lucasagomesbut that's a admin token because our api is admin only14:03
dtantsurjroll, that seems reasonable to me: if discovery is enabled and no sane value is provided, it's much better, than failing during the discovery14:03
jrolllucasagomes: right... so I boot a bare metal node. I poke your tftp server as if I'm booting a ramdisk, and get a token. then I use that token to do whatever I want.14:04
jrolldtantsur: +114:04
*** jrist has joined #openstack-ironic14:04
lucasagomesjroll, yeah, that's what the default ramdisk now14:04
lucasagomesjroll, the token is saved on the tftp with a deterministic name14:05
lucasagomesand the ramdisk gets it after boot14:05
lucasagomesand use it to talk to the ironic api (passing the iscsi iqn etc...)14:05
lucasagomesjroll, oh got ur question now... yeah that's a risk14:06
lucasagomesyeah it's quite bad actually...14:06
jrollright...14:06
lucasagomesjroll, so there's a spec for the deploy ilo driver14:06
jrollbecause we also don't have network isolation automated14:07
jrollso hopefully someone turned off access to the control plane after deploy :)14:07
lucasagomesyeah :/ the way to work around is have a network for the deploy14:07
lucasagomesand another for production14:07
lucasagomesjroll, the token gets deleted after deploy14:07
lucasagomestho token for other machines being deployed may be there14:07
jrollahhh, right14:08
lucasagomesjroll, so on the ilo deploy, afai remember, they want to create a floppy disk image with the token and use the virtual media device14:08
lucasagomesto pass the token to the node14:08
jrollright14:09
jrollI know there's good ways to solve this :)14:09
*** overlayer has joined #openstack-ironic14:09
lucasagomesyeah14:09
jrollbut at first I thought for discovery, we would pass more creds than usual to the ramdisk14:09
openstackgerritDmitry Tantsur proposed a change to openstack/ironic-specs: Generic Hardware Discovery Bits  https://review.openstack.org/10256514:09
lucasagomesright, yeah not really :/ I mean... we are a admin-only api right now so14:10
dtantsurjroll, lucasagomes, ifarkas updated please have a look ^^^14:10
lucasagomesjroll, and back to the #100734 talk, so ur ok in keeping it on the pxe group?14:11
lucasagomesI understand its not perfect, but I think that separating may be worse14:11
lucasagomes:/14:11
jrolllucasagomes: sure14:11
lucasagomesack thanks14:11
jrolllucasagomes: and then I'll file a bug to rename the 'pxe' driver to 'iscsi' driver14:11
jroll:)14:11
lucasagomeslol14:11
* jroll bbiab14:12
*** lazy_prince is now known as killer_prince14:17
*** overlayer has quit IRC14:17
*** jgrimm has joined #openstack-ironic14:26
lucasagomesif someone is willing to review something here's a good one https://review.openstack.org/#/c/91585/14:27
NobodyCamgood morining Ironic14:27
dtantsurNobodyCam, morning!14:27
lucasagomeswe need it to be supported fro the client asap, we are waiting for it to do a new release14:27
lucasagomesNobodyCam, morning14:27
NobodyCammorning dtantsur , lucasagomes14:28
rloomorning NobodyCam.14:28
NobodyCamjroll: rloo too :)14:28
rloolucasagomes: yes, I will take a look at that pagination. Seems like I had comments about it before ;)14:28
lucasagomesrloo, yup, there's a new patch set up for it14:29
lucasagomesthanks14:29
jrollmorning NobodyCam14:30
NobodyCam:)14:30
dtantsurNobodyCam, and of course I'm advertising discovery spec: https://review.openstack.org/#/c/102565 :) Could you have a look? I guess I addressed your comment14:32
NobodyCam:)14:32
NobodyCamwill do14:32
*** jistr has quit IRC14:35
*** jistr has joined #openstack-ironic14:36
*** martyntaylor has joined #openstack-ironic14:40
dtantsurback in ~hour14:46
*** jcoufal has quit IRC14:54
*** faizan has quit IRC14:58
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic-specs: Add support for retry on NodeLocked exceptions  https://review.openstack.org/10399615:18
Shrewslucasagomes: That patch set ^^^^ should be a bit more explicit now. Thanks for your suggestions.15:21
Shrewsmore welcomed15:22
lucasagomesShrews, ta much! will take a look (finishing something up here quickly before)15:22
Shrewsno worries15:22
Shrewsi have many other things i'm trying to knock off my list today, too  :)15:23
Shrewsmost involving tempest... *grumble*  *grumble*15:23
openstackgerritRamakrishnan G proposed a change to openstack/ironic: Add IloDriver and its IloPower module  https://review.openstack.org/8950015:28
*** mdorman has joined #openstack-ironic15:30
*** amitpp has quit IRC15:32
*** mdorman has quit IRC15:35
*** mdorman has joined #openstack-ironic15:36
*** hemna has quit IRC15:42
*** athomas has quit IRC15:50
*** derekh__ is now known as derekh_15:53
*** mdorman_ has joined #openstack-ironic15:54
*** mdorman has quit IRC15:56
*** mdorman_ is now known as mdorman15:56
dtantsurShrews, what's the point of having 0 retries by default?15:56
*** athomas has joined #openstack-ironic15:56
*** jistr has quit IRC15:56
dtantsurvalue 1 makes much more sense to me15:56
dtantsur(or even 2, can be discussed)15:56
Shrewsdtantsur: so we don't affect operators who upgrade and don't want the change in behavior15:57
Shrewsbecause there is a penalty for enabling it15:57
dtantsurShrews, I guess a user will prefer to opt-in for sudden errors, not vice verse15:57
Shrewsdtantsur: yes, it's an opt-in feature15:58
dtantsurShrews, there's also penalty in _not_ enabling it, i.e. users will get errors from time-to-time. Yes, and I suggest that users want to opt-out this feature, not opt-in15:58
Shrewsdtantsur: well, that's what they get today  :)15:59
dtantsurand that's what we're trying to fix15:59
dtantsurShrews, seriously, could you explain why would anyone set this to 0? In what case getting vague error is better than delay?15:59
Shrewsright, but the "real" fix is the async api stuff. but that's not until K15:59
*** eghobo has joined #openstack-ironic16:00
dtantsurShrews, yeah, I know. But this looks like we're fixing things only for devstack (where we'll have proper non-0 default) and leaving it broken for others16:01
Shrewsdtantsur: so, what we're trying to do is fix this in the gate b/c it's annoying. since the real fix is the async api, we don't want having this in affect anyone with current deploys.16:01
Shrewsdtantsur: nothing is "broken", really.16:01
dtantsurShrews, it is. People are seeing errors that are completely related to our internal business16:02
dtantsurShrews, if we're fixing tempest, we should fix it in tempest, not in our code16:02
Shrewsit's not fixing a bug, but changing behavior. if someone wants the new behavior, they should explicitly enable it16:02
Shrewsdtantsur: the tempest fix is really hard b/c they use their own client, so it would affect a lot of tests16:03
dtantsurShrews, any bug can be called "old behaviour" :D We have several bug reports for this, I guess, and a special workaround in a quick start guide telling people to disable periodic task16:03
*** eghobo has quit IRC16:03
dtantsurShrews, it's more than enough to me to call for changing the default behaviour16:04
Shrewsdtantsur: feel free to bring this up in today's meeting if you wish16:04
dtantsur(especially provided how many things we're already changing in Juno)16:04
Shrewsdtantsur: or just post a -1 on the spec with your comments  :)  people can weigh in there, too16:07
dtantsuryeah, I'm trying to summarize what I think on it16:08
*** matty_dubs is now known as matty_dubs|lunch16:09
*** eghobo has joined #openstack-ironic16:10
*** bandicot has joined #openstack-ironic16:10
dtantsurok, left my looooong letter :) thanks for bringing it anyway16:11
*** bandicot has quit IRC16:11
Shrewsdtantsur: cool  :)16:11
*** pcrews has joined #openstack-ironic16:11
NobodyCamNisha: dtantsur: are you both in channel?16:14
dtantsurI am, though wanted some tea16:14
NobodyCamheheh you can get tea16:14
dtantsurack, you can raise whatever you want, I'll answer a bit later16:16
NobodyCamhas every one looked over the agenda? lucasagomes still want "Config option deprecation strategy" on the agenda?16:17
*** martyntaylor1 has joined #openstack-ironic16:17
lucasagomesNobodyCam, oh, no it can be removed16:17
lucasagomeslast meeting someone pointed to a doc about how to do it on openstack16:17
lucasagomesso it's grand16:17
NobodyCamdtantsur: I was going to see if I could get you and Nisha toghether to chat about the inventory interface16:17
*** martyntaylor has quit IRC16:18
NobodyCamlucasagomes: removed :)16:18
lucasagomescheers16:18
*** derekh_ has quit IRC16:20
*** eghobo has quit IRC16:21
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Rename/update common/tftp.py to common/pxe_utils.py  https://review.openstack.org/10359516:23
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add iPXE support for Ironic  https://review.openstack.org/9931816:23
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add iPXE Installation Guide documentation  https://review.openstack.org/10680916:23
*** eghobo has joined #openstack-ironic16:24
*** eghobo has quit IRC16:25
*** eghobo has joined #openstack-ironic16:25
dtantsurNobodyCam, yeah... we have some preliminary talk, but I'm not sure about the outcome. At least Nisha saw the spec.16:31
*** romcheg1 has joined #openstack-ironic16:34
*** martyntaylor1 has quit IRC16:37
*** ramineni has quit IRC16:37
NobodyCam:)16:38
devanandamorning, all16:42
dtantsurdevananda, morning!16:42
romcheg1Morning devananda!16:42
devanandadtantsur: welcome back :)16:42
dtantsurthanks :)16:43
*** romcheg1 is now known as romcheg_ltp16:43
Nishadtantsur: :)16:43
NobodyCamgood morning devananda16:43
dtantsurNisha, hi! :)16:44
Nishadtantsur: Hi :) Welcome back16:44
Nishadtantsur: we were discussing about inventory specs (yours and mine ) when you were on vacation16:45
dtantsuraaaah I see. Could you summarize for me?16:46
Nishadtantsur: last conclusion which i had from NobodyCam is that yours and mine are duplicate specs :)16:46
Nishaalmost duplicate16:46
dtantsurreally? I don't think so, unless things have changed a lot16:46
dtantsurwe may have some duplication in what we define, but mine does not cover user-driven discovery (deliberately, I left it for you)16:47
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Adding support for decommissioning  https://review.openstack.org/10437916:47
*** martyntaylor has joined #openstack-ironic16:47
Nishadtantsur: nothing has changed except that i populate the same data field inventory as you do16:48
Nisha:)16:48
dtantsurlet me quickly look through your spec now, ok?16:48
Nishadtantsur: yes16:48
NishaThat should be great16:48
Nishadtantsur: https://review.openstack.org/#/c/100951/16:49
dtantsuryeah I know16:49
Nishadtantsur: Just for reference (to speed up) :)16:49
NobodyCamdtantsur: Nisha: both of your spec are adding a inventory field what I what to make sure of is that they dont both add it in different ways.16:49
dtantsurNisha, one thing to warn you: devananda is against storing the whole hardware inventory in Node, that's why I dropped this point from my spec16:49
dtantsurNobodyCam, mine no longer add inventory field. that was banned by devananda.16:50
devanandaIMNSHO, Ironic is not a CMDB16:50
* devananda goes back to catching up on emails16:50
NobodyCamNisha: ^^^ did you see that16:50
Nishadtantsur: I added it as per your comment16:50
dtantsurNisha, yeah and I proved to be wrong. Sorry for that.16:51
dtantsurNisha, now what I see for your spec is to cover the whole procedure starting with new CLI command and ending with calling to store_inventory() defined in my spec16:51
dtantsurwhat do you think?16:52
*** Mikhail_D_ltp has joined #openstack-ironic16:53
*** Nisha has quit IRC16:55
lucasagomesdevananda, morning16:55
* NobodyCam needs to run afk for a few minutes... bbs16:59
devanandalucasagomes: mornin!17:00
*** matty_dubs|lunch is now known as matty_dubs17:01
*** harlowja_away is now known as harlowja17:03
*** Alexei_987 has quit IRC17:03
jrolldevananda: proposal to add "Ironic is not a CMDB" to the topic :P17:06
*** Nisha has joined #openstack-ironic17:07
*** krtaylor has quit IRC17:07
dtantsurjroll, +117:08
*** ndipanov is now known as ndipanov_gone17:08
dtantsuror we can reiterator every meeting17:08
dtantsur* reiterate17:08
devanandajroll: lol17:09
Nishadtantsur: Why we want to define a new CLI?17:10
*** kylestev_ has joined #openstack-ironic17:10
devanandajust gonna toss this out there17:10
*** kylestev_ has left #openstack-ironic17:10
dtantsurNisha, I mean arguments, you introduce. Sorry. it's evening here and it's my first day after PTO :)17:11
devanandado you think the mission statement over-reaches into CMDB territory? http://git.openstack.org/cgit/openstack/governance/tree/reference/programs.yaml#n14217:11
kylestevwat… how did my second nick join17:11
devanandaif it's perceived that way, I'd like to know, since that wasn't my intent17:11
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: fix  https://review.openstack.org/10681617:11
dtantsurdevananda, it may be treated like this. The problem is in word "manage" which is too vague17:11
jroll^17:11
devanandai see17:11
rloodevananda: who reads the mission statement?17:11
jrollJoshNang: nice commit message :)17:12
devanandarloo: people? I dunno17:12
rloodevananda: this is the first time I'm looking at it ;)17:12
kylestev“fix”17:12
kylestevlol17:12
JoshNangjroll: lol. whoops.17:12
devanandawould s/manage/prepare/ clear it up?17:12
Nishadtantsur: store_inventory() even discovers the properties?17:12
jrolljust s/managing and // (imo)17:12
dtantsurdevananda, s/of managing and provisioning physical machines,/of provisioning physical machines,/17:12
dtantsurjroll, heh :)17:13
rloo+1 for jroll's + dtantsur's suggestion.17:13
devanandaack17:13
dtantsurNisha, it's the final point, which stores everything in the Node (merely database update)17:13
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Adding support for decommissioning  https://review.openstack.org/10437917:13
dtantsurNisha, try to make it clearer: keep everything, except for data model impact (you can just use  store_inventory() defined in my spec)17:14
Nishadtantsur: you said that the discovered properties should not be stored in Node object17:15
dtantsurNisha, that was the outcome of the discussion before my PTO: update only Node.properties, do not store the full inventory17:15
dtantsuri.e. store only what is stored now, nothing new17:15
jrollshould not be stored in *Node.inventory*17:15
* devananda adds that to the agenda17:16
jrollthey are still stored in Node.properties17:16
dtantsurNisha, see my spec for details on what we agreed should be done17:16
Nishadtantsur: Ok. i got that and that was my first proposal too17:16
NishaI just had some common properties more which may be required by other drivers also in future17:17
dtantsurNisha, you can reuse the endpoint (with it's REST API) and store_inventory(). As you see in my spec, the full inventory is passed to a driver and it can do whatever it wants with it17:17
Nishalike Boot type : UEFI or BIOS etc17:17
* NobodyCam is back17:18
Nishadtantsur: which line shall i see17:20
dtantsurNisha, #53 explains storing parameters, #111 - REST API for storing collected parameters, #213 new method in management interface for pluging in17:21
*** hemna_ is now known as hemna17:33
*** krtaylor has joined #openstack-ironic17:40
NobodyCamnice chatch dtantsur with 10224717:43
NobodyCamcatch even17:43
jrollhmmm17:43
jrollI almost think that should check if uuid changed17:44
jrollnot just if it was in values17:44
NobodyCamjroll: oh sure now that it's approved17:46
dtantsurhow can it be changed if it's not in values? oo17:46
jroll:|17:46
jrolldtantsur: I mean17:47
jrolldtantsur: if I do: node.update({'uuid': node.uuid, 'driver': 'agent_ipmitool'}), that should work17:47
jrollbecause it doesn't actually change the uuid17:47
*** pelix has quit IRC17:47
jrollbecause I think that now, if a PATCH request is issued with uuid in it... it will fail17:48
jrollwhich isn't *too* bad17:48
jrollbut gives kind of a crappy user experience17:48
dtantsurjroll, PATCH with uuid will fail for different reason17:48
jrollwill it?17:48
dtantsurchanging /uuid is banned on API level17:48
* jroll looks at code17:48
jrollchanging, yes, but including the current uuid in the PATCH body?17:49
dtantsurlet me see...17:49
jrollI don't think it will fail today17:50
dtantsurjroll, https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/types.py#L13417:50
dtantsurjudging by this line, it will just fail, even if value is duplicated, no?17:50
jrolloh huh17:51
jrollyeah, I think so17:51
jrollI'm not super passionate about this, feel free to tell me to stop talking about it :)17:51
dtantsurI'm always glad to double-check my understanding17:52
jrollright17:52
* jroll tests17:52
*** Penick has joined #openstack-ironic17:53
jrolldtantsur: you're right: {"error_message": "{\"debuginfo\": null, \"faultcode\": \"Client\", \"faultstring\": \"'/uuid' is an internal attribute and can not be updated\"}"}17:56
jrollignore me :)17:57
dtantsur;)17:57
* NobodyCam add jroll to the ignore list18:00
dtantsurLOL18:01
jroll:P18:01
* jroll talks trash about NobodyCam18:01
NobodyCamlol18:01
* Shrews learns new tech word: memristors18:03
Shrewsi only learned the word. i don't know what it actually *is* yet18:03
* Shrews too easily distracted by internal corporate emails18:04
dtantsurshould be quite an interesting thing. in my institute a lot of folks were excited by it18:04
devanandaShrews: those look fun.18:04
matty_dubsI think the important thing with new words is to begin using them immediately, before one is clear on the meaning.18:04
matty_dubsThat party was totally memristors!18:05
Shrewsmatty_dubs: you sure it's not a band?18:05
Shrewsmatty_dubs and the memristors. one night only!18:05
JayFI used to be forgetful, then I started taking my memristors. One in the morning and one before bed, and now I never forget anything!18:05
jrolllol18:06
dtantsurLOL18:06
matty_dubsHaha18:06
matty_dubsThe technology is pretty neat, though!18:07
NobodyCamjust fyi for all: I will need to leave about 1/2 through the meeting :(18:16
dtantsurthat's pity :( I wanted to discuss discovery specs in the end (we actually made a good progress towards sorting overlapping)18:19
NobodyCamdtantsur: please do that. You don't need me for that conversation.18:20
*** shakamunyi has joined #openstack-ironic18:21
Shrewsdevananda: adam_g: fyi, greatly modified ironic rebuild tempest test -- https://review.openstack.org/9443918:21
devanandaooooh18:22
* devananda looks18:22
Shrewsdevananda: adam_g: i plan to add the 'rebuild' compute feature flag as a separate patch. including here and introducing its use properly would add much complexity18:22
Shrewsand i'm trying to get up with mtreinish in -qa to talk about this patch18:23
adam_gShrews, cool18:23
adam_gShrews, my tempest work has been blocked by some other stuff this past week. hope to focus more on it this week18:23
Shrewsdevananda: as we discussed, i just usurped the one basic test18:24
devanandaadam_g: I saw the patch to lower instance RAM to 512 -- good stuff :)18:27
Shrewsooh. yay18:27
adam_gdevananda, yeah. spinning that up now on rax to see how it fares with multiple spawns18:27
devanandahow close do you think we are to being able to experiment with parallel tempest?18:27
adam_gdevananda, we still need to figure out the isolated credentials / neutron networking stuff18:28
devanandaack18:28
devanandaShrews: your patch is adding a spurious blank line in schenario/manager.py18:29
devanandaShrews: silly thing to nit on, but it's there :p18:30
Shrewsdevananda: intentional. i thought a blank line there looked better18:30
devanandaah18:30
Shrewsbut i can remove it if you wish18:30
devanandanope, it's fine18:31
devanandai try to keep formatting/cleanup changes limited to the area of a file i'm changing, that's all18:31
Shrewsack18:31
Shrewsdevananda: to be fair, that are *was* changed in the previous patch sets  :)18:32
devanandaShrews: i figured as much18:32
Shrewss/are/area/18:32
comstuddevananda: InstanceDeployFailure == returning 500 seems kinda crappy18:32
comstuddevananda: even crappier that tear down raises that same exception.. kinda weirdly named for that18:33
comstudMy fix for build + delete races.. where nova lways calls unprovision.. is not quite right, I guess.18:33
comstudif you call tear down for a node in NOSTATE, InstanceDeployFailure is raised, and a 500 is returned18:34
comstudand the client_wrapper in nova retries18:34
devanandaugh18:34
comstud.. because it's a 50018:34
comstudor something.18:34
devanandaso 500 shouldn't be retried18:34
comstudsomehow...18:34
devanandaInstanceDeployFailure *is* an internal server error18:34
comstudthe client is detecting it as a 503, actually18:34
comstudbecause it prins 'Service Unavailable'18:34
devanandaahh18:34
comstudprints18:34
comstudBut18:34
comstudfrom what I can tell in ironic... it should be a 50018:34
comstudso I dunno what's going on there.18:35
devanandaso NodeLocked is 409 CONFLICT18:35
comstudyeah, in this case, the node is not locked.18:35
devanandaand requesting to unprovision something with no provision state should also be 40918:35
devanandaas that's a client side errror18:35
comstudthis is a slightly different case.18:35
devanandarequesting a state transition that's impossible18:35
devanandaoh?18:35
comstudSay nova is somehow just... out of sync.18:35
comstudI dunno, this is a really bad case no matter what... heh but18:36
comstudSay you have a node that is not provisioned18:36
comstudand you try to unprovision it18:36
comstudYou get InstanceDeployFailure18:36
Shrewsquick walk before the meeting. brb18:37
comstudit'd be kinda nice if it raised something more like 'YeahItsAlreadyToreDownDufus'18:37
comstudI dunno, I have multiple problems with this stuff.18:38
comstud1) Tear down raising an exception labeled "InstanceDeployFailure"18:38
comstudwhen it's not a deploy failure.18:38
comstud2) InstanceDeployFailure returning a 5xx code. It should probably be a 400 or something.18:38
comstud3) Trying to tear down something already torn down... Some way to know that it's already done would be nice.. so that callers can just 'pass' on that.18:40
*** Nisha has quit IRC18:40
comstud..18:40
devanandaright, so differentiating between "this deploy failed because of user error" and "this deploy failed because the hardware malfunctioned"18:41
devananda*this deploy request ...18:41
comstudhandling tear down has nothing to do with the initial deploy18:41
comstudi'm trying to un-deploy.18:41
comstud:)18:41
devananda*the request to the deploy driver failed because ...18:42
devananda:)18:42
comstudhaha oaky.18:42
comstudthat's fair.18:42
comstudalthough in this case..18:42
comstudInstanceDeployFailure is raised right from conductor manager18:42
devanandathese errors are either generated within the deply driver or by the ConductorManager wrapping it18:42
comstudchecking states.18:42
devanandaright18:42
comstudeven before calling driver18:42
devanandaso that's silly18:42
devanandaprobably my fault18:42
comstud(let me verify i'm not on crack)18:43
comstudbut this is what i recall from last week18:43
* jroll verifies comstud is likely on crack18:43
comstudhttps://github.com/openstack/ironic/blob/master/ironic/conductor/manager.py#L44718:43
devanandayah. that's an easy fix18:44
comstudi'm trying to fix up https://review.openstack.org/#/c/104649/18:44
comstudbut I'm wondering how far I go there.18:44
devanandacomstud: https://github.com/openstack/ironic/blob/master/ironic/conductor/manager.py#L38718:45
devanandahttps://github.com/openstack/ironic/blob/master/ironic/conductor/manager.py#L37018:45
devanandahttps://github.com/openstack/ironic/blob/master/ironic/conductor/manager.py#L20818:46
comstud370 seems reasonable18:46
comstuderr18:46
comstud387 seems reasonable18:46
devanandano .it's the same thing18:46
*** Nisha has joined #openstack-ironic18:46
comstudi know, i can't read numbers.18:46
comstudhehe18:46
devanandaalso, 387 is still a user error18:47
devanandait's 409 CONFLICT18:47
devanandaresoruce in wrong state, can't perform requested action18:47
devananda*it should be18:47
comstudwell, i suppose... I guess i was looking that the deploy driver raised18:47
comstudi guess an InvalidParameterValue would be a user error18:47
devanandawhich is allowed to propagate back to the user in other areas18:47
devanandai dunno why it's converted to a server-side error on 387 :(18:48
devanandaditto on 45818:48
comstudbut also: i don't think 500 is any sort of reason http code though for any exceptions we are purposely generating and returning.18:48
comstud"Internal Server Error"18:48
comstudThat generally means you like... your code is really fucked up.18:49
comstudor you like ran out of memory or some stupidness.18:49
comstud:)18:49
devanandacomstud: except none of the other 5XX codes make sense either18:49
comstud400 would make sense for these18:49
devanandano18:49
devananda400 means the syntax of the request itself was bad (malformed)18:50
devanandadont repeat it ever18:50
* devananda steps afk for a few min before meeting18:50
comstudhrm, yeah.18:50
comstudok.18:50
*** rwsu has joined #openstack-ironic18:51
*** Nisha has quit IRC18:55
NobodyCamone minutes18:59
*** mrda-away is now known as mrda18:59
mrdaMorning Ironic18:59
NobodyCammorning mrda18:59
jrollheya mrda18:59
mrda\o18:59
dtantsurmrda, morning :)18:59
* NobodyCam heads over to meeting room19:00
devanandamorning, mrda !19:00
gilliardThe creation of flavours would need to be based on the different node types specified in that file, and flavours would be matched to nodes using nova scheduler's ComputeCapbilitiesFilter.19:01
gilliardumm, wrong room, sorry.19:01
*** mitz_ has quit IRC19:06
jrollmrda: fwiw, we have a patch coming soon to fix virt driver performance in a different way19:14
mrdahopefully not requiring too great a rebase if you get there first :P19:16
jrollnah19:16
jrollwe put in a hack to hit /nodes/details, so you don't have to hit the api for each node in a loop19:16
jrollgoing to make that better and submit it19:17
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic-specs: Add support for retry on NodeLocked exceptions  https://review.openstack.org/10399619:21
*** dwalleck has joined #openstack-ironic19:32
dtantsurjroll, remind please, what we decided re coordination of your spec with discovery spec?19:40
jrollum19:40
jrolldid we decide anything?19:40
jrolland do you mean, as far as the lookup stuff?19:40
dtantsurI don't remember :)19:41
jrollha, ko19:41
jrollwell19:41
dtantsurthat's why I'm asking19:41
jroll(s/ko/ok/)19:41
jrollgoal is to land this during the mid cycle19:41
jrollso we need to kick the spec through19:41
jrollidk if there should be any dependencies between the two...19:41
dtantsurjroll, does it work for you, if we land your spec first, than do any fixes in code, if my spec will require it?19:42
jroll+119:42
dtantsurgood!19:42
jrollI think that's all it will be, is instead of vendor_passthru/lookup, we will hit your new endpoint19:42
jrollprobably19:42
jrollwhich makes me appreciate your extra key in the response19:43
jrollalthough now that I think about it19:43
jrollis that what the driver returns?19:43
jrolldtantsur: ^19:43
dtantsurjroll, I made it specially for you :) driver both accept extra and return it19:43
jrollright, so19:44
jrollthat makes it async, I think19:44
jrolland your spec explicitly says that it should not be19:44
jrollIMBW19:44
dtantsurI don't really care, I'm just avoiding putting there special provisioning for async case19:44
jrollI guess you can call to drivers synchronously... we do it in driver_vendor_passthru19:45
jrollwhich is... odd19:45
jrollbut ok19:45
jrollsounds good :)19:45
dtantsuranyway everything will be async somewhere in K :)19:45
jrollright19:45
*** tatyana has joined #openstack-ironic19:49
*** Penick has quit IRC19:59
mrda:)20:03
dtantsurfolks, please have a look at discovery spec in question: https://review.openstack.org/#/c/102565/ :) Do not forget to read intro about what this spec covers and what deliberately not. Thanks :)20:06
* dtantsur can be annoying ^_^20:06
dtantsurand now I'm slowly moving to bed, good night everyone20:06
lucasagomesdtantsur, night20:07
lucasagomesI'm leaving as well, g'night everyone!20:08
*** lucasagomes is now known as lucas-dinner20:08
Shrewsnight lucas-dinner, dtantsur20:08
*** dtantsur is now known as dtantsur|afk20:08
*** athomas has quit IRC20:18
*** Penick has joined #openstack-ironic20:19
*** tatyana has quit IRC20:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Make ComputeCapabilitiesFilter work with Ironic  https://review.openstack.org/10580220:30
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Add versioning to Agent decommission  https://review.openstack.org/10685920:32
*** Hefeweizen has quit IRC20:35
devanandajroll: there are two of you in gerrit20:35
jrolluh oh20:36
rlooso that's how jroll gets twice the work done.20:36
jrolldevananda: username I always use is jimrollenhagen20:36
devanandaheh20:36
devanandajroll: they both appear with the same name and email address, which is all the web UI lets me see20:36
jrollfun20:37
devanandajroll: right. so selecting either one gives me an error now, when trying to add you20:38
devanandajroll: which is great, since it clearly shows you in the ipa-core group already20:38
jrollsweet20:38
devanandajroll: can you poke folks in infra to try to clean it up? I need to get lunch... if not, i'll try when i get back20:39
jrolldevananda: sure, where are you seeing this?20:40
devanandajroll: attempting to add you on https://review.openstack.org/#/admin/groups/165,members20:40
JayFjroll: maybe you should get your clone destroyed by -infra?20:40
jrollprobably20:41
jrollI tried to fix my launchpad ID once20:41
* devananda lunches, bbiab20:41
jrollwhich is probably where this comes from20:41
*** Mikhail_D_ltp has quit IRC20:48
*** jgrimm has quit IRC20:52
*** martyntaylor has quit IRC20:55
*** dwalleck has quit IRC20:56
* NobodyCam is back but need to tend to some things.. so will around but think of /me as afk...20:57
jrollNobodyCam: that's when you pretend you're afk rather than telling people you're not really afk20:57
jroll:P20:57
*** matty_dubs is now known as matty_dubs|gone21:00
*** dwalleck_ has joined #openstack-ironic21:01
*** harlowja is now known as harlowja_away21:02
*** dwalleck has joined #openstack-ironic21:02
*** harlowja_away is now known as harlowja21:03
NobodyCamjroll: LOL :-p I am here just heavly distracted atm.21:05
jroll:P21:05
*** dwalleck_ has quit IRC21:05
*** jdob has quit IRC21:06
*** jbjohnso has quit IRC21:07
devanandajroll: any luck fixing that?21:09
jrolldevananda: no response21:09
jrollI wonder if I can kill one account21:09
jrollor something21:09
devanandajroll: it's probably coming from LP, yea21:09
jrollwheeeee, don't have password for the other account... forgot password doesn't land in my inbox immediately21:11
jrollyay.21:11
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Add versioning to Agent decommission  https://review.openstack.org/10685921:22
NobodyCamdevananda: style type question.21:26
NobodyCamline 215 of https://review.openstack.org/#/c/105802/12/ironic/nova/virt/ironic/driver.py is a log.warn for malformed key:value pair. what are thoughts on adding the word "skipping"? or is that implyed in a warning message?21:28
jroll"Explicit is better than implicit."21:31
*** openstackgerrit has quit IRC21:31
NobodyCamalso we may want a %r vs the current %s21:32
*** openstackgerrit has joined #openstack-ironic21:32
jrollNobodyCam: why? it's just a string...21:33
devanandaNobodyCam: why? it's a string21:33
devanandaheh21:33
jrolllol21:33
NobodyCamas it already failed one check it may be something totaly unexpected21:34
devanandano21:34
NobodyCamlike an int21:34
devanandait is the result of splitting a string21:34
jrollI guess deva thinks more highly of strings than I do21:34
jrollNobodyCam: capabilities = str(node.properties.get('capabilities'))21:34
jrollit will be a string :)21:34
NobodyCamdoh21:34
*** killer_prince has quit IRC21:34
devanandafor capability in capabilities.split(","):21:34
NobodyCamyes it will21:34
jrollthat too21:34
devanandaso it is the result of a string manipulation op (split(",")) on a object that was cast to a string21:34
devanandawhat's the worst case here21:35
devanandacapabilities = str(node.properties.get('capabilities')) could fail21:35
jrollempty string might show up as "Malformed capability ." blabla21:35
devanandabut it would still cast as an empty string21:35
devanandajroll: right21:35
jrollalso, str(None) casts to 'None'21:36
jrollif .get() fails21:36
jrollI'd kind of prefer quotes around the %s21:36
devanandawhich will yield Malformed capability 'None'. Sould be 'key:val'21:36
devanandayep21:36
devanandathat's missing21:36
devanandaas is a closing .21:36
jrollyep21:37
NobodyCamgrrrr my phone keeps downloading the HP org chart..lol and I have no idea as to why :-p21:37
*** shakamunyi has quit IRC21:40
*** killer_prince has joined #openstack-ironic21:41
*** killer_prince is now known as lazy_prince21:41
devanandaoh, heh21:41
devanandathis logs a lot of warnings right now21:41
devanandahttp://logs.openstack.org/02/105802/12/check/check-tempest-dsvm-virtual-ironic/8bd5491/logs/screen-n-cpu.txt.gz?level=WARNING21:41
devanandabecause nothing is passing out a capability by default21:41
devanandaShrews: also, sme to you -- welcome to ironic core21:43
devanandait's all official and stuff now21:43
devanandafor you and jroll21:43
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Make ComputeCapabilitiesFilter work with Ironic  https://review.openstack.org/10580221:49
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Make ComputeCapabilitiesFilter work with Ironic  https://review.openstack.org/10580221:49
NobodyCamcongtatz jroll Shrews21:50
jrolldanke21:57
*** Penick has quit IRC21:57
Shrewsdevananda: NobodyCam: thx!22:00
NobodyCam:)22:00
*** dwalleck has quit IRC22:01
Shrewsnow jroll and I have something to do to fill all the free time we have22:01
Shrews:)22:01
*** Penick has joined #openstack-ironic22:01
jrolllol wat is free time22:01
Shrewsjust something i heard thrown around somewhere. not sure22:02
jroll:)22:03
*** dwalleck has joined #openstack-ironic22:07
NobodyCamdevananda: Nice, 105802 will get a +2 from me as soon as Mr J is done with it. :)22:11
*** romcheg_ltp has quit IRC22:17
NobodyCambrb22:18
*** lazy_prince has quit IRC22:19
*** romcheg1 has joined #openstack-ironic22:19
*** Shrews has quit IRC22:20
*** Shrews has joined #openstack-ironic22:21
*** killer_prince has joined #openstack-ironic22:23
*** killer_prince is now known as lazy_prince22:24
*** radsy has joined #openstack-ironic22:30
*** radsy has joined #openstack-ironic22:30
*** romcheg1 has quit IRC22:32
NobodyCamdevananda: +2'd (only the first one) is it ok to land, I ask based on its location, or should I advise others to just +/- it with out +a'ing it?22:33
devanandaNobodyCam: my CCF patch? yea, OK to land22:37
devanandai have a big chunk of merge squashing to do anyway :(22:37
NobodyCam:(22:37
NobodyCamjroll: Shrews: need a first review as core member? -> https://review.openstack.org/#/c/10580222:38
NobodyCamshould test out that new +a power22:39
NobodyCamlol22:39
devanandajroll: pls see my comment on https://review.openstack.org/#/c/105590/22:42
jrolldevananda: it's more of a weird thing on ironic side, I've seen this before22:43
jrollttp://127.0.0.1:6385/v1/v1/nodes/?associated=True22:43
jroller, http://127.0.0.1:6385/v1/v1/nodes/?associated=True22:44
devanandaright, that /v1/v1/ is bad22:44
jrollyeah22:44
jrollis something setting IRONIC_URL=http://127.0.0.1:6385/v1 ?22:44
jrollbecause that should be http://127.0.0.1:638522:44
jrollah ha22:45
jrollDEBUG nova.openstack.common.service [-] ironic.api_endpoint            = http://127.0.0.1:6385/v122:45
devanandaah22:45
jrollnot sure where that comes from... but seems like a devstack (or something)bug22:45
devanandalib/nova_plugins/hypervisor-ironic:    iniset $NOVA_CONF ironic api_endpoint http://$SERVICE_HOST:6385/v122:51
NobodyCamyep dib seems correctly set: https://github.com/openstack/tripleo-incubator/blob/master/scripts/setup-endpoints#L16022:53
NobodyCams/dib/devtest/22:54
devanandaadam_g: i'm cancelling one of your meetup tickets (you have two)22:54
adam_gdevananda, ah sorry, too many email addresses :)22:54
devanandaadam_g: oh wait. you have three, lol22:54
adam_gjeeez22:54
adam_gsorry :)22:54
devanandaadam_g: which address do you want to keep?22:55
adam_gdevananda, @gmail.com is fine22:55
* NobodyCam thinks adam_g has sign up bot running22:55
devanandak22:55
devanandacomstud: ditto - you have two.22:56
devanandarussell_h: ditto22:57
adam_gi call dibs on the extra cookies22:57
NobodyCamahh /me was too slow22:58
NobodyCambrb22:58
* NobodyCam thinks it would be cool for the nova to be able to boot nodes from a specific chassis, "nova boot --flavor blah --image blah_blah --from-chassis <ironic.chassis.uuid>" but also thinks devananda would murder him for speaking such things ATM.23:09
*** dwalleck has quit IRC23:14
JayFnova does have scheduler hints23:15
JayFwhich we used liberally early in our deployment to test things23:16
JayFI think comstud even wrote one that could target a specific ironic chassis uuid?23:16
jrollnode uuid23:17
jrollbut yeah23:18
jrollsame idea, if nova knew about chassis :)23:18
NobodyCamahh, I was thinking chassis for grouping nodes23:18
jrollyeah23:18
jrollI like that idea too :)23:18
NobodyCamshhh23:18
NobodyCam:-p23:18
NobodyCamdeva will hear us23:19
jrollheh23:19
NobodyCamrloo: was looking over 91585, I agree with bug 1339731, just have to watch out for people switching sort order and invalidating the "next" marker23:23
NobodyCams/order/key/23:23
*** lucas-dinner has quit IRC23:30
NobodyCamjust a question to all, not saying we should, but: I can work down from a given chassis uuid to a port finding node along the way, what we seem unable to do is work that in reverse. ie find a the chassis for a given port or even node given only the port.. would be nice to have port.ListNode and node.ListChassis calls23:36
jrollwe can find node by port...23:36
jrollalthough idk if there's a function for it23:37
* jroll looks23:37
jrollNobodyCam: you're right23:38
jroll:)23:38
NobodyCam:)23:38
jrollsee line 543 or so https://review.openstack.org/#/c/101020/9/ironic/drivers/modules/agent.py23:38
NobodyCamya your doing all manually23:39
NobodyCam:-p23:39
jrollright23:39
NobodyCamports should know their nodes and nodes should know their chassis23:40
mrdaif it's being done manually internally, there's an argument that it might make sense to expose that23:50
*** nosnos has joined #openstack-ironic23:50

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