*** lexx has quit IRC | 00:33 | |
NobodyCam | gah that was a lot longer then I had expected | 00:38 |
---|---|---|
*** hemna_ is now known as hemnafk | 00:47 | |
*** anniec has quit IRC | 01:01 | |
*** jcooley_ has quit IRC | 01:12 | |
NobodyCam | ok updated the dib walkthru to set the compute driver. | 01:14 |
*** anniec has joined #openstack-ironic | 01:15 | |
*** jcooley_ has joined #openstack-ironic | 01:33 | |
*** nosnos has joined #openstack-ironic | 01:35 | |
devananda | :) | 01:35 |
* devananda sends emails to ML, then signs off for the evening | 01:36 | |
NobodyCam | night devananda | 01:44 |
*** kui has joined #openstack-ironic | 01:49 | |
Haomeng | good morning/evening Ironic:) | 01:50 |
NobodyCam | good mornig Haomeng | 01:50 |
Haomeng | NobodyCam: :) | 01:50 |
NobodyCam | :) | 01:50 |
Haomeng | NobodyCam: I guess, now is your afternoon? | 01:51 |
NobodyCam | night time here just about 6 pm | 01:51 |
Haomeng | NobodyCam: :) | 01:51 |
*** rongze has joined #openstack-ironic | 01:52 | |
Haomeng | NobodyCam: it is time for your Dinner:) | 01:52 |
Haomeng | NobodyCam: enjoy your Dinner:) | 01:52 |
NobodyCam | just about .. its in the oven | 01:52 |
Haomeng | NobodyCam: ) | 01:53 |
NobodyCam | :) | 01:53 |
Haomeng | NobodyCam: Beef and Bread?:) | 01:54 |
Haomeng | NobodyCam: Delicious:) | 01:54 |
NobodyCam | pork chops :) | 01:54 |
Haomeng | NobodyCam: :) | 01:54 |
openstackgerrit | A change was merged to openstack/ironic: Add JsonPatchType class https://review.openstack.org/60194 | 02:14 |
*** arata has joined #openstack-ironic | 02:19 | |
openstackgerrit | A change was merged to openstack/ironic: Rework patch validation on Ports https://review.openstack.org/56984 | 02:22 |
openstackgerrit | A change was merged to openstack/ironic: Clean up duplicated change-building code in objects https://review.openstack.org/61143 | 02:22 |
*** anniec has quit IRC | 02:22 | |
openstackgerrit | A change was merged to openstack/ironic: Set the provision_state to DEPLOYFAIL https://review.openstack.org/60024 | 02:24 |
*** jcooley_ has quit IRC | 02:24 | |
*** rongze has quit IRC | 02:28 | |
*** rongze has joined #openstack-ironic | 02:29 | |
*** vkozhukalov has joined #openstack-ironic | 02:38 | |
*** viktors has quit IRC | 03:12 | |
*** viktors has joined #openstack-ironic | 03:13 | |
*** rloo has quit IRC | 03:18 | |
*** Haomeng has quit IRC | 03:20 | |
*** Haomeng has joined #openstack-ironic | 03:20 | |
*** jcooley_ has joined #openstack-ironic | 03:20 | |
*** jcooley_ has quit IRC | 03:26 | |
*** rongze_ has joined #openstack-ironic | 03:33 | |
*** rongze has quit IRC | 03:36 | |
*** anniec has joined #openstack-ironic | 03:37 | |
*** anniec has quit IRC | 03:42 | |
*** anniec has joined #openstack-ironic | 04:37 | |
*** anniec_ has joined #openstack-ironic | 04:41 | |
*** anniec has quit IRC | 04:41 | |
*** anniec_ is now known as anniec | 04:41 | |
*** anniec has quit IRC | 04:50 | |
*** rongze_ has quit IRC | 04:52 | |
*** rongze has joined #openstack-ironic | 05:22 | |
*** rongze has quit IRC | 05:27 | |
*** prekarat has joined #openstack-ironic | 05:28 | |
*** vetalll has joined #openstack-ironic | 05:45 | |
openstackgerrit | Jenkins proposed a change to openstack/ironic: Imported Translations from Transifex https://review.openstack.org/59627 | 06:00 |
*** jcooley_ has joined #openstack-ironic | 06:06 | |
*** rongze has joined #openstack-ironic | 06:20 | |
*** jcooley_ has quit IRC | 06:30 | |
*** jcooley_ has joined #openstack-ironic | 06:30 | |
openstackgerrit | Haomeng,Wang proposed a change to openstack/ironic: Command call should log the stdout and stderr https://review.openstack.org/61664 | 06:30 |
*** jcooley_ has quit IRC | 06:31 | |
*** jcooley_ has joined #openstack-ironic | 06:31 | |
*** lifeless has quit IRC | 06:48 | |
*** vkozhukalov has quit IRC | 06:51 | |
*** vetalll has quit IRC | 06:58 | |
*** lifeless has joined #openstack-ironic | 07:15 | |
*** jcooley_ has quit IRC | 07:18 | |
*** jcooley_ has joined #openstack-ironic | 07:22 | |
*** urulama has joined #openstack-ironic | 07:42 | |
*** jcooley_ has quit IRC | 07:46 | |
*** jcooley_ has joined #openstack-ironic | 07:50 | |
*** ifarkas has joined #openstack-ironic | 07:56 | |
*** jcooley_ has quit IRC | 07:58 | |
*** rongze has quit IRC | 08:02 | |
*** rongze has joined #openstack-ironic | 08:06 | |
*** lexx has joined #openstack-ironic | 08:08 | |
*** rongze has quit IRC | 08:11 | |
*** lexx has quit IRC | 08:24 | |
*** vkozhukalov has joined #openstack-ironic | 08:28 | |
*** prekarat has quit IRC | 08:35 | |
*** ifarkas has quit IRC | 08:46 | |
*** r-mibu has quit IRC | 08:48 | |
*** ifarkas has joined #openstack-ironic | 08:50 | |
openstackgerrit | Haomeng,Wang proposed a change to openstack/ironic: Command call should log the stdout and stderr https://review.openstack.org/61664 | 08:55 |
*** jistr has joined #openstack-ironic | 09:03 | |
*** derekh has joined #openstack-ironic | 09:05 | |
*** ekarlso has quit IRC | 09:17 | |
*** ekarlso has joined #openstack-ironic | 09:17 | |
*** lucasagomes has joined #openstack-ironic | 09:28 | |
openstackgerrit | A change was merged to openstack/ironic: Change default API auth to keystone-based https://review.openstack.org/61568 | 09:42 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Handle DBDuplicateEntry on Ports with same address https://review.openstack.org/59955 | 09:46 |
*** kui has quit IRC | 09:47 | |
*** max_lobur_afk is now known as max_lobur | 10:00 | |
*** martyntaylor has joined #openstack-ironic | 10:09 | |
*** romcheg has joined #openstack-ironic | 10:12 | |
*** nosnos_ has joined #openstack-ironic | 10:15 | |
*** nosnos_ has quit IRC | 10:16 | |
*** nosnos_ has joined #openstack-ironic | 10:16 | |
*** ndipanov has joined #openstack-ironic | 10:17 | |
*** nosnos has quit IRC | 10:17 | |
*** ndipanov has quit IRC | 10:18 | |
*** ndipanov has joined #openstack-ironic | 10:19 | |
*** nosnos_ has quit IRC | 10:20 | |
*** ndipanov has quit IRC | 10:20 | |
openstackgerrit | Haomeng,Wang proposed a change to openstack/ironic: Command call should log the stdout and stderr https://review.openstack.org/61664 | 10:38 |
*** rongze has joined #openstack-ironic | 10:41 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: API: Validate and normalize address https://review.openstack.org/60890 | 10:43 |
*** rongze has quit IRC | 10:46 | |
*** ndipanov has joined #openstack-ironic | 11:26 | |
*** anniec has joined #openstack-ironic | 11:33 | |
*** anniec_ has joined #openstack-ironic | 11:37 | |
*** anniec has quit IRC | 11:37 | |
*** anniec_ is now known as anniec | 11:37 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Convert trycmd() to oslo's processutils https://review.openstack.org/61709 | 11:46 |
*** kui has joined #openstack-ironic | 11:47 | |
Haomeng | good morning/evening Ironic:) | 11:54 |
*** homegrown has left #openstack-ironic | 11:57 | |
*** kushi_ has joined #openstack-ironic | 12:12 | |
*** arata has left #openstack-ironic | 12:21 | |
kushi_ | I encounter an error while setup devtest env: https://bugs.launchpad.net/tripleo/+bug/1260292 | 12:23 |
kushi_ | I paste it on #tripleo too, any suggestion ? | 12:24 |
Haomeng | kushi_: welcome | 12:25 |
kushi_ | Haomeng: Good evening ! | 12:25 |
Haomeng | kushi_: for such "error: cannot create file '/var/lib/libvirt/network/brbm.xml.new': Permission denied" persission issue, I suggest you work around to set it first | 12:25 |
Haomeng | kushi_: looks like current user has no permision to create file | 12:26 |
Haomeng | kushi_: what user you used? stack or root? | 12:26 |
Haomeng | kushi_: check /var/lib/libvirt/network folder permisions | 12:26 |
kushi_ | I use common user to run devtest.sh, the setup-network will raise this error. | 12:26 |
*** ndipanov has quit IRC | 12:27 | |
kushi_ | change the dir permission is a workaround, but this issue should be fixed. | 12:27 |
Haomeng | kushi_: yes | 12:30 |
Haomeng | kushi_: should be devtest.sh issue I think | 12:30 |
Haomeng | kushi_: you can raise defect to track such issue | 12:31 |
Haomeng | kushi_: in tripleo launchpad | 12:31 |
kushi_ | yes, I have filed one: https://bugs.launchpad.net/tripleo/+bug/1260292 | 12:32 |
Haomeng | kushi_: cool | 12:35 |
Haomeng | kushi_: and you can try to fix I suggest:) | 12:35 |
kushi_ | Haomeng: It is a pity that Ubuntu 12.04 is not supported well. I will change to Ubuntu 13.04 | 12:36 |
Haomeng | kushi_: ok | 12:37 |
Haomeng | kushi_: :) | 12:37 |
*** rongze has joined #openstack-ironic | 12:37 | |
*** rongze has quit IRC | 12:41 | |
openstackgerrit | Yuriy Zveryanskyy proposed a change to openstack/ironic: Check connectivity in SSH driver 'validate' method https://review.openstack.org/60876 | 12:42 |
*** prekarat has joined #openstack-ironic | 12:56 | |
*** urulama has quit IRC | 13:07 | |
*** ndipanov has joined #openstack-ironic | 13:09 | |
*** rongze has joined #openstack-ironic | 13:12 | |
*** kushi_ has quit IRC | 13:12 | |
*** kui has quit IRC | 13:17 | |
*** arata has joined #openstack-ironic | 13:24 | |
*** arata has left #openstack-ironic | 13:25 | |
*** ndipanov has quit IRC | 13:30 | |
*** ndipanov has joined #openstack-ironic | 13:30 | |
*** linggao has joined #openstack-ironic | 13:31 | |
*** jdob has joined #openstack-ironic | 13:40 | |
*** prekarat has quit IRC | 13:41 | |
*** prekarat has joined #openstack-ironic | 13:41 | |
*** romcheg1 has joined #openstack-ironic | 13:56 | |
*** rloo has joined #openstack-ironic | 13:56 | |
*** romcheg has quit IRC | 14:00 | |
*** rongze_ has joined #openstack-ironic | 14:01 | |
*** blamar has quit IRC | 14:01 | |
*** rongze has quit IRC | 14:04 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: API: Add sample() method on Port and PortCollection https://review.openstack.org/61752 | 14:18 |
rloo | hi lucasagomes. | 14:19 |
lucasagomes | rloo, hey ya :) morning | 14:19 |
rloo | :-) | 14:19 |
lucasagomes | rloo, how r u? | 14:19 |
rloo | lucasagomes, things are good here! | 14:20 |
*** rongze has joined #openstack-ironic | 14:20 | |
rloo | lucasagomes, i just saw the bug you filed. which reminded me. i was thinking i'd like to understand the api part a bit more. | 14:20 |
rloo | lucasagomes. client -> library parts. | 14:21 |
rloo | lucasagomes - off the top of your head, is there anything you'd like me to look into? bug or whatever? | 14:21 |
lucasagomes | rloo, hehe I opened that and made that ^ review as a sample, it's a good work for someone who's just starting in Ironic to get some patches in | 14:23 |
*** rongze_ has quit IRC | 14:24 | |
rloo | lucasagomes: just looked at it and it is assigned to matt wagner. | 14:26 |
lucasagomes | rloo, yea he's just starting in ironic so I assigned it to him... lemme think if there's something else | 14:26 |
lucasagomes | rloo, I think there's a bug on the limit variable of the pagination | 14:26 |
lucasagomes | rloo, https://bugs.launchpad.net/ironic/+bug/1250804 | 14:27 |
lucasagomes | see if something you'd feel like fixing | 14:27 |
rloo | ah, ok, i'll take a look at it. thx. | 14:27 |
rloo | lucasagomes. sorry, another question. the importance is 'undecided'. does it matter or does someone decide/change it? | 14:29 |
lucasagomes | rloo, you can change that. actually there's a guide to help decided what's the importance | 14:30 |
lucasagomes | lemme try to find the link | 14:30 |
lucasagomes | rloo, https://wiki.openstack.org/wiki/BugTriage | 14:31 |
rloo | lucasagomes. seems like there is a guide to almost everything :-) is there a top-level page where you search for such links? some openstack page? | 14:31 |
lucasagomes | rloo, not that I know, if you find it please lemme know :D... These links I found at random places or someone pointed me to them and I just bookmarked it | 14:32 |
rloo | thx, lucasagomes. I see that there's a search box at wiki.openstack.org, so I might try to search from there the next time. So I don't bother you all too much :-) | 14:33 |
*** jdob has quit IRC | 14:34 | |
*** jdob has joined #openstack-ironic | 14:34 | |
lucasagomes | rloo, it's grand :) yea the search box actually works alright | 14:35 |
rloo | lucasagomes: now I'm tempted to go through all the new bugs and try to confirm them, but I won't :-) | 14:36 |
*** arata has joined #openstack-ironic | 14:36 | |
lucasagomes | rloo, :P heh, that's actually needed | 14:36 |
* lucasagomes should look at the bugs more often | 14:36 | |
rloo | lucasagomes: I'll keep it in mind for the future ;) | 14:37 |
lucasagomes | :) thanks | 14:38 |
rloo | lucasagomes: there are only 4 with status 'new', and I'm going to change one of them soon, so that leaves 3 :-) | 14:39 |
lucasagomes | rloo, hah! magic :D | 14:39 |
*** rongze_ has joined #openstack-ironic | 14:43 | |
*** rongze has quit IRC | 14:44 | |
*** blamar has joined #openstack-ironic | 14:45 | |
*** prekarat has quit IRC | 14:49 | |
*** rloo has quit IRC | 14:57 | |
*** martyntaylor1 has joined #openstack-ironic | 14:57 | |
*** rloo has joined #openstack-ironic | 14:57 | |
*** jistr has quit IRC | 14:58 | |
*** martyntaylor has quit IRC | 14:59 | |
*** arata has left #openstack-ironic | 14:59 | |
*** jistr has joined #openstack-ironic | 15:02 | |
*** jcooley_ has joined #openstack-ironic | 15:05 | |
*** matty_dubs|gone is now known as matty_dubs | 15:08 | |
*** mdurnosvistov has joined #openstack-ironic | 15:14 | |
NobodyCam | good morning iRonic | 15:27 |
max_lobur | morning NobodyCam , Ironic :) | 15:31 |
NobodyCam | morning max_lobur :) | 15:31 |
openstackgerrit | Alexandra Fomina proposed a change to openstack/python-ironicclient: Reuse Oslo exceptions functionality https://review.openstack.org/61771 | 15:31 |
NobodyCam | lucasagomes: looks like 59955 was approved then you uploaded another patch | 15:33 |
lucasagomes | NobodyCam, I had to rebase it | 15:34 |
NobodyCam | ahh | 15:34 |
NobodyCam | will +a it again | 15:34 |
lucasagomes | NobodyCam, cheers :) | 15:34 |
lucasagomes | NobodyCam, and good morning, how r u? | 15:34 |
NobodyCam | :) doing good so far.. not as cold today and I already have my coffee :) | 15:35 |
lucasagomes | NobodyCam, nice! yea man, here as well it's pretty warm today (judging by the winter standard) | 15:36 |
lucasagomes | it's like 15C, very warm | 15:36 |
NobodyCam | :) it was down to like 32 F here last night... Thats too cold for /me | 15:38 |
NobodyCam | lucasagomes: question on: https://review.openstack.org/#/c/61664/3 | 15:38 |
lucasagomes | yup | 15:38 |
NobodyCam | you +2'd it | 15:38 |
lucasagomes | yea | 15:39 |
openstackgerrit | Mikhail Durnosvistov proposed a change to openstack/ironic: Rid of specific `dict` methods in object model https://review.openstack.org/61776 | 15:39 |
openstackgerrit | Mikhail Durnosvistov proposed a change to openstack/ironic: Rid of specific `dict` methods in object model https://review.openstack.org/60025 | 15:39 |
NobodyCam | I'm not sure _("blah : %s" st[in|out|err] is correct | 15:39 |
NobodyCam | do we translate the entire error message | 15:40 |
NobodyCam | or just the "blah" bits | 15:40 |
lucasagomes | NobodyCam, just the blah bits | 15:41 |
lucasagomes | e.g | 15:41 |
lucasagomes | LOG.debug(_('Command line is "%s"'), ' '.join(cmd)) | 15:41 |
lucasagomes | only 'Command line is "%s"' will be translated | 15:41 |
lucasagomes | the commands/outputs are dynamic | 15:42 |
NobodyCam | ok | 15:43 |
lucasagomes | NobodyCam, btw quick q as u'r using/tesing the ironic nova driver | 15:47 |
lucasagomes | NobodyCam, when registering nodes you do it directly on the ironic api right? nova won't mediated that right? | 15:48 |
NobodyCam | lucasagomes: correct | 15:50 |
lucasagomes | NobodyCam, thanks | 15:50 |
*** vkozhukalov has quit IRC | 15:51 | |
openstackgerrit | A change was merged to openstack/ironic: Handle DBDuplicateEntry on Ports with same address https://review.openstack.org/59955 | 15:55 |
NobodyCam | brb quick morning walkies | 15:57 |
NobodyCam | mikal: are https://review.openstack.org/#/c/60025/ and https://review.openstack.org/#/c/61776/ both the same | 16:02 |
devananda | g'morning, all | 16:04 |
NobodyCam | good morning devananda :) | 16:05 |
devananda | rloo, lucasagomes: unfortunately I don't know of any top-level wiki index page either. site search and google search are helpful | 16:09 |
devananda | rloo: as far as bugs, did you see my email yesterday? | 16:10 |
rloo | devananda: thx, I'm going to try site search. | 16:10 |
devananda | actually, ^ is a general question for everyone .... | 16:10 |
rloo | devananda: email to ? | 16:10 |
devananda | as a project, we hven't used the openstack-dev ML nearly enough | 16:10 |
devananda | let's change that :) | 16:10 |
rloo | devananda: so I guess the answer is no. | 16:10 |
devananda | hehehe | 16:10 |
rloo | devananda. oh, not the dreaded openstack-dev ML! | 16:11 |
devananda | muahahaha! yes! you must all start reading the dreaded dev list! Hahahahah! | 16:11 |
rloo | devananda: i'm only 756 emails behind :-( | 16:11 |
devananda | rloo: filters! | 16:11 |
rloo | devananda: ok, i'll add a filter for ironic then :-) | 16:11 |
NobodyCam | lucasagomes: such real looking samples in 61752... | 16:12 |
lucasagomes | devananda, I did, I'm taking a look at some bugs today | 16:12 |
lucasagomes | NobodyCam, yea :D | 16:13 |
devananda | lucasagomes: awesome, thanks! | 16:13 |
linggao | Morning all. | 16:13 |
lucasagomes | NobodyCam, so I created that review more as a sample for the bug it's partially fixing | 16:13 |
rloo | morning linggao | 16:13 |
linggao | morning rloo. | 16:14 |
lucasagomes | NobodyCam, there's some people starting in ironic so that would be a good bug to them to tackle | 16:14 |
lucasagomes | and get some patches in | 16:14 |
linggao | NobodyCam and devananda, sorry I could not be able to contribute code because I am pulled to do something else. | 16:15 |
linggao | I am not good at multitasking. | 16:15 |
NobodyCam | lucasagomes: ya. my comment was just that they look so real. any reason to not use 11111-222222-33333 and aa:bb:cc type samples | 16:16 |
devananda | linggao: no worries, that is life :) | 16:16 |
NobodyCam | just seems odd to real looking id's in a sample | 16:16 |
NobodyCam | :-p s/to real/to have real/ | 16:17 |
linggao | One question on nova baremetal, I am setting up a cloud with nova baremetal, everything is on one node except the baremetal compute node | 16:17 |
linggao | where should the scheduler run? on the compute node or the controller node? | 16:17 |
lucasagomes | NobodyCam, ah, hmm well I looked at ceilometer as an example | 16:18 |
NobodyCam | ?? linggao is that by your design? | 16:18 |
lucasagomes | they use real stuff there | 16:18 |
lucasagomes | seems so | 16:18 |
lucasagomes | NobodyCam, https://github.com/openstack/ceilometer/blob/master/ceilometer/api/controllers/v2.py#L587-L600 | 16:18 |
lucasagomes | NobodyCam, https://github.com/openstack/ceilometer/blob/master/ceilometer/api/controllers/v2.py#L855-L863 | 16:18 |
lucasagomes | so I used some real data in ironic as well | 16:18 |
NobodyCam | humm | 16:18 |
lucasagomes | but maybe it's a bad practice | 16:19 |
lucasagomes | don't hesitate in -1 if you think it's not right to do it | 16:19 |
NobodyCam | devananda: any thoughts on ^^^ | 16:19 |
linggao | NobodyCam, I have two nodes, one has the nova conductor, keystone, glance... etc, one has the nova-compute. | 16:19 |
NobodyCam | i am tempted to | 16:19 |
devananda | linggao: i dont think it matters on which node those run. they can all be on one node even | 16:20 |
NobodyCam | linggao: they can all be on the same node | 16:20 |
NobodyCam | like the OoO seed and undercloud are currently nova baremetal | 16:20 |
linggao | yes, but I would like to have the compute node separate. can | 16:21 |
devananda | NobodyCam: link to the example in questin? | 16:21 |
linggao | N | 16:21 |
linggao | o | 16:21 |
linggao | n | 16:21 |
linggao | N | 16:21 |
linggao | o | 16:21 |
linggao | s | 16:21 |
linggao | o | 16:21 |
linggao | sorry | 16:21 |
linggao | NobodyCam and devananda, in fact I'd like to have 2 compute nodes, 1 for kvm 1 for baremetal. Is it possible? | 16:22 |
devananda | lucasagomes: usually i discourage using real-looking data in unit tests | 16:23 |
devananda | linggao: there has been some work on allowing multiple hypervisors in the same region. the last time I tried (~6mo ago) it was not possible, but that may have cvhanged | 16:23 |
linggao | devananda, thanks for the info. | 16:24 |
lucasagomes | devananda, yea, that's not unit tests, they are sample data that will be exposed in out API documentation | 16:24 |
lucasagomes | our* | 16:24 |
devananda | ahhh | 16:24 |
devananda | link pls :) | 16:24 |
linggao | devananda, the wiki says that we need to set scheduler_host_manager = nova.scheduler.baremetal_host_manager.BaremetalHostManager on the compute host | 16:25 |
devananda | linggao: correct | 16:25 |
lucasagomes | devananda, https://review.openstack.org/#/c/61752/ | 16:25 |
linggao | does that mean the scheduler has to be on the compute host? | 16:25 |
devananda | linggao: this is why you can't run two compute hypervisors -- baremetal needs a different scheduelr than kvm | 16:25 |
devananda | linggao: no | 16:25 |
devananda | linggao: scheduler can be anywhere. it's just a module specific to how baremetal is scheduled | 16:25 |
NobodyCam | devananda: https://review.openstack.org/#/c/61752/ | 16:25 |
linggao | devananda, if the scheduler is on the controller, should I also set scheduler_host_manager = nova.scheduler.baremetal_host_manager.BaremetalHostManager on the controller? | 16:26 |
devananda | linggao: i dont understand that question. that setting only affects the scheduler | 16:28 |
devananda | NobodyCam, lucasagomes: for example, http://api.openstack.org/api-ref-compute.html | 16:29 |
devananda | i have no objection to real-looking data in the API samples. that seems actually quite useful | 16:29 |
linggao | devananda, that's what I thought, but the wiki said put that setting on the baremetal compute host. But my scheduler is on the other node. | 16:30 |
devananda | whereas in unit tests, i find it good to quickly see what was fake data and where an actual generate_uuid was called | 16:30 |
lucasagomes | devananda, makes sense | 16:30 |
devananda | linggao: ah. that is poor wording in the wiki | 16:30 |
linggao | devananda, got it. thanks. | 16:31 |
*** martyntaylor1 has quit IRC | 16:44 | |
*** martyntaylor has joined #openstack-ironic | 16:44 | |
*** martyntaylor has quit IRC | 16:49 | |
*** ekarlso has quit IRC | 16:50 | |
*** jistr has quit IRC | 16:50 | |
*** yuriyz has joined #openstack-ironic | 16:50 | |
*** ekarlso has joined #openstack-ironic | 16:51 | |
NobodyCam | lucasagomes: 60299 looks good I will +a but its going to need a rebase | 16:53 |
NobodyCam | it's raining here :-p | 16:56 |
lucasagomes | NobodyCam, :D lemme take a look | 16:56 |
lucasagomes | NobodyCam, lemme rebase it | 16:57 |
lucasagomes | NobodyCam, ohh actually, I will have to update it's dependency so rebasing now won't make sense :( | 16:57 |
* lucasagomes I'm answering to the reviews on that dependency right now | 16:58 | |
NobodyCam | :) | 16:58 |
NobodyCam | :) | 16:58 |
yuriyz | Morning Ironic | 16:58 |
NobodyCam | morning yuriyz :) | 17:00 |
* NobodyCam brb making fresh coffeee | 17:00 | |
*** anniec has quit IRC | 17:01 | |
*** rongze_ has quit IRC | 17:01 | |
lucasagomes | morning yuriyz | 17:02 |
yuriyz | lucasagomes, about expose node reservation to users and POST a node. I think "readonly" parameter for WSME attributes needed for us. https://review.openstack.org/61797 | 17:04 |
lucasagomes | yuriyz, ah nice! But if it's readonly you shouldn't patch it | 17:05 |
*** mdurnosvistov has quit IRC | 17:05 | |
*** martyntaylor has joined #openstack-ironic | 17:05 | |
devananda | wow, lots of reviews to catch up on .... | 17:07 |
yuriyz | lucasagomes, patch uses Node __init__, not input json data | 17:07 |
*** matty_dubs is now known as matty_dubs|lunch | 17:08 | |
yuriyz | and Node api obj and NodePatchType are different | 17:10 |
lucasagomes | yuriyz, right... so Node is the document, and it's going to expose 'reservation' as a field in that document | 17:14 |
devananda | NobodyCam: when you have time, https://review.openstack.org/58940 will interest you | 17:14 |
lucasagomes | but to break the node lock you have to update (patch) that document to set reservation to None | 17:14 |
lucasagomes | yuriyz, but if the 'reservation' field is readonly, it sounds a bit contradicting to allow users to update it (set it to none) | 17:15 |
lucasagomes | yuriyz, but I think that patch and the ability to have a readonly attribute great! for e.g to use in the 'links' attribute | 17:16 |
NobodyCam | devananda: :) I knew it... | 17:16 |
NobodyCam | lol | 17:16 |
NobodyCam | :) | 17:16 |
devananda | yuriyz: re https://review.openstack.org/#/c/60876/, see my latest comment | 17:16 |
*** rloo has quit IRC | 17:17 | |
NobodyCam | devananda: does that mean we need to add vmware to our ssh too | 17:17 |
*** rloo has joined #openstack-ironic | 17:17 | |
devananda | NobodyCam: yep. I'm going to file a bug to track it | 17:18 |
*** max_lobur is now known as max_lobur_afk | 17:19 | |
NobodyCam | I may -1 that patch.. I need to test something | 17:20 |
devananda | NobodyCam: also, there are some changes to virtual_power_driver.py that i think you should see. he's removing "" in some of the string matching, for example | 17:20 |
*** rloo has quit IRC | 17:20 | |
devananda | yea | 17:20 |
NobodyCam | ya | 17:20 |
*** rloo has joined #openstack-ironic | 17:20 | |
NobodyCam | that will cause sub name matching errors I think | 17:20 |
NobodyCam | though he also changes in to == | 17:21 |
devananda | yea | 17:21 |
yuriyz | lucasagomes, this patch for exemple only prohibit changes from body=Node and not from Node __init__ (as in your 'patch' code) | 17:21 |
*** rloo has quit IRC | 17:22 | |
*** rloo has joined #openstack-ironic | 17:23 | |
devananda | yuriyz: added another comment on ssh validate patch. | 17:23 |
devananda | yuriyz: caching the ssh_obj is a reasonable thing to do BUT is going to add considerable complexity | 17:24 |
devananda | yuriyz: you'll need a dict to store many of them, eg {"%s@%s:%s" % (user, host, port) : ssh_obj} | 17:25 |
devananda | yuriyz: and a try..except..retry hook somewhere to handle failures due to connections timing out or being closed underneath the ssh_obj | 17:26 |
*** romcheg1 has quit IRC | 17:26 | |
devananda | and some garbage collection of old ssh_obj wouldn't be unreasonable | 17:26 |
devananda | NobodyCam: https://bugs.launchpad.net/ironic/+bug/1260414 | 17:28 |
devananda | lucasagomes: what d oyou think of the comments re: PEP257 here https://review.openstack.org/#/c/60954/3/ironic/api/controllers/v1/chassis.py ? | 17:29 |
lucasagomes | devananda, I will comment there. But although it's not mandatory, I think it's valid to add the blank line | 17:31 |
lucasagomes | since it's help the Emac users to use their function | 17:31 |
*** martyntaylor has quit IRC | 17:31 | |
lucasagomes | and some pep257 checkers look at it | 17:32 |
lucasagomes | $ pep257 ironic/* | 17:32 |
lucasagomes | /home/lucasagomes/Projects/ironic/ironic/tests/drivers/test_ipminative.py:19:0: Multiline docstring should end with 1 blank line. | 17:32 |
*** blamar has quit IRC | 17:33 | |
devananda | lucasagomes: hmm. i don't think this is widely applied to openstack | 17:34 |
lucasagomes | devananda, I see | 17:35 |
lucasagomes | well it's optional so I think we shouldn't -1 for that | 17:36 |
lucasagomes | I still use on my patches tho: https://review.openstack.org/#/c/60890/3/ironic/common/utils.py | 17:36 |
* lucasagomes apart from allowing emac users to run their commands, and pep257 checkers point to it, I also think it looks better | 17:37 | |
devananda | there seem to be several things in http://www.python.org/dev/peps/pep-0257/#multi-line-docstrings that we as a community don't adhere to | 17:37 |
lucasagomes | devananda, true, we don't have any checks on hacking for that | 17:37 |
lucasagomes | so it's not enforced | 17:38 |
devananda | i'm looking eg. at nova.compute.manager | 17:38 |
devananda | and there is no apparent consistency | 17:38 |
devananda | single-line doc strings with no following blank line. multiline doc strings with no blank line after the first line. | 17:38 |
devananda | etc | 17:38 |
lucasagomes | yea | 17:38 |
devananda | some have a blank line before closing """, some do not | 17:39 |
devananda | it's actually pretty ugly ... | 17:39 |
lucasagomes | devananda, do you think that we - as a project - should create our convention around it? | 17:39 |
lucasagomes | and then, new patches should follow that | 17:39 |
devananda | only if we can enforce it programatically | 17:39 |
lucasagomes | + we can fix the old code with time (like opening a bug for it) | 17:40 |
lucasagomes | devananda, we could do in the gate, but I'm afraid we should fix it all before | 17:40 |
devananda | nah. if we add a pep check for 257 (if we can?) then we'll need to fix it all at once or gate will break | 17:40 |
lucasagomes | I mean fix the old code | 17:40 |
devananda | right | 17:40 |
lucasagomes | devananda, yea | 17:40 |
devananda | and relying on humans to review for this is tedious and burdensome AND guaranteed to miss a few | 17:40 |
*** vetalll has joined #openstack-ironic | 17:40 | |
devananda | it's either in our flake8 cehck or we don't -1 for it | 17:41 |
lucasagomes | yea | 17:41 |
lucasagomes | flake8 don't test pep257 unfortunately | 17:41 |
*** hemnafk is now known as hemna | 17:41 | |
lucasagomes | maybe some cosmetic things only | 17:41 |
NobodyCam | devananda: -1'd | 17:42 |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Fix auto-generated REST API formatting https://review.openstack.org/60954 | 17:42 |
lucasagomes | devananda, we can start by opening a bug around it, and reviewing it as the new patches comes | 17:42 |
lucasagomes | and once we are confident we might want to add it to the gate (idk how it would work tho) | 17:43 |
lucasagomes | people already -1 patches cause of pep257 in ironic, so no surprise here | 17:43 |
lucasagomes | confident = ported the old code | 17:43 |
devananda | and rebasing | 17:44 |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Fix auto-generated REST API formatting https://review.openstack.org/60954 | 17:44 |
devananda | lucasagomes: i'm checkign to see if we can add pep257 to flake | 17:45 |
lucasagomes | devananda, right :) | 17:46 |
*** yuriyz has quit IRC | 17:46 | |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Developer doc index page points to correct API docs https://review.openstack.org/60960 | 17:49 |
devananda | rloo: hi! do you still have objections to https://review.openstack.org/#/c/59795/9 ? I see you and lucas talked in the comments... | 17:51 |
devananda | also, lucasagomes, you've commented on ^ several times but not +/-'d lately ? | 17:52 |
rloo | devananda: in meeting, give me 30 min. | 17:52 |
devananda | rloo: np | 17:52 |
lucasagomes | devananda, I commented on rloo review, and left on my todo list to review | 17:54 |
devananda | lucasagomes: ack. just checking :) | 17:54 |
lucasagomes | I will do a review soon :) | 17:54 |
NobodyCam | lucasagomes: i'm looking at https://review.openstack.org/#/c/54593/12/ironic/conductor/rpcapi.py | 17:57 |
NobodyCam | are we trying to get away from node_id? and only use UUID? | 17:57 |
lucasagomes | NobodyCam, in the API yes | 17:58 |
*** derekh has quit IRC | 17:58 | |
lucasagomes | internally we still can use the numeric id | 17:58 |
lucasagomes | for e.g that's a rpc call, so if used internally I don't see any problem in passing the numeric id to that function | 17:59 |
NobodyCam | the tests pass uuid do you see any reason to test passing a int? | 18:01 |
lucasagomes | NobodyCam, not really, because it would be redundant. We have a function that add a filter to the query | 18:04 |
lucasagomes | to make the search by uuid or id | 18:04 |
lucasagomes | I think that function shoult test it and see if that works | 18:04 |
lucasagomes | adding tests by uuid and by id on all other tests sounds redundant in my opnion | 18:05 |
*** mdurnosvistov has joined #openstack-ironic | 18:06 | |
lucasagomes | NobodyCam, https://github.com/openstack/ironic/blob/master/ironic/db/sqlalchemy/api.py#L65 | 18:09 |
lucasagomes | that function should test it | 18:09 |
lucasagomes | I mean, tests for that function should test it | 18:09 |
*** vkozhukalov has joined #openstack-ironic | 18:12 | |
NobodyCam | ok .. | 18:13 |
*** matty_dubs|lunch is now known as matty_dubs | 18:14 | |
rloo | devananda: wrt https://review.openstack.org/#/c/59795/9. the only thing is https://review.openstack.org/#/c/59795/9/ironic/db/api.py,unified, my first comment. not a big deal, except that it isn't a list, nor 'lists' :-) | 18:19 |
devananda | rloo: ahh. grammar in my comment. thanks :) | 18:19 |
rloo | devananda: is there a way to delete comments after they are added? | 18:20 |
devananda | rloo: not afaik | 18:21 |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Add prepare, clean_up, take_over methods to deploy https://review.openstack.org/58894 | 18:22 |
lucasagomes | as I came to the office today, I gotta run now :) devananda, NobodyCam, rloo, everyone, have a good night :D | 18:22 |
rloo | devananda: too bad. | 18:22 |
rloo | ciao lucasagomes! | 18:22 |
NobodyCam | have a safe trip home lucasagomes | 18:23 |
NobodyCam | need to do walkies.... brb | 18:23 |
*** lucasagomes has quit IRC | 18:24 | |
openstackgerrit | A change was merged to openstack/ironic: API: Add sample() method on Port and PortCollection https://review.openstack.org/61752 | 18:24 |
openstackgerrit | A change was merged to openstack/ironic: API: Validate and normalize address https://review.openstack.org/60890 | 18:24 |
openstackgerrit | A change was merged to openstack/ironic: Imported Translations from Transifex https://review.openstack.org/59627 | 18:24 |
*** ndipanov has quit IRC | 18:26 | |
devananda | g'night, lucas! | 18:26 |
openstackgerrit | dekehn proposed a change to openstack/ironic: Method to generate PXE options for Neutron ports https://review.openstack.org/60904 | 18:27 |
*** mdenny has joined #openstack-ironic | 18:38 | |
NobodyCam | and back | 18:45 |
NobodyCam | devananda: what can we do about this : https://review.openstack.org/#/c/57550/ | 18:52 |
*** datajerk has joined #openstack-ironic | 18:54 | |
*** blamar has joined #openstack-ironic | 18:59 | |
*** romcheg has joined #openstack-ironic | 19:12 | |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Add prepare, clean_up, take_over methods to deploy https://review.openstack.org/58894 | 19:22 |
devananda | NobodyCam: someone needs to rebase it | 19:22 |
* devananda does it | 19:23 | |
NobodyCam | :-p | 19:23 |
* devananda kicks the interwebs | 19:23 | |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: PEP8-ify imports in test_ipmitool https://review.openstack.org/57550 | 19:26 |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Add prepare, clean_up, take_over methods to deploy https://review.openstack.org/58894 | 19:29 |
* NobodyCam makes a bagle | 19:29 | |
* devananda steps away again, also foor food | 19:29 | |
openstackgerrit | Vitalii Lebedynskyi proposed a change to openstack/ironic: Do not use node argument in drivers https://review.openstack.org/61859 | 20:01 |
vetalll | Hi all | 20:03 |
vetalll | Recently i joined to your community. Now i have completed first step of my task. | 20:05 |
NobodyCam | vetalll: task? | 20:08 |
NobodyCam | welcome | 20:08 |
*** rloo has quit IRC | 20:09 | |
*** rloo has joined #openstack-ironic | 20:09 | |
romcheg | NobodyCam: I think vetalll's talking about this bug https://bugs.launchpad.net/ironic/+bug/1259346 | 20:10 |
vetalll | In the day before yesterday i take bug that was reported by NobodyCam | 20:10 |
romcheg | Morning, btw :) | 20:10 |
NobodyCam | mornig romcheg and vetalll :) | 20:10 |
romcheg | NobodyCam: good evening :) vetalll is my intern | 20:10 |
NobodyCam | ahh :) | 20:11 |
NobodyCam | welcome | 20:11 |
NobodyCam | vetalll: I have not looked at the entire patch | 20:13 |
NobodyCam | but the first file i looked at is still passing the node? | 20:14 |
NobodyCam | https://review.openstack.org/#/c/61859/1/ironic/conductor/utils.py | 20:15 |
NobodyCam | it is marked as wip | 20:15 |
romcheg | NobodyCam: I think it's better not change everything with one patch | 20:16 |
romcheg | NobodyCam: This patch removes usage of passed node in drivers | 20:17 |
NobodyCam | ahh would help if I actually read the commit message :-p | 20:17 |
NobodyCam | romcheg: ++ | 20:17 |
vetalll | Yes. i cannot complete this bug without touching of big peace of code. | 20:18 |
NobodyCam | I totaly under stand. :) | 20:18 |
NobodyCam | I did not read the commit msg | 20:19 |
lifeless | devananda: does ironic support tags on nodes today? | 20:19 |
devananda | lifeless: to some definition of support, yes | 20:28 |
devananda | lifeless: we have an 'extra' field which supports arbitrary key/value pairs. however, Ironic has no capacity to search on that field today | 20:29 |
rloo | hey devananda. question about https://review.openstack.org/#/c/58894/13/ironic/drivers/modules/pxe.py,unified | 20:33 |
rloo | devananda: _create_token_file() is in deploy(), and _destroy_token_file() is in clean_up() | 20:33 |
rloo | devananda: seems a bit 'unsymmetrical'. | 20:33 |
devananda | vetalll: good start to the bug! i've left feedback on the patch | 20:34 |
devananda | rloo: correct. perhaps taht needs a comment, but it is intentional | 20:35 |
devananda | rloo: the token file is needed only briefly, in the time between deploy() finishing and _continue_deploy() starting | 20:35 |
devananda | rloo: so you'll see taht _continue_deploy also removes the token file | 20:35 |
rloo | devananda, yeah i saw that. why not put _destroy_token_file in tear_down? | 20:36 |
devananda | rloo: I added taht to clean_up as well just to be on the safe side -- it shouldn't error if the file is already gone -- just in case a deploy is interrupted and tear_down is never called | 20:36 |
devananda | which is an assumption on my part at this time, since we haven't finished writing the undeploy code paths in conductor.manager yet | 20:37 |
rloo | devananda. hmm. ok, i know it won't err, i just like the symmetry of stuff in prepare -> cleanup, and deploy -> teardown. that's all. | 20:37 |
devananda | so I think this is the right way, and even if it's not, calling _destroy_token_file an extra time won't hurt | 20:37 |
rloo | and calling _create_token_file in prepare doesn't make as much sense. | 20:38 |
devananda | rloo: right. callign it in prepare is actually incorrect behavior | 20:38 |
devananda | the token file should only exist on the node performing the deploy | 20:39 |
rloo | devananda: ok, thx. | 20:39 |
* devananda really wants to land https://review.openstack.org/#/c/60954/ soon | 20:40 | |
rloo | devananda, what's holding back 60954? or are you just impatient? | 20:41 |
devananda | rloo: just impatient :) | 20:43 |
rloo | devananda: ha ha ha | 20:43 |
*** romcheg has quit IRC | 20:45 | |
*** romcheg has joined #openstack-ironic | 20:45 | |
*** kui has joined #openstack-ironic | 20:47 | |
NobodyCam | devananda: on 60954 your using uuid as param in several places (ie. chassis and node) yet in port you stick with the port_uuid nomenclature | 20:49 |
devananda | NobodyCam: it's a mess | 20:49 |
NobodyCam | but you want to land it | 20:49 |
NobodyCam | lol | 20:49 |
*** jcooley_ has quit IRC | 20:49 | |
devananda | NobodyCam: but see my comment to lucas in a prior patch. I dont want to mix clean-up-param-names with -fix the doc formatting | 20:49 |
devananda | NobodyCam: i'm about to just rip this patch into pieces if it doesn't land soon -- and just have one patch that does nothing but adds whitespace to fix the WSME bug | 20:50 |
devananda | maybe I should do that .... | 20:50 |
NobodyCam | ahh. just checking YOU are planning a clean up patch too. | 20:51 |
devananda | well. it needs to happen | 20:51 |
devananda | i'm fine if someone else does it :) | 20:51 |
NobodyCam | how about a comment in the commit msg that states you are NOT cleaning up the param names and that SHOULD be done in another patch | 20:53 |
rloo | i thought lucas opened a bz about the param names but i could be wrong. | 20:54 |
NobodyCam | rloo: I think you are correct but I now have way to many windows open to look | 20:55 |
NobodyCam | lol | 20:55 |
devananda | https://bugs.launchpad.net/ironic/+bug/1252213 | 20:55 |
rloo | https://bugs.launchpad.net/ironic/+bug/1259619 | 20:55 |
devananda | that one | 20:55 |
openstackgerrit | A change was merged to openstack/ironic: PEP8-ify imports in test_ipmitool https://review.openstack.org/57550 | 20:55 |
devananda | woops. yes, rloo, you got the right link | 20:56 |
* devananda has too many bugs open | 20:56 | |
rloo | devananda: https://review.openstack.org/#/c/58894/. I don't see a unit test for take_over. I don't really care though. | 20:59 |
devananda | rloo: https://review.openstack.org/#/c/58894/13/ironic/tests/drivers/test_fake.py | 20:59 |
devananda | ooh | 21:00 |
devananda | you mean in pxe driver | 21:00 |
rloo | that's the test?! devananda, that doesn't even touch pxe.py. i'll give it a pass but ... :-) | 21:00 |
devananda | damn, yea, i missed that | 21:00 |
devananda | lemme add that real quick. it /should/ be there | 21:00 |
rloo | ok, i'll wait... :-) | 21:00 |
NobodyCam | brb | 21:02 |
devananda | rloo: hummmm. so, pxe._update_neutron() doesn't actually do anything -yet- | 21:03 |
devananda | rloo: so a unit test isn't going to do anything either :) | 21:04 |
rloo | devananda: yes, I know. that's why i suggested but didn't really care. | 21:04 |
devananda | rloo: i can test that take_over calls it, but that's it | 21:04 |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Add prepare, clean_up, take_over methods to deploy https://review.openstack.org/58894 | 21:05 |
devananda | done | 21:05 |
rloo | devananda. it would only have been a placeholder, to be filled in whenever someone added something to _update_neutron(). | 21:05 |
*** rwsu has quit IRC | 21:05 | |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Add prepare, clean_up, take_over methods to deploy https://review.openstack.org/58894 | 21:06 |
*** epim has joined #openstack-ironic | 21:09 | |
romcheg | Ok folks, it's quite late here now | 21:14 |
romcheg | Gotta go now | 21:14 |
romcheg | Have a good evening. | 21:14 |
NobodyCam | night romcheg | 21:15 |
NobodyCam | and vetalll too | 21:16 |
devananda | g'night! | 21:20 |
devananda | i need to step away for a bit again... should be back later this afternoon | 21:20 |
vetalll | good night you to | 21:20 |
NobodyCam | :) | 21:20 |
*** vetalll has quit IRC | 21:23 | |
devananda | lifeless: re: nova blueprints, i havent been following baremetal-preserve-ephemeral as closely as I should (and will) be | 21:35 |
devananda | lifeless: that being said, are you guys going to port that to ironic? | 21:35 |
lifeless | devananda: we'll need to yes | 21:36 |
lifeless | or rather | 21:36 |
lifeless | we'll need the feature | 21:36 |
devananda | lifeless: great. i'd say add Ironic to that BP, but LP doesn't support that, so please track it however you feel appropriate (new BP in ironic, or bug(s)) | 21:37 |
lifeless | there should be a bug with a task on ironic already | 21:37 |
devananda | lifeless: https://bugs.launchpad.net/ironic/+bug/1174154? | 21:38 |
*** romcheg has left #openstack-ironic | 21:38 | |
lifeless | devananda: yes | 21:41 |
devananda | lifeless: how do you want to track all the relevant nova patches within ironic? port each one with a partial-bug tag? | 21:49 |
lifeless | for that blueprint ? | 21:50 |
*** jdob has quit IRC | 21:50 | |
devananda | for that feature, yes | 21:51 |
devananda | gotta run out for an errand... bbiafh | 21:53 |
lifeless | I'd wait for it to be a little more settled in nova then make a matching patch chain for it yeah | 22:03 |
*** linggao has quit IRC | 22:07 | |
*** mdurnosvistov has quit IRC | 22:15 | |
*** vkozhukalov has quit IRC | 22:15 | |
*** matty_dubs is now known as matty_dubs|gone | 22:32 | |
NobodyCam | brb | 22:37 |
openstackgerrit | Haomeng,Wang proposed a change to openstack/ironic: Command call should log the stdout and stderr https://review.openstack.org/61664 | 23:47 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!