*** xmltok has joined #openstack-ironic | 00:01 | |
*** tatyana has quit IRC | 00:03 | |
*** xmltok has quit IRC | 00:06 | |
*** epim has joined #openstack-ironic | 00:07 | |
*** harlowja has quit IRC | 00:16 | |
*** matsuhashi has joined #openstack-ironic | 00:29 | |
*** coolsvap has quit IRC | 00:30 | |
NobodyCam | spinning disks are so slow :-p | 00:44 |
---|---|---|
NobodyCam | lol at least the one in my laptop | 00:44 |
*** matsuhashi has quit IRC | 00:48 | |
*** matsuhashi has joined #openstack-ironic | 00:49 | |
*** matsuhashi has quit IRC | 00:53 | |
devananda | back | 00:56 |
NobodyCam | wb | 00:56 |
NobodyCam | ok it dinner time for /me ... have a good night all | 01:07 |
*** matsuhashi has joined #openstack-ironic | 01:08 | |
*** nosnos has joined #openstack-ironic | 01:09 | |
devananda | g'night! | 01:16 |
*** matsuhashi has quit IRC | 01:34 | |
*** matsuhashi has joined #openstack-ironic | 01:35 | |
*** matsuhashi has quit IRC | 01:40 | |
*** matsuhashi has joined #openstack-ironic | 01:43 | |
Haomeng | good morning Ironic:) | 01:48 |
*** harlowja has joined #openstack-ironic | 01:51 | |
*** sjing has joined #openstack-ironic | 01:58 | |
*** sjing has quit IRC | 02:07 | |
*** sjing has joined #openstack-ironic | 02:09 | |
*** rloo has quit IRC | 02:09 | |
openstackgerrit | A change was merged to openstack/ironic: Support building wheels (PEP-427) https://review.openstack.org/57122 | 02:48 |
*** xmltok has joined #openstack-ironic | 02:56 | |
*** xmltok has quit IRC | 03:01 | |
*** epim has quit IRC | 03:02 | |
*** michchap has quit IRC | 03:21 | |
*** michchap has joined #openstack-ironic | 03:22 | |
*** matsuhashi has quit IRC | 03:31 | |
*** matsuhashi has joined #openstack-ironic | 03:31 | |
*** sjing has quit IRC | 03:32 | |
*** sjing has joined #openstack-ironic | 03:33 | |
*** matsuhashi has quit IRC | 03:36 | |
*** matsuhashi has joined #openstack-ironic | 03:41 | |
openstackgerrit | Haomeng,Wang proposed a change to openstack/python-ironicclient: Enable created_at/updated_at for port-show/chassis-show https://review.openstack.org/53991 | 03:53 |
*** coolsvap has joined #openstack-ironic | 04:16 | |
*** prekarat has joined #openstack-ironic | 04:19 | |
*** arata has joined #openstack-ironic | 04:46 | |
*** arata has quit IRC | 05:14 | |
*** datajerk has joined #openstack-ironic | 05:34 | |
*** datajerk has quit IRC | 05:39 | |
*** coolsvap has quit IRC | 05:39 | |
Haomeng | good morning/afternoon/evening Ironic:) | 05:40 |
Haomeng | lifeless:ping | 05:41 |
lifeless | Haomeng: hi | 05:42 |
Haomeng | I have a new patch, which passed python27 and python33 gate, but it has pypy issue, can you help take a look? http://logs.openstack.org/91/53991/8/check/gate-python-ironicclient-pypy/68c2790/console.html , thank you | 05:42 |
Haomeng | looks my mock code does not work on pypy | 05:42 |
Haomeng | thank you lifeless:) | 05:43 |
lifeless | Haomeng: I've no immediate ideas. Have you tried it yourself? | 05:52 |
*** harlowja has quit IRC | 05:52 | |
Haomeng | sure, I will install pypy in my local and debug, anyway thank you lifeless:) | 05:52 |
Haomeng | just think this is strange issue with pypy for mocking | 05:53 |
Haomeng | to discuss with you, so dont worry | 05:55 |
*** coolsvap has joined #openstack-ironic | 05:58 | |
openstackgerrit | Jenkins proposed a change to openstack/ironic: Imported Translations from Transifex https://review.openstack.org/57099 | 06:00 |
*** michchap has quit IRC | 06:04 | |
*** michchap has joined #openstack-ironic | 06:05 | |
*** datajerk has joined #openstack-ironic | 06:06 | |
*** matsuhashi has quit IRC | 06:08 | |
*** matsuhashi has joined #openstack-ironic | 06:08 | |
lifeless | Haomeng: yeah, it is odd :) | 06:10 |
*** datajerk has quit IRC | 06:10 | |
*** matsuhashi has quit IRC | 06:13 | |
*** nosnos_ has joined #openstack-ironic | 06:25 | |
*** nosnos has quit IRC | 06:29 | |
*** matsuhashi has joined #openstack-ironic | 06:29 | |
*** nosnos_ has quit IRC | 07:05 | |
*** sjing has quit IRC | 07:05 | |
*** arata has joined #openstack-ironic | 07:05 | |
*** nosnos has joined #openstack-ironic | 07:05 | |
*** sjing has joined #openstack-ironic | 07:06 | |
*** datajerk has joined #openstack-ironic | 07:06 | |
*** datajerk has quit IRC | 07:10 | |
*** matsuhashi has quit IRC | 07:22 | |
*** matsuhashi has joined #openstack-ironic | 07:23 | |
*** matsuhas_ has joined #openstack-ironic | 07:30 | |
*** matsuhashi has quit IRC | 07:34 | |
GheRivero | morning Ironic | 07:35 |
*** datajerk has joined #openstack-ironic | 07:37 | |
*** datajerk has quit IRC | 07:42 | |
*** tatyana has joined #openstack-ironic | 07:43 | |
sandeepr | GheRivero, morning | 07:47 |
*** prekarat has quit IRC | 08:04 | |
*** romcheg has joined #openstack-ironic | 08:04 | |
*** datajerk has joined #openstack-ironic | 08:08 | |
*** ndipanov has joined #openstack-ironic | 08:12 | |
*** datajerk has quit IRC | 08:13 | |
*** tatyana has quit IRC | 08:14 | |
*** matsuhas_ has quit IRC | 08:18 | |
*** matsuhashi has joined #openstack-ironic | 08:19 | |
*** matsuhashi has quit IRC | 08:24 | |
yuriyz | morning GheRivero | 08:25 |
*** matsuhashi has joined #openstack-ironic | 08:31 | |
*** arata has left #openstack-ironic | 08:38 | |
*** datajerk has joined #openstack-ironic | 08:39 | |
*** datajerk has quit IRC | 08:43 | |
*** epim has joined #openstack-ironic | 08:47 | |
*** derekh has joined #openstack-ironic | 08:54 | |
*** romcheg has quit IRC | 08:55 | |
openstackgerrit | Yuriy Zveryanskyy proposed a change to openstack/ironic: Allow vendor passthru without Keystone authorization https://review.openstack.org/56612 | 08:58 |
*** jistr has joined #openstack-ironic | 08:58 | |
*** lucasagomes has joined #openstack-ironic | 09:09 | |
*** datajerk has joined #openstack-ironic | 09:10 | |
*** arata has joined #openstack-ironic | 09:10 | |
*** epim has quit IRC | 09:10 | |
*** romcheg has joined #openstack-ironic | 09:11 | |
*** datajerk has quit IRC | 09:14 | |
*** sjing has quit IRC | 09:17 | |
*** arata has quit IRC | 09:19 | |
*** datajerk has joined #openstack-ironic | 09:41 | |
*** datajerk has quit IRC | 09:45 | |
*** bigjools has quit IRC | 09:59 | |
*** bigjools has joined #openstack-ironic | 10:00 | |
*** prekarat has joined #openstack-ironic | 10:08 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: API ports update for WSME 0.5b6 compliance https://review.openstack.org/56682 | 10:11 |
*** datajerk has joined #openstack-ironic | 10:12 | |
*** prekarat has quit IRC | 10:13 | |
*** matsuhashi has quit IRC | 10:14 | |
*** datajerk has quit IRC | 10:16 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Rework patch validation on Ports https://review.openstack.org/56984 | 10:20 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Rework patch validation on Ports https://review.openstack.org/56984 | 10:25 |
*** romcheg1 has joined #openstack-ironic | 10:35 | |
*** romcheg has quit IRC | 10:39 | |
*** datajerk has joined #openstack-ironic | 10:43 | |
*** datajerk has quit IRC | 10:47 | |
*** max_lobur_afk is now known as max_lobur | 10:49 | |
*** coolsvap has quit IRC | 10:57 | |
*** liteIRC has joined #openstack-ironic | 10:59 | |
*** tatyana has joined #openstack-ironic | 11:06 | |
*** liteIRC has quit IRC | 11:07 | |
*** datajerk has joined #openstack-ironic | 11:14 | |
*** romcheg has joined #openstack-ironic | 11:14 | |
*** romcheg1 has quit IRC | 11:19 | |
*** datajerk has quit IRC | 11:19 | |
*** mattymo has joined #openstack-ironic | 11:20 | |
openstackgerrit | A change was merged to openstack/python-ironicclient: Remove in-place try/except blocks from shell commands https://review.openstack.org/57285 | 11:24 |
*** datajerk has joined #openstack-ironic | 11:45 | |
*** datajerk has quit IRC | 11:49 | |
*** nosnos_ has joined #openstack-ironic | 12:09 | |
*** lucasagomes is now known as lucas-hungry | 12:12 | |
*** nosnos has quit IRC | 12:12 | |
*** nosnos_ has quit IRC | 12:14 | |
*** datajerk has joined #openstack-ironic | 12:16 | |
*** datajerk has quit IRC | 12:20 | |
*** michchap_ has joined #openstack-ironic | 12:25 | |
*** michchap has quit IRC | 12:25 | |
*** datajerk has joined #openstack-ironic | 12:47 | |
Haomeng | morning GheRivero yuriyz | 12:49 |
*** datajerk has quit IRC | 12:51 | |
openstackgerrit | A change was merged to openstack/ironic: Imported Translations from Transifex https://review.openstack.org/57099 | 12:59 |
*** datajerk has joined #openstack-ironic | 13:08 | |
*** datajerk has quit IRC | 13:13 | |
Haomeng | Ironic, who know how to setup pypy env for our unittest, I have a pypy issue, want to debug with pypy env - https://review.openstack.org/#/c/53991/ | 13:23 |
Haomeng | my code is working with py26/27, but does not work with pypy, any idea/comments? | 13:23 |
Haomeng | and try to install pypy unittest env, enuntered could not install deps for tox setup command "tox -e pypy" | 13:25 |
*** tatyana has quit IRC | 13:27 | |
*** max_lobur has quit IRC | 13:28 | |
*** max_lobur has joined #openstack-ironic | 13:29 | |
*** tatyana has joined #openstack-ironic | 13:32 | |
max_lobur | Hi Haomeng | 13:37 |
max_lobur | I've posted comments on 53991 | 13:37 |
max_lobur | please try, maybe you will get around pypy issue | 13:38 |
*** jdob has joined #openstack-ironic | 13:40 | |
Haomeng | thank you | 13:45 |
Haomeng | max_lobur:thank you | 13:46 |
*** jdob has quit IRC | 13:48 | |
*** jdob has joined #openstack-ironic | 13:48 | |
Haomeng | max_lobur: I checked your comments, that is good idea, will create new shell test scripts: test_port_shell, test_node_shell and test_chassis_shell for each object | 13:57 |
Haomeng | max_lobur: nice day:) | 13:57 |
max_lobur | ok =) I suggested to ask someone else.. I'm not sure we'll scale shell tests so far | 14:00 |
max_lobur | so maybe one file is fine | 14:00 |
max_lobur | need to clarify | 14:00 |
Haomeng | yes, dont worry, let me try the unittest for _print_port_show method only | 14:04 |
Haomeng | max_lobur: I agree with your comments, if we have separated files, that is clear and for future more unittest code, will discuss with others | 14:07 |
max_lobur | Ok, cool | 14:08 |
Haomeng | it works, thank you max | 14:17 |
Haomeng | I want to commit the patch and add core reviewer to see if they have more concern/comments | 14:18 |
*** jdob has quit IRC | 14:18 | |
*** jdob has joined #openstack-ironic | 14:19 | |
*** jbjohnso has joined #openstack-ironic | 14:19 | |
jbjohnso | morning all | 14:19 |
Haomeng | let us create new shell test scripts: test_port_shell, test_node_shell and test_chassis_shell for each object and to review | 14:19 |
jbjohnso | I was wondering about holding a screen shared demonstration of some code that might be the best path for console access | 14:20 |
jbjohnso | sadly, it would require participants to use java... | 14:20 |
jbjohnso | I see the ipmitool blueprint and think this would be a better path (less resource intensive, fewer shellinaboxes, etc) | 14:21 |
Haomeng | jbjohnso: morning | 14:22 |
jbjohnso | Haomeng, morning | 14:22 |
Haomeng | jbjohnso: are you talking about our bp - https://blueprints.launchpad.net/ironic/+spec/serial-console-access ? | 14:24 |
jbjohnso | Haomeng, yeah | 14:25 |
Haomeng | need to set IPMI Serial-over-LAN mode first from BMC | 14:31 |
Haomeng | jbjohnso: need to set IPMI Serial-over-LAN mode first from BMC | 14:31 |
Haomeng | jbjohnso: but, by default, I think IPMI Serial-over-LAN is not enabled | 14:32 |
Haomeng | jbjohnso: have to setup by manually from BMC side first | 14:32 |
Haomeng | max_lobur: I checked Ceilometer client and Heat client, they have a lot of shell test unittest, but only one test_shell.py, so can we just use one single test_shell to cover our shell unittest ? | 14:41 |
Haomeng | max_lobur: and I want to commit the code with single test_shell file first, to see the review comments from core reviewer | 14:42 |
max_lobur | Haomeng, I assume they also have a single file for shell code? | 14:42 |
max_lobur | am I right? | 14:42 |
Haomeng | let me find out | 14:42 |
NobodyCam | Good Morning Ironic | 14:45 |
GheRivero | morning NobodyCam | 14:45 |
NobodyCam | hey hey GheRivero :) | 14:46 |
NobodyCam | i am just making coffee, but wanted to how full your plat is | 14:46 |
Haomeng | https://github.com/openstack/python-ceilometerclient/blob/master/ceilometerclient/tests/test_shell.py and https://github.com/openstack/python-heatclient/blob/master/heatclient/tests/test_shell.py | 14:46 |
Haomeng | NobodyCam: morning | 14:46 |
NobodyCam | good morning Haomeng | 14:47 |
Haomeng | NobodyCam: :) | 14:47 |
Haomeng | NobodyCam: I am evening:) | 14:48 |
Haomeng | NobodyCam: np:) | 14:48 |
NobodyCam | heheheh oh thats right | 14:48 |
NobodyCam | I don't have any coffee yet | 14:48 |
Haomeng | :) | 14:49 |
max_lobur | Haomeng, take a look, https://github.com/openstack/python-ceilometerclient/blob/master/ceilometerclient/v1/shell.py they have single shell for all objects, therefore they heave single test file | 14:51 |
Haomeng | max_lobur: yes, you are right - > https://github.com/openstack/python-ceilometerclient/blob/master/ceilometerclient/tests/test_shell.py and https://github.com/openstack/python-heatclient/blob/master/heatclient/tests/test_shell.py | 14:51 |
*** ekarlso has quit IRC | 14:51 | |
max_lobur | for us, since we split files by objects, i thing we need to copy that structure in tests | 14:52 |
max_lobur | to make it easier to find corresponding tests | 14:52 |
*** ekarlso has joined #openstack-ironic | 14:52 | |
Haomeng | max_lobur: ok, good idea | 14:52 |
Haomeng | Haomeng: yes | 14:52 |
*** ekarlso has quit IRC | 14:52 | |
Haomeng | let me split files and commit | 14:52 |
Haomeng | max_lobur: let me split files and commit, thanks for your ideas | 14:52 |
max_lobur | sure, np :) | 14:53 |
Haomeng | max_lobur: :) | 14:53 |
*** ekarlso has joined #openstack-ironic | 14:53 | |
max_lobur | morning NobodyCam =) | 14:53 |
max_lobur | and GheRivero | 14:53 |
Haomeng | GheRivero: morning:) | 14:54 |
jbjohnso | Haomeng, depends on the manufacturer | 14:54 |
Haomeng | jbjohnso: yes | 14:54 |
jbjohnso | Haomeng, in xCAT, that's handled by 'bmcsetup' | 14:54 |
jbjohnso | intel was one vendor that disables everything by default | 14:54 |
Haomeng | jbjohnso: so we have to make sure to enable it first | 14:55 |
Haomeng | jbjohnso: how do you think if we can enable it by our code, maybe need BIOS interface | 14:55 |
GheRivero | NobodyCam: so, what is the final idea about having a dhcp server for pxe? are we going for it? | 14:57 |
jbjohnso | Haomeng, usually not | 14:58 |
jbjohnso | Haomeng, the knobs to kick SOL to life I have always seen | 14:58 |
jbjohnso | are industry standard | 14:58 |
jbjohnso | well, they are if you understand the situation well enough | 14:58 |
jbjohnso | the script is horribly messy and needs to be cleaned up, however... | 14:58 |
jbjohnso | Haomeng, http://sourceforge.net/p/xcat/xcat-core/ci/master/tree/xCAT-genesis-scripts/bin/bmcsetup | 15:00 |
Haomeng | jbjohnso: ok, let me check, thank you | 15:00 |
jbjohnso | that is part of the starting point that Sun Jing is coming from in pursuit of https://blueprints.launchpad.net/ironic/+spec/discovery-ramdisk | 15:00 |
Haomeng | jbjohnso: this is xcat code for bmcsetup | 15:00 |
Haomeng | jbjohnso: yes | 15:01 |
jbjohnso | Haomeng, right, the key takeaway is... | 15:01 |
jbjohnso | for sol enablement... | 15:01 |
jbjohnso | echo -n "Enabling SOL for channel $LANCHAN:" | 15:01 |
jbjohnso | so that weird 'raw 0xc 0x21 $LANCHAN 1 1' | 15:01 |
jbjohnso | kicks it to life | 15:01 |
jbjohnso | for the channel | 15:02 |
Haomeng | jbjohnso: this line "ipmitool -d $idev raw 0xc 0x21 $LANCHAN 0x1 0x1 ", right? | 15:02 |
jbjohnso | then you see raw 6 0x4c $LANCHAN $USER 2 0 0 0 | 15:02 |
jbjohnso | yeah | 15:02 |
Haomeng | jbjohnso: this ipmitool command can enable sol | 15:02 |
Haomeng | jbjohnso: cool | 15:02 |
jbjohnso | also, putting SOL on the channel | 15:02 |
jbjohnso | there are several there | 15:02 |
jbjohnso | Intel bmc is the only bmc that requires those, but it's been safe to do everywhere in our experience | 15:02 |
jbjohnso | it is the only one we saw | 15:03 |
Haomeng | jbjohnso: yes, that is xcat has done | 15:03 |
jbjohnso | enabling the lan channel | 15:03 |
jbjohnso | is another thing we had to do | 15:03 |
Haomeng | jbjohnso: we can port these code to our Ironic | 15:03 |
jbjohnso | Haomeng, right, that is our intent | 15:04 |
Haomeng | jbjohnso: how do you think if that is working in our Ironic | 15:04 |
Haomeng | jbjohnso: great | 15:04 |
Haomeng | jbjohnso: I guss you are xcat expert, great:) | 15:04 |
jbjohnso | GheRivero, NobodyCam so interesting thing | 15:05 |
jbjohnso | about dhcp serving | 15:05 |
jbjohnso | what if the same process managed consoles and PXE configuration, no tight dhcp integration required? | 15:05 |
GheRivero | how will it be done? | 15:06 |
jbjohnso | GheRivero, 4011 | 15:08 |
jbjohnso | GheRivero, now things like rfc 4173 are out of reach | 15:08 |
jbjohnso | and *some* dhcp server is needed to provide ip | 15:09 |
jbjohnso | but 'filename' doesn't need to be served up by dhcpd | 15:09 |
jbjohnso | at least not to fully pxe compliant beasts (POWER is notably excluded from that party) | 15:09 |
Haomeng | max_lobur: Max, can we define same class "class ShellTest(utils.BaseTestCase)" in our new test_port_shell.py to cover port shell unittest? | 15:09 |
max_lobur | why not | 15:10 |
max_lobur | just PortShellTest maybe | 15:10 |
NobodyCam | GheRivero: I was about to have a chat with dkehn about just that, How your plate looking? | 15:11 |
Haomeng | max_lobur: yes | 15:11 |
Haomeng | max_lobur: PortShellTest is meanful | 15:11 |
Haomeng | max_lobur: will do, and help me review, thank you Max | 15:12 |
GheRivero | NobodyCam: i-m always hungry :) | 15:12 |
NobodyCam | GheRivero: want to join the skype call we are about to have? | 15:13 |
GheRivero | jbjohnso: 4011? | 15:13 |
GheRivero | NobodyCam: sure.. | 15:13 |
jbjohnso | GheRivero, proxydhcp | 15:13 |
jbjohnso | http://en.wikipedia.org/wiki/Preboot_Execution_Environment | 15:14 |
jbjohnso | "The Proxy DHCP service may also run on the same host as the standard DHCP service. Since two services cannot share port 67/UDP, the Proxy DHCP runs on port 4011/UDP and expects the extended DHCPDISCOVER packets from PXE Clients to be DHCPREQUESTs." | 15:14 |
NobodyCam | dkehn: I'm going to try a sskype conf call... I not sure I have both of you on G+ | 15:15 |
GheRivero | will add to the list of things to read this week :) but looks promising | 15:16 |
*** blamar has quit IRC | 15:16 | |
*** coolsvap has joined #openstack-ironic | 15:17 | |
jbjohnso | anyway, my 'console management' service | 15:21 |
jbjohnso | is a bit more potent in architecture than a console management service, proxydhcp and slp are on the list of things to manage | 15:21 |
jbjohnso | but the console works today | 15:21 |
*** blamar has joined #openstack-ironic | 15:23 | |
*** ben_duyujie has joined #openstack-ironic | 15:27 | |
*** ben_duyujie has quit IRC | 15:30 | |
openstackgerrit | Haomeng,Wang proposed a change to openstack/python-ironicclient: Enable created_at/updated_at for port-show/chassis-show https://review.openstack.org/53991 | 15:30 |
Haomeng | max_lobur: I committed new patch, if you have time, help me take a look again, thank you, nice day | 15:31 |
Haomeng | max_lobur: I am tired, will sleep:) see you:) | 15:31 |
*** ben_duyujie has joined #openstack-ironic | 15:31 | |
max_lobur | bye. I'll review | 15:33 |
dkehn | https://wiki.openstack.org/wiki/Icehouse_Release_Schedule | 15:33 |
dkehn | for those on call | 15:33 |
*** ben_duyujie1 has joined #openstack-ironic | 15:34 | |
*** ben_duyujie has quit IRC | 15:38 | |
NobodyCam | dkehn: GheRivero https://review.openstack.org/#/c/51328/2/nova/virt/ironic/driver.py | 15:40 |
*** lucas-hungry is now known as lucasagomes | 15:46 | |
*** yuriyz has quit IRC | 15:56 | |
*** datajerk has joined #openstack-ironic | 16:03 | |
*** prekarat has joined #openstack-ironic | 16:23 | |
devananda | g'morning, all | 16:26 |
NobodyCam | good morning devananda | 16:27 |
*** romcheg has quit IRC | 16:28 | |
*** coolsvap has quit IRC | 16:29 | |
devananda | lucasagomes: i've got API docs (almost) auto generating: https://review.openstack.org/#/c/57346/1 | 16:33 |
NobodyCam | http://falkvinge.net/2013/11/17/nsa-asked-linus-torvalds-to-install-backdoors-into-gnulinux/#! | 16:33 |
lucasagomes | devananda, w00ts! lemme take a look | 16:33 |
*** prekarat has quit IRC | 16:33 | |
lucasagomes | I'm almost finshing the complex type validations for nodes :) | 16:34 |
lucasagomes | devananda, awesome! | 16:36 |
lucasagomes | just to think that we don't need to write docs for the API anymore | 16:36 |
lucasagomes | that's great | 16:36 |
NobodyCam | +++++++ | 16:36 |
*** idknick has joined #openstack-ironic | 16:37 | |
devananda | lucasagomes: ya - all we will need is a small .rst file which references each API type & controller | 16:37 |
devananda | basically just the layout of the doc | 16:37 |
devananda | all the class details, samples, etc, get generated from code | 16:38 |
lucasagomes | devananda, I see, yea I have a bullet point on my todo list to write some sample() methods on our controllers | 16:38 |
lucasagomes | just like ceilometer does | 16:39 |
lucasagomes | pretty handy :) | 16:39 |
devananda | lucasagomes: or will. when it isn't generating "list index out of error" and crashing ;) | 16:39 |
lucasagomes | :P | 16:39 |
lucasagomes | but at least such errors we fix straight away, problem in updating documentation is that it's quite boring to keep it updated | 16:40 |
lucasagomes | so takes a docs are almost always outdated, nobody fix them | 16:40 |
devananda | right | 16:41 |
*** datajerk has quit IRC | 16:41 | |
*** prekarat has joined #openstack-ironic | 16:41 | |
devananda | ahhh, coffee at last! | 16:41 |
lucasagomes | :D enjoy | 16:43 |
*** coolsvap has joined #openstack-ironic | 16:48 | |
*** ndipanov is now known as ndipanov_gone | 16:49 | |
*** coolsvap has quit IRC | 16:49 | |
NobodyCam | brb | 16:52 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Rework patch validation on Ports https://review.openstack.org/56984 | 16:56 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Reworks Node validations https://review.openstack.org/57495 | 17:04 |
devananda | ah! figured out why it wasnt generating the HTTP samples. needed sphinxcnotrib.httpdomain | 17:09 |
NobodyCam | and back | 17:12 |
*** jistr has quit IRC | 17:14 | |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Add hooks to auto-generate REST API docs https://review.openstack.org/57346 | 17:26 |
*** derekh has quit IRC | 17:27 | |
max_lobur | ping devananda | 17:36 |
devananda | max_lobur: pong | 17:41 |
max_lobur | Hi deva, I wanted to ask about your comment to https://bugs.launchpad.net/ironic/+bug/1244747 | 17:41 |
max_lobur | you said that Ceilometer has taken same approach | 17:42 |
devananda | ya | 17:42 |
max_lobur | I wanted to use their implementation as example but can't find those hook | 17:42 |
max_lobur | https://github.com/openstack/ceilometer/blob/master/ceilometer/api/hooks.py | 17:42 |
max_lobur | https://github.com/openstack/ceilometer/blob/master/ceilometer/api/app.py#L58-L64 | 17:43 |
devananda | max_lobur: IMBW, but look at ceilometer/api/middleware.py | 17:43 |
devananda | i think that's where the magic happens | 17:43 |
max_lobur | oh, I think we have something similar | 17:44 |
max_lobur | https://github.com/openstack/ironic/blob/master/ironic/api/middleware/parsable_error.py | 17:44 |
*** idknick has quit IRC | 17:45 | |
max_lobur | yea, I see the difference | 17:46 |
devananda | jbjohnso: ping | 17:49 |
*** hemna_ has joined #openstack-ironic | 17:54 | |
max_lobur | now looking to the diff with their version of ParsableErrorMiddleware and seems those new code doesn't resovle our problem. probably they have something else | 17:55 |
*** anniec has joined #openstack-ironic | 18:01 | |
*** harlowja has joined #openstack-ironic | 18:02 | |
max_lobur | devananda, anyway thanks, tomorrow I'll try to dig into their ParsableErrorMiddleware to see what it does | 18:03 |
max_lobur | leaving now | 18:03 |
*** max_lobur is now known as max_lobur_afk | 18:05 | |
*** xmltok has joined #openstack-ironic | 18:07 | |
lucasagomes | max_lobur_afk, have a g'night :) | 18:07 |
lucasagomes | I'm also off now | 18:07 |
lucasagomes | see yall tomorrow! have a good night everyone | 18:07 |
dkehn | NobodyCam: u still around | 18:08 |
NobodyCam | maybe | 18:08 |
*** lucasagomes has quit IRC | 18:08 | |
dkehn | lol | 18:08 |
NobodyCam | :) | 18:08 |
dkehn | NobodyCam: ok, assuming that the dnsmasq structure is there, where in the ironic would be something like nova/compute/manager.py:_build_instance where is would call something to the effect of allocate_networks? | 18:09 |
dkehn | NobodyCam: I assuming this is going to spawn a conversation | 18:09 |
NobodyCam | checking | 18:11 |
NobodyCam | if I am answering the question you asked it would be some where arounf line 200 of https://review.openstack.org/#/c/51328/2/nova/virt/ironic/driver.py | 18:15 |
NobodyCam | devananda: thoughts about neutron and ironic | 18:16 |
NobodyCam | while pxe will need dhcp, other deploy methods may / will require networking plumbing | 18:17 |
NobodyCam | ironic current has no consept of networking | 18:18 |
*** ben_duyujie1 has quit IRC | 18:18 | |
dkehn | NobodyCam: in spawn where's the network_info coming from, just curious | 18:19 |
NobodyCam | https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L1006 | 18:20 |
dkehn | NobodyCam: ok, got that, so the manager will be calling the ironic from this point | 18:21 |
NobodyCam | line 1027 of same file calls spawn | 18:22 |
dkehn | so everything up to that point is going to be as it works today in nova | 18:22 |
NobodyCam | then from that we go to ironic nova driver | 18:22 |
dkehn | gotit so essentually the network is provisioned at this point | 18:23 |
dkehn | #L1006 | 18:23 |
NobodyCam | which will call ironic functions | 18:23 |
NobodyCam | actulally you right | 18:24 |
dkehn | hrm, so when the network's going to get provisioned in the manager the dhcp_options #L1004, that is call ironic pxe.py or ..... | 18:27 |
NobodyCam | I need to add _allocate_network to the ironic nova driver | 18:27 |
dkehn | I assuming that drvier is ironic | 18:27 |
NobodyCam | it's acting on the ironic client | 18:28 |
NobodyCam | which makes calls to to the ironic api | 18:28 |
dkehn | ironic client in this case would be the conductor? | 18:29 |
dkehn | any pictures out there | 18:29 |
NobodyCam | https://github.com/openstack/python-ironicclient | 18:29 |
dkehn | I'm a image guy | 18:30 |
NobodyCam | devananda: do we have any thing on a slide that showes ironic client to api to conductor flow | 18:30 |
devananda | NobodyCam: not yet. want to create one? | 18:33 |
NobodyCam | lol | 18:33 |
dkehn | cue crickets | 18:33 |
NobodyCam | i can.. /me note that he is not good with image stuff | 18:34 |
* devananda raeds up on the conversation | 18:34 | |
devananda | dkehn: i'll draw something real quick | 18:36 |
dkehn | devananda: thx | 18:36 |
NobodyCam | :) | 18:37 |
dkehn | chkconfig --list | 18:37 |
dkehn | wrong wind sorry | 18:37 |
NobodyCam | lol | 18:37 |
devananda | https://docs.google.com/drawings/d/16c3g8Rx4y24mTDA76A0gw0ZxrHugeCN1r0zSzohTVKw/edit?usp=sharing | 18:37 |
dkehn | love it realtime | 18:38 |
*** tatyana has quit IRC | 18:40 | |
devananda | dkehn: see the chat on the doc? | 18:45 |
dkehn | devananda: I see your drawing if that's what you mean | 18:46 |
devananda | dkehn: there's a chat there too | 18:46 |
dkehn | hmm, that I don't see | 18:47 |
NobodyCam | dkehn: you need to sign in | 18:47 |
NobodyCam | ahh there you go | 18:47 |
dkehn | ok, now I got it | 18:47 |
devananda | regarding https://github.com/openstack/nova/blob/master/nova/virt/baremetal/driver.py#L500 | 18:54 |
NobodyCam | so many windows | 18:54 |
dkehn | thankd u | 18:54 |
devananda | the equivalent thing in Ironic's driver is going to be more interesting | 18:54 |
devananda | a) nova/virt/ironic/driver.py will need to use the ironic client library to call Ironic's API service | 18:55 |
devananda | to get some information about the node to which that instance is being associated | 18:55 |
devananda | the actual information will be generated by ... | 18:56 |
jbjohnso | devananda, ICMP ECHO REPLY | 18:56 |
devananda | https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/pxe.py | 18:57 |
dkehn | yes | 18:57 |
NobodyCam | jbjohnso: icmp? | 18:57 |
jbjohnso | NobodyCam, he said 'ping' | 18:57 |
devananda | dkehn: so your current patch should be ported to that file | 18:57 |
NobodyCam | oh | 18:57 |
NobodyCam | sorry | 18:57 |
devananda | dkehn: 50749, i mean | 18:57 |
jbjohnso | I am very high latency | 18:57 |
dkehn | yes, pxe.py -->pxe.py | 18:57 |
devananda | dkehn: now the plumbing -- how we get the result of ironic.drivers.modules.pxe:dhcp_opts_for_instance() back to Nova, that's going to be a bit more work | 18:58 |
dkehn | https://review.openstack.org/#/c/50749/3/nova/virt/baremetal/pxe.py to the ironic modelues pxe.py, to be clear | 18:58 |
jbjohnso | I was actually not paying attention to context of my very poor attempt at humor | 18:58 |
jbjohnso | but the context actually kind of makes it funny... kind of... | 18:59 |
dkehn | would that be previously set when the driver is initialized | 18:59 |
devananda | dkehn: we need to somehow expose that information via Ironic's REST API | 18:59 |
dkehn | ouch | 18:59 |
devananda | dkehn: it looks like none of this information is actually related to the instance itself | 19:00 |
devananda | dkehn: it will just be the conductor's IP address and the config option 'pxe_bootfile_name' | 19:00 |
devananda | romcheg isn't here, but it looks like we need to solve the "what conductor owns this instance" problem NOW() | 19:01 |
jbjohnso | devananda, well, it's not that easy right | 19:01 |
NobodyCam | devananda: yea | 19:01 |
jbjohnso | devananda, well, it could be more fancy than that | 19:01 |
jbjohnso | for example: | 19:01 |
devananda | jbjohnso: I PINGed you regarding: http://www.mail-archive.com/openstack-dev@lists.openstack.org/msg09279.html | 19:01 |
devananda | jbjohnso: seems like smoething you are better suited to answer than I | 19:02 |
dkehn | is the conductor the tftp server as well, as least in the simple case | 19:02 |
jbjohnso | devananda, ok, let me dig that out of my mailer | 19:02 |
devananda | dkehn: for the ironic PXE driver, the TFTP server is run on the same host(s) as the ir-cond process, yes | 19:02 |
NobodyCam | dkehn: yes (for now) | 19:02 |
devananda | dkehn: the trick is that ironic will have many other drivers -- many of which may not be even remotely PXE based :) | 19:03 |
jbjohnso | devananda, for reference | 19:03 |
devananda | so our REST API abstracts a lot of these things | 19:03 |
jbjohnso | http://paste.openstack.org/show/53691/ | 19:03 |
jbjohnso | devananda, that is an example of an xCAT setting up boot entry for xNBA and uefi or bios to start an os | 19:03 |
jbjohnso | devananda, that's the output into dhcpd | 19:03 |
devananda | awesome | 19:04 |
jbjohnso | now we have amibitions in xCAT land | 19:04 |
jbjohnso | of ceasing to bother dhcp with that stuff | 19:04 |
NobodyCam | jbjohnso: where do you ${NEXT-SERVER} | 19:04 |
devananda | dkehn: eventually we may need to pass things like that to Neutron :) | 19:04 |
devananda | dkehn: fun stuff, eh | 19:04 |
jbjohnso | NobodyCam, that is actually an ipxe variable | 19:04 |
dkehn | devananda: oh yea | 19:04 |
NobodyCam | :) | 19:04 |
jbjohnso | NobodyCam, in this particuar case, it was inherited by the network definition | 19:04 |
jbjohnso | NobodyCam, the intent being that entries without fixed-address can actually float network to network | 19:05 |
jbjohnso | NobodyCam, but in practice, no one does that in xcat land | 19:05 |
jbjohnso | NobodyCam, actually, the more important aspect is that things can float boot server to boot server | 19:05 |
devananda | yes | 19:05 |
jbjohnso | all the dhcp servers always send 'me' as the value that meanders into ${next-server} | 19:05 |
jbjohnso | actually | 19:06 |
jbjohnso | neutron only cares about addressing, right? | 19:06 |
jbjohnso | it doesn't care about this stuff unless ironic makes it... | 19:06 |
devananda | neutron has a dhcp agent | 19:06 |
jbjohnso | how much do you know about proxy dhcp? | 19:06 |
devananda | and we (ironic) want to be able to reconfigure the dhcp opts on demand | 19:06 |
devananda | not enough | 19:07 |
jbjohnso | so for at least some things, you can get by without messing with dhcpd | 19:07 |
* NobodyCam jumps into devananda's boat | 19:07 | |
dkehn | devananda: when you say passing it to neutron, your talking about the creation as its done today from nova? Its just that is doesn't exist in ironic presently? | 19:07 |
jbjohnso | I'm not sure that, for example, rfc 4173 could be done without dhcpd | 19:07 |
jbjohnso | but filename and some other stuff can be handled without butting into dhcpd's business | 19:08 |
jbjohnso | and as strange as this may sound | 19:09 |
dkehn | devananda: like https://github.com/openstack/nova/blob/master/nova/network/__init__.py | 19:09 |
jbjohnso | the daemon that I can show for console serving I'm toying with making a proxy dhcp server as well | 19:10 |
devananda | dkehn: for example, if conductor X fails, and ironic needs to migrate control of all the instances formerly managed by X over to conductor Y | 19:10 |
devananda | dkehn: then ironic needs to (directly, not via Nova) inform neutron that the dhcp opts for all those instances need to be updated | 19:11 |
dkehn | devananda: gotit so you will need in ironic a handle to the neutron that is managing the net, currently understood by nova | 19:11 |
devananda | dkehn: the goal is that one or more ironic-conductor instances will take over for the failed one. without having to re-deploy any nova instances that were managed by it. | 19:12 |
devananda | right | 19:12 |
dkehn | devananda: and the API interface to talk directly | 19:12 |
jbjohnso | devananda, so are you thinking RFC4173 type usage, or just pxe boot? | 19:12 |
dkehn | to neutron | 19:12 |
jbjohnso | devananda, or other things delivered by way of dhcp instead of other ways | 19:13 |
devananda | jbjohnso: boot-from-network-volume is a thing a lot of folks want | 19:13 |
devananda | jbjohnso: it's not part of the present discussion, but it's definitely on the roadmap, if someone comes along who wants to implement it | 19:14 |
jbjohnso | devananda, ok, in that case that would be in the bucket of 'stuff you can do only if you *really* trust the tenant | 19:14 |
jbjohnso | since rfc 4173 doesn't play so well with authentication | 19:14 |
devananda | jbjohnso: and using dhcp to facilitate that is one possible solution. another means is the OOB mgmt interfaces | 19:14 |
devananda | jbjohnso: many of those support mounting a network volume and booting from it,e ven when no local disks are present | 19:15 |
jbjohnso | devananda, right, that is very familiar to me | 19:15 |
devananda | jbjohnso: eg, folks doing high density clustering want hoards of diskless CPUs booting from a single image | 19:15 |
devananda | so Ironic should, ideally, abstract the different means of doing that into a common API | 19:16 |
devananda | whether it's rfc4173 or iLO virtual media or what ever | 19:16 |
jbjohnso | right, but note that iscsi with authentication isn't something that can safely play into dhcp | 19:16 |
devananda | sure. but lots of folks are (validly) not worried about security, because they will deploy this only inside oftheir firewall, for a specific workload. | 19:17 |
devananda | (and ofc other folks are validly VERY worried abotu security) | 19:17 |
jbjohnso | diskless cpus booting from a single image is a peculiar one except the form of like a xcat stateless image or particular nfs root solution | 19:17 |
devananda | ironic needs to communicate clearly which methods are/not secure | 19:17 |
devananda | anyhow. we've side tracked a lot | 19:18 |
jbjohnso | ok | 19:18 |
devananda | dkehn: i feel like we didn't finish that discussion about ironic & dhcp opts in nova. did we? | 19:18 |
jbjohnso | I'm realizing you probably meant network block device with clones instead of strictly one image | 19:18 |
NobodyCam | devananda: from my point of view ironic really needs to know what conductor (in this case tftp) server is goig to handle the request | 19:20 |
NobodyCam | trying not to get side tracked | 19:21 |
*** prekarat has quit IRC | 19:21 | |
devananda | NobodyCam: yea. which isnt represented in our data model at all right now | 19:21 |
jbjohnso | NobodyCam, now this is an interesting question... does it really | 19:21 |
jbjohnso | well.... that one can get complicated | 19:21 |
jbjohnso | but we have a concept of 'whoever offers first gets to handle that boot transaction' in xCAT | 19:22 |
NobodyCam | jbjohnso: we have until jan 23rd to make it work | 19:22 |
jbjohnso | and the relationship with that boot server evaporates post pxe | 19:22 |
devananda | jbjohnso: we're not setting the boot flag. nodes always PXE boot, even on reboot. | 19:22 |
jbjohnso | devananda, right, but | 19:23 |
openstackgerrit | A change was merged to openstack/python-ironicclient: Support building wheels (PEP-427) https://review.openstack.org/57142 | 19:23 |
jbjohnso | I meant the relationship is reset every pxe boot | 19:23 |
jbjohnso | devananda, if serverA responded one boot | 19:23 |
jbjohnso | serverB can respond just as easily | 19:23 |
jbjohnso | and basically in a pooled deployment server configuration, it's just racing to see who wins | 19:23 |
devananda | jbjohnso: you're assuming every server has the same set of tftp images | 19:23 |
devananda | which we are not | 19:23 |
jbjohnso | devananda, fyi, the only tftp image we assume are static for every xCAT instance in the world | 19:24 |
jbjohnso | devananda, but move that to http space | 19:24 |
devananda | jbjohnso: also, as NobodyCam just pointed out, we have an actual deadline for the project, and need to focus on implementing it now | 19:24 |
jbjohnso | so the protocol changes, but the concept does not. | 19:24 |
NobodyCam | we rebuild if the tftp env if a conductor fails | 19:24 |
jbjohnso | just wanted to point it pount, might be a non starter if you can't define a one-to-one dhcp to netwboot server anyway | 19:26 |
devananda | NobodyCam: so, rebuild the tftp env means we preserve that-there-is-an-association between conductor and instance. we just update that association and trigger a rebuild. | 19:26 |
jbjohnso | but it might be rendered an optional thing to worry about eventually | 19:26 |
devananda | NobodyCam: and notify neutron | 19:26 |
jbjohnso | incidently, if the boot configuration came down throught http, would that alter your design point any? | 19:27 |
jbjohnso | e.g. generate the config on demand rather than precreation of a static file? | 19:27 |
*** anniec has quit IRC | 19:32 | |
*** anniec has joined #openstack-ironic | 19:36 | |
jbjohnso | short of the mailing list thing, I need to pay attention to pyghmi again and get the sensors, eventlog, and inventory modules done | 19:38 |
*** blamar has quit IRC | 19:41 | |
*** blamar has joined #openstack-ironic | 19:44 | |
*** xmltok has left #openstack-ironic | 19:44 | |
*** jdob has quit IRC | 19:54 | |
*** jdob has joined #openstack-ironic | 19:54 | |
devananda | jbjohnso: there's work that needs to be done on getting sensor data into ironic and fromthere, into ceilometer. if you feel like writing python :) | 19:56 |
jbjohnso | devananda, there was one question I had, not having touched an openstack driver | 19:57 |
jbjohnso | how long lived can sensors object be? | 19:57 |
jbjohnso | trying to figure out if the sdr caching in memory on connection makes sense for the usage here | 19:57 |
jbjohnso | alternatively..... | 19:58 |
jbjohnso | if the console server also had api to get sensor and inventory data | 19:58 |
*** anniec has quit IRC | 19:59 | |
*** derekh has joined #openstack-ironic | 20:11 | |
* NobodyCam wanders afk for a few min | 20:12 | |
*** jdob has quit IRC | 20:12 | |
*** jdob has joined #openstack-ironic | 20:13 | |
*** anniec has joined #openstack-ironic | 20:13 | |
devananda | NobodyCam: https://blueprints.launchpad.net/ironic/+spec/distributed-tftp-for-pxe | 20:22 |
devananda | lifeless: ^ | 20:22 |
* NobodyCam looks | 20:23 | |
*** datajerk has joined #openstack-ironic | 20:27 | |
NobodyCam | GheRivero: also note ^^^^ things may differ from our call this morning | 20:27 |
*** anniec has quit IRC | 20:30 | |
devananda | example of auto-built API docs: http://docs-draft.openstack.org/46/57346/3/check/gate-ironic-docs/26b188b/doc/build/html/webapi/v1.html | 20:30 |
devananda | want lucas to see but he's not here :) | 20:30 |
devananda | formatting isnt quite right for the parameters & returns :( | 20:31 |
NobodyCam | but looking really good | 20:31 |
NobodyCam | :) | 20:32 |
*** datajerk has quit IRC | 20:32 | |
*** datajerk has joined #openstack-ironic | 20:35 | |
*** anniec has joined #openstack-ironic | 20:40 | |
*** epim has joined #openstack-ironic | 20:41 | |
*** blamar has quit IRC | 20:44 | |
*** blamar has joined #openstack-ironic | 20:50 | |
* NobodyCam runs to t-mo store to look at the nexus 5 ... /me really needs to update his sidekick running 2.2 | 20:50 | |
*** datajerk has quit IRC | 21:02 | |
lifeless | devananda: is there an etherpad where we can tune that? | 21:08 |
lifeless | devananda: I don't think caching all on all makes sense | 21:08 |
devananda | lifeless: if we dont cache all-on-all, then we need to model an association between conductors and instances | 21:10 |
lifeless | devananda: right. I thought you were happy with 'do nothing for now and focus on nova-bm replacement' ? | 21:11 |
lifeless | devananda: I am confused! | 21:11 |
devananda | lifeless: yes. if we limit the icehouse release of ironic to only support a single (active) conductor | 21:12 |
devananda | lifeless: then we can take some short cuts, but we still need to model certain things, like the IP of the conductor that "owns" this instance -- even if there's only one conductor, the API still needs to expose that IP | 21:12 |
lifeless | devananda: nova bm can run multiple compute processes today. | 21:12 |
lifeless | devananda: so that wouldn't be parity. | 21:12 |
devananda | lifeless: right. well. thus we need this :) | 21:12 |
lifeless | devananda: but 'this' is a different thing | 21:13 |
devananda | nova-bm has a sense of ownership | 21:13 |
devananda | this n-cpu "owns" this node | 21:13 |
lifeless | devananda: I'm worried that running a large DC of e.g. 10K machines will overwhelm any one conductor | 21:13 |
devananda | ironic does not have a sense of ownership, and I am trying to avoid adding that | 21:14 |
lifeless | and we're looking at densities of 900 machines in a single rack | 21:14 |
lifeless | so 10K is going to be 'medium' size deployment soon. | 21:14 |
devananda | i know | 21:14 |
devananda | modern file systems can handle 10K sym links in a directory | 21:14 |
devananda | so having each conductor maintain 10k symlinks to the same K & R pair is not a substantial burden | 21:15 |
lifeless | for the case where all the images are identical, yes. | 21:15 |
lifeless | which is an expected common case. | 21:15 |
devananda | even in cases with some heterogeneity, the # of k & r will be $small | 21:16 |
lifeless | The worst case is 1:1 with nodes | 21:16 |
devananda | i'm avoiding all the coplexit of scheduling "this instance goes on taht conductor" -- and the corrolary of "rebalance all these instances off of this conductor" | 21:17 |
devananda | complexity, even. | 21:17 |
devananda | my fingers aren't working. i need lunch soon :) | 21:17 |
lifeless | how about you get lunc | 21:18 |
lifeless | then ping me | 21:18 |
lifeless | maybe we can do smoe moderate/high bw discussion | 21:18 |
devananda | i dont want to introduce an actual scheduling service in ironic. and nova shouldn't know about the ironic-condcutor services or which ones own which instances | 21:18 |
lifeless | I have a call 2h from now | 21:18 |
devananda | great. i should hopefully be back when you're off that call | 21:18 |
devananda | 4pm my time | 21:18 |
lifeless | my call *starts* in 2h | 21:19 |
lifeless | 1230 my time | 21:19 |
lifeless | shouldn't be a long one. | 21:19 |
lifeless | anyhow, shoo. Eat. Ping on return:) | 21:19 |
devananda | lifeless: cal invite sent. bbl :) | 21:20 |
*** anniec has quit IRC | 21:25 | |
*** datajerk has joined #openstack-ironic | 21:35 | |
NobodyCam | nexus 5 looks like a very nice phone. I did not get it.. | 21:37 |
*** jdob has quit IRC | 21:45 | |
*** anniec has joined #openstack-ironic | 21:50 | |
hemna_ | so I've been trying to get up to speed on Ironic. looking at the drivers and drivers/modules | 22:03 |
hemna_ | it looks like we do some iscsi operations to login, attach, partition and format the target LUN, then detach | 22:04 |
hemna_ | There is code in Brick (from Cinder) that does iscsi initiator work, device discovery, attaching | 22:05 |
hemna_ | as well as Fibre Channel devices | 22:05 |
hemna_ | I'm going to refactor Nova's low level iscsi work to use Brick | 22:05 |
hemna_ | so it might be worth while to use Brick in Ironic as well | 22:06 |
NobodyCam | hemna_: that is used to deploy (DD) the user requested image on to the baremetal node | 22:06 |
NobodyCam | hemna_: replace this? https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/deploy_utils.py#L38-L70 | 22:10 |
*** jbjohnso has quit IRC | 22:13 | |
*** ekarlso has quit IRC | 22:15 | |
*** ekarlso has joined #openstack-ironic | 22:17 | |
NobodyCam | walkies time | 22:21 |
*** datajerk has quit IRC | 22:23 | |
*** datajerk has joined #openstack-ironic | 22:32 | |
hemna_ | NobodyCam, yah exactly | 22:45 |
hemna_ | we are working on extracting Brick from Cinder into it's own library | 22:46 |
hemna_ | to help eliminate the duplicate code in Nova and Cinder for iscsi/fc attaches | 22:46 |
openstackgerrit | lifeless proposed a change to openstack/ironic: PEP8-ify imports in test_ipmitool. https://review.openstack.org/57550 | 22:56 |
*** datajerk has quit IRC | 23:00 | |
*** epim has quit IRC | 23:04 | |
*** datajerk has joined #openstack-ironic | 23:06 | |
openstackgerrit | Haomeng,Wang proposed a change to openstack/python-ironicclient: Enable created_at/updated_at for port-show/chassis-show https://review.openstack.org/53991 | 23:12 |
*** michchap_ has quit IRC | 23:15 | |
NobodyCam | hemna_: that would be cool | 23:16 |
NobodyCam | gah just found a flaw in the ironic yaml in triple-heat-templates... | 23:17 |
*** michchap has joined #openstack-ironic | 23:18 | |
hemna_ | I'm basically trying to learn how Ironic works and see how we can integrate with Cinder. | 23:21 |
*** datajerk has quit IRC | 23:22 | |
hemna_ | see how Ironic can coordinate with Cinder for volume attaches for boot from volume. I'd like to see baremetal running on root volumes provisioned by Cinder | 23:22 |
hemna_ | a la diskless servers | 23:22 |
NobodyCam | boot from vol will require a driver other then the pxe driver | 23:23 |
NobodyCam | this has yet to be written | 23:23 |
hemna_ | looks like we'll need to somehow tell the bios on the server that it needs to boot from a SAN volume iscsi/FC | 23:24 |
hemna_ | still trying to wrap my head around it all | 23:24 |
hemna_ | learning PXE in the process | 23:24 |
*** datajerk has joined #openstack-ironic | 23:25 | |
NobodyCam | pxe is just one way to remote boot. | 23:25 |
*** anniec has quit IRC | 23:34 | |
*** anniec has joined #openstack-ironic | 23:41 | |
Haomeng | hemna_: I understand PXE uses dhcp and tftp to download PXE bootloader into ram and start sys from bootloader, then enable networking and do other things whatever | 23:45 |
hemna_ | Haomeng, that's what I'm beginning to understand. What I'm trying to figure out is how an iSCSI/FC/SAN volume can be presented as the root volume for the install of the image | 23:47 |
hemna_ | and then how to coordinate that with an existing non attached Cinder volume. | 23:47 |
hemna_ | There needs to be some coordination from Ironic to Cinder to tell Cinder to attach that volume to the host. | 23:47 |
Haomeng | cool | 23:48 |
hemna_ | Cinder will need to call the backend driver's initialize_connection, to present the LUN to the host. | 23:48 |
Haomeng | hemna_: we want to do boot from storage volume, right? | 23:48 |
hemna_ | and the host will have to do what it can do iscsi/fc attach | 23:48 |
hemna_ | Haomeng, yup | 23:48 |
hemna_ | that's the idea | 23:49 |
*** datajerk has quit IRC | 23:49 | |
hemna_ | I'm trying to climb the ironic learning curve for now to see how/what we need to do in Cinder to enable that | 23:49 |
hemna_ | I wrote the Brick Initiator code in Cinder and am going to refactor Nova to use Brick, once Brick is a standalone lib. | 23:49 |
Haomeng | hemna_: but I think we depends on deferent hardware system, because the sys in volumn have to match the hardware, such arch | 23:49 |
hemna_ | so isn't the PXE image the OS that will be installed onto the root volume ? | 23:50 |
Haomeng | hemna_: maybe we can do for x86 arch first | 23:50 |
Haomeng | hemna_: will be back... | 23:51 |
*** datajerk has joined #openstack-ironic | 23:53 | |
*** datajerk has quit IRC | 23:56 | |
devananda | lifeless: i'll be around in ~10 min | 23:58 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!