Friday, 2014-02-21

BLZbubbayeah, it is having trouble re-reading the partition table00:00
BLZbubbait did manage to wipe the windows stuff and make a 20G sda100:01
NobodyCamhumm00:01
NobodyCamhow large is the disk it self..00:02
BLZbubba500GB00:03
NobodyCampleanty of space00:03
BLZbubbawell i can hack up a way to have it boot with tgtd and then I can try running the sfdisk commands by hand00:04
mrdaI've got a couple of question on the Developer Quick Start Guide that's under review right now, specifically what I can exercise with the ironic services running locally.00:04
BLZbubbacan't you just take an image and write it to /dev/sda?00:05
BLZbubbawhy go through the agony of running fdisk00:05
mrdaUsing the fake driver - we're not actually launching anything, right?  i.e. we just manufacture mac address, ip address, ipmi credentials etc or do they need to correspond to entries on the box where the ironic service is running?00:06
NobodyCamlooks like you hitting this bug: https://bugs.launchpad.net/nova/+bug/119108400:06
NobodyCammrda: im understanding the question.... fake is for node control so it fakes the power actions and deploy actions00:07
BLZbubbaah thanks for the link00:07
NobodyCamgah must be getting late.. mrda I'm NOT understanding..00:08
mrdaNobodyCam: so, it's all fake? :)  It's only the ironic state that's updated, no actual external-to-ironic actins are triggered?  i.e. no network traffic etc?00:08
mrdas/actins/actions/00:09
NobodyCamsi, but then again we have fake_ssh/fake_pxe which only fake bits00:09
NobodyCamso fake_ssh does the ssh power but fakes the pxe bit while fake_pxe is the reverise of that00:10
mrdaok, so if we want to fake everything, using fake.  If I want to actually trigger a deploy, I can do that with fake_ssh (to a virtualbox or virsh)00:12
NobodyCamand soon vmware :-p00:12
mrdaok, cool00:12
NobodyCam(if that hasn't already landed)00:12
mrdaand this is possible from ironic standalone?  i.e. we don't need everything else?00:13
NobodyCammrda: some of that code path may be untried00:13
mrdai.e. nova ets00:13
mrdaetc00:13
NobodyCamthat may require a curl command or to but basicly yes00:14
BLZbubbai definitely don't recommend putting swap as the last partition, it should go first (or not be ther at all) so you can auto-expand the last partition00:14
BLZbubbaswap is kind of archaic00:14
NobodyCamBLZbubba: i think that change was made...00:15
* NobodyCam looks00:15
NobodyCamyaits there https://github.com/openstack/nova/blob/master/nova/cmd/baremetal_deploy_helper.py#L100-L10100:16
NobodyCamBLZbubba: you using packaged code?00:16
NobodyCamya that change landed back in OCT.. https://github.com/openstack/nova/commit/81d35f36e1dfdc02f55c5be3282d458f66e166a3#diff-1dcb9634ee51c9b1ed1c088420218843L9300:22
*** dhellmann has joined #openstack-ironic00:23
NobodyCamno wait I'm wrong00:26
NobodyCamit is root/swap00:26
NobodyCamyep same for us00:28
NobodyCamhttps://github.com/openstack/ironic/blob/master/ironic/drivers/modules/deploy_utils.py#L9100:28
*** matsuhashi has joined #openstack-ironic00:31
*** lazy_prince has quit IRC00:31
*** lazy_prince has joined #openstack-ironic00:32
*** lazy_prince is now known as killer_prince00:32
devanandamrda: no to several of your questions00:48
*** matsuhas_ has joined #openstack-ironic00:48
*** JoshNang_ has joined #openstack-ironic00:48
mrdadevananda: which ones? :)00:48
devanandamrda: first, take a look at ironic.drivers.fake to understand what the different "fake" drivers are00:49
devanandathey stub certain interfaces while implementing others00:49
devanandafor partial testing00:49
devanandaeg, test just the SSHPowerDriver in isolation00:49
*** openstack_ has joined #openstack-ironic00:50
mrdaok, shall do, thanks devananda00:50
devanandamrda: second, can you trigger a deploy with XXX, the answer is you probably dont want to use a "fake" driver for that :)00:51
*** matty_du1s|gone has joined #openstack-ironic00:51
devanandaPXE is the deploy driver00:51
devanandaso you need that00:51
devanandaif you want to push the power button on the machine ,you actually could use fake_pxe driver00:51
devanandaotherwise you should use a real power driver ;)00:51
devanandaeg, pxe_ipmitool00:52
devanandamrda: forthe PXE driver to put an image on a machine, however, it needs a DHCP server to point the machine's DHCP BOOT request at the tftpd server00:53
mrdaso what if I want to get a deploy happening using vms?  can I use the fake ssh driver to accomplish that?00:53
devanandaNobodyCam: oh. we should probably make the PXE driver start tftpd00:53
devanandaNobodyCam: or document that it's an external req00:53
devanandai think we'd assumed that from nova-bm, but that's lame of us to make such an assumption00:54
devanandamrda: yes, ssh power driver will work for VMs00:54
NobodyCamoh doh! yes!00:54
*** aignatov` has joined #openstack-ironic00:54
*** aignatov` is now known as aignatov00:55
mrdak, so I should be able to run ironic standalone, and get it to deploy an image to a VM that I've previously built in virtualbox, using the ssh power driver?00:55
*** matsuhashi has quit IRC00:55
*** yuriyz has quit IRC00:55
*** Xurong has quit IRC00:55
*** lifeless has quit IRC00:55
*** aignatov_ has quit IRC00:55
*** ewindisch has quit IRC00:55
*** JoshNang has quit IRC00:55
*** matty_dubs|gone has quit IRC00:55
*** ewindisch has joined #openstack-ironic00:56
*** JoshNang_ is now known as JoshNang00:57
devanandamrda: well. not yet.00:57
mrdadevananda: :)00:57
devanandamrda: we currently depend on glance for the images, neutron for DHCP, and nova for the cloud metadata00:57
devanandato parameterise the instane after boot00:57
*** lifeless has joined #openstack-ironic00:57
devanandamrda: but i think it'd be neat if we didn't depend on those00:59
devanandai maen, neutron is kinda tricky to depend on00:59
mrdasure, less moving parts so we can concentrate on doing what's needed in ironic00:59
devanandaright00:59
mrdait kinda feels we're in the wild west right now - neutron, tripleo and ironic are all frontier projects01:00
* devananda hands mrda a cowboy hat01:01
*** lifeless has quit IRC01:02
mrdayeehaw!01:02
*** lifeless has joined #openstack-ironic01:02
*** yuriyz has joined #openstack-ironic01:03
devanandaNobodyCam: bug - https://bugs.launchpad.net/ironic/+bug/128283601:03
* NobodyCam looks01:03
NobodyCam:)01:04
* mrda wanders off to read about the different fake drivers01:05
* NobodyCam wanders off to drink strawberry daiquiri's01:06
devanandaNobodyCam: enjoy!01:08
* devananda wanders away for the evening too01:08
NobodyCam:)01:10
mrdathanks for the help devananda and NobodyCam, much appreciated01:11
NobodyCam:) happy to help01:13
*** openstackgerrit has quit IRC01:18
*** openstackgerrit has joined #openstack-ironic01:19
*** nosnos has joined #openstack-ironic01:34
openstackgerritYuiko Takada proposed a change to openstack/python-ironicclient: Fix the test parameter order part2  https://review.openstack.org/7527701:36
openstackgerritYongli He proposed a change to openstack/ironic: Remove extraneous vim configuration comments for ironic  https://review.openstack.org/7316001:54
openstackgerritShuangtai Tian proposed a change to openstack/ironic: Sync common modules from olso to remove module py3kcompat  https://review.openstack.org/7347901:57
openstackgerritYongli He proposed a change to openstack/ironic: Use six.moves.urllib.parse instead of urlparse  https://review.openstack.org/7288902:00
*** rmiki has joined #openstack-ironic02:00
openstackgerritYongli He proposed a change to openstack/ironic: Use six.moves.urllib.parse instead of urlparse  https://review.openstack.org/7288902:06
*** rmiki has quit IRC02:10
*** hemna is now known as hemna_02:12
*** anniec has joined #openstack-ironic02:12
*** matsuhas_ has quit IRC02:34
*** matsuhas_ has joined #openstack-ironic02:36
*** rloo has quit IRC02:44
*** openstack_ is now known as Xurong02:47
*** matsuhas_ has quit IRC03:03
*** matsuhas_ has joined #openstack-ironic03:06
*** jcooley_ has joined #openstack-ironic03:17
*** anniec has quit IRC03:25
*** matsuhas_ has quit IRC03:29
*** jcooley_ has quit IRC03:34
*** jcooley_ has joined #openstack-ironic03:35
*** killer_prince2 has joined #openstack-ironic03:39
*** jcooley_ has quit IRC03:39
*** killer_prince2 is now known as lazy_prince03:39
*** harlowja is now known as harlowja_away03:45
*** lazy_prince has quit IRC03:50
*** KanagarajM_ has joined #openstack-ironic03:54
*** matsuhashi has joined #openstack-ironic04:25
*** pradipta` is now known as pradipta04:28
*** epim has joined #openstack-ironic04:33
*** jcooley_ has joined #openstack-ironic04:35
*** jcooley_ has quit IRC04:40
*** anniec has joined #openstack-ironic04:44
*** epim has quit IRC04:53
*** lazy_prince has joined #openstack-ironic04:55
*** jcooley_ has joined #openstack-ironic05:03
*** jcooley_ has quit IRC05:11
*** loki_ has joined #openstack-ironic05:14
*** matsuhashi has quit IRC05:23
*** shausy has joined #openstack-ironic05:30
*** shausy has quit IRC05:32
*** matsuhashi has joined #openstack-ironic05:33
*** anniec has quit IRC05:40
*** jcooley_ has joined #openstack-ironic05:47
*** anniec has joined #openstack-ironic05:50
*** mrda is now known as mrda_weekending05:52
*** killer_prince has quit IRC06:01
*** killer_prince has joined #openstack-ironic06:03
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/7119206:06
*** coolsvap has joined #openstack-ironic06:13
*** vkozhukalov has joined #openstack-ironic06:34
*** aignatov is now known as aignatov_06:35
*** saju_m has joined #openstack-ironic06:36
*** datajerk has joined #openstack-ironic06:38
*** datajerk has quit IRC06:39
*** datajerk has joined #openstack-ironic06:40
openstackgerritAndreas Jaeger proposed a change to openstack/ironic: Improve help strings  https://review.openstack.org/7482206:40
*** lsmola has joined #openstack-ironic06:42
*** lsmola has quit IRC06:42
*** lsmola has joined #openstack-ironic06:43
*** jcooley_ has quit IRC07:12
*** jcooley_ has joined #openstack-ironic07:15
*** jcooley_ has quit IRC07:18
*** mdurnosvistov_lt has joined #openstack-ironic07:20
*** vkozhukalov has quit IRC07:31
*** marty has joined #openstack-ironic07:36
*** hstimer has quit IRC07:40
*** marty has quit IRC07:41
*** pbrooko has joined #openstack-ironic07:42
*** mdurnosvistov_lt has quit IRC07:47
*** jistr has joined #openstack-ironic07:48
*** jcooley_ has joined #openstack-ironic07:49
*** dshulyak has joined #openstack-ironic07:52
*** jcooley_ has quit IRC07:54
*** Haomeng has quit IRC08:01
*** aignatov_ is now known as aignatov08:03
openstackgerritSun Jing proposed a change to openstack/ironic: Support serial console access  https://review.openstack.org/6410008:05
*** anniec has quit IRC08:06
*** Haomeng has joined #openstack-ironic08:17
*** saju_m has quit IRC08:31
*** KanagarajM_ has quit IRC08:32
openstackgerritYuiko Takada proposed a change to openstack/python-ironicclient: Fix the test parameter order part2  https://review.openstack.org/7527708:38
*** jcooley_ has joined #openstack-ironic08:41
*** viktors-away is now known as viktors08:50
*** jcooley_ has quit IRC08:51
*** ndipanov has joined #openstack-ironic08:59
*** saju_m has joined #openstack-ironic09:01
openstackgerritMikhail Durnosvistov proposed a change to openstack/python-ironicclient: Remove shebang lines from code  https://review.openstack.org/7464809:01
*** saju_m has quit IRC09:02
*** vkozhukalov has joined #openstack-ironic09:07
*** derekh has joined #openstack-ironic09:10
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Remove shebang lines from code  https://review.openstack.org/7473109:13
*** saju_m has joined #openstack-ironic09:21
*** martyntaylor has joined #openstack-ironic09:24
*** lucasagomes has joined #openstack-ironic09:33
*** pradipta` has joined #openstack-ironic09:41
*** max_lobur_afk is now known as max_lobur09:43
*** pradipta has quit IRC09:44
*** jcooley_ has joined #openstack-ironic09:47
*** tatyana has joined #openstack-ironic09:49
*** jcooley_ has quit IRC09:52
lifelessdevananda: btw - https://pypi.python.org/pypi/concoord might be a nice replacement for locks-in-db, amongst other things09:58
*** Kanagaraj has joined #openstack-ironic10:00
*** yuriyz has quit IRC10:07
openstackgerritRohan Kanade proposed a change to openstack/ironic: Implement the SeaMicro Power driver  https://review.openstack.org/7071910:08
openstackgerritRohan Kanade proposed a change to openstack/ironic: Implements SeaMicro VendorPassThru functionality  https://review.openstack.org/7072010:08
*** sanek11 has joined #openstack-ironic10:10
*** sanek11 is now known as agordeev10:10
agordeevgood morning, all10:10
*** KanagarajM_ has joined #openstack-ironic10:13
*** Kanagaraj has quit IRC10:16
*** aignatov is now known as aignatov_10:16
*** yuriyz has joined #openstack-ironic10:17
max_loburmorning Ironic10:19
agordeevmax_lobur: morning :)10:21
*** derekh has quit IRC10:27
*** derekh has joined #openstack-ironic10:31
*** jcooley_ has joined #openstack-ironic10:41
*** athomas has joined #openstack-ironic10:45
*** coolsvap has quit IRC10:45
*** jcooley_ has quit IRC10:46
*** aignatov_ is now known as aignatov10:46
*** jcooley_ has joined #openstack-ironic10:47
Haomengmorning agordeev, max_lobur :)10:47
*** jistr has quit IRC10:48
*** pradipta has joined #openstack-ironic10:49
yuriyzmorning All10:49
*** pradipta` has quit IRC10:51
*** jcooley_ has quit IRC10:52
*** coolsvap has joined #openstack-ironic10:52
Haomengyuriyz: morning:)10:53
agordeevmorning Haomeng, yuriyz10:53
*** athomas has quit IRC10:54
*** nosnos has quit IRC10:58
Haomengagordeev: :)10:58
*** matsuhashi has quit IRC11:02
*** athomas has joined #openstack-ironic11:03
*** mdurnosvistov has quit IRC11:05
*** mdurnosvistov has joined #openstack-ironic11:05
mdurnosvistovmorning all! :)11:05
*** jistr has joined #openstack-ironic11:05
*** vkozhukalov has quit IRC11:08
agordeevmdurnosvistov: morning11:11
*** KanagarajM_ has quit IRC11:15
*** KanagarajM_ has joined #openstack-ironic11:15
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add provision_updated_at field to nodes table  https://review.openstack.org/7478111:20
*** vkozhukalov has joined #openstack-ironic11:20
*** coolsvap has quit IRC11:28
*** KanagarajM_ has quit IRC11:45
*** KanagarajM_ has joined #openstack-ironic11:47
*** jcooley_ has joined #openstack-ironic11:48
*** jcooley_ has quit IRC11:53
*** yuriyz has quit IRC11:56
*** KanagarajM__ has joined #openstack-ironic11:58
*** KanagarajM_ has quit IRC12:00
*** aignatov is now known as aignatov_12:02
*** KanagarajM__ has quit IRC12:07
*** aignatov_ is now known as aignatov12:23
*** vkozhukalov has quit IRC12:39
openstackgerritEugeniya Kudryashova proposed a change to openstack/python-ironicclient: Use HTTPClient from common Oslo code  https://review.openstack.org/6428612:43
*** vkozhukalov has joined #openstack-ironic12:55
*** aignatov is now known as aignatov_12:55
*** loki_ has quit IRC13:03
*** zul has joined #openstack-ironic13:09
*** jdob has joined #openstack-ironic13:24
*** aignatov_ is now known as aignatov13:36
*** max_lobur is now known as max_lobur_afk13:41
*** russellb is now known as rustlebee13:44
*** jcooley_ has joined #openstack-ironic13:47
*** jcooley_ has quit IRC13:52
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: API: Expose a way to start/stop the console  https://review.openstack.org/7299814:10
*** saju_m has quit IRC14:10
openstackgerritLucas Alvares Gomes proposed a change to openstack/python-ironicclient: Filtering nodes by maintenance mode  https://review.openstack.org/7512114:16
*** zul has quit IRC14:20
openstackgerritLucas Alvares Gomes proposed a change to openstack/python-ironicclient: Filtering nodes by maintenance mode  https://review.openstack.org/7512114:31
*** ndipanov is now known as ndipanoff14:32
*** aignatov is now known as aignatov_14:33
*** aignatov_ is now known as aignatov14:38
NobodyCamGood morning Ironic & TGIF!!!!14:43
lucasagomesNobodyCam, morning!14:45
lucasagomesoh yeah!14:45
NobodyCammorning lucasagomes :)14:45
*** linggao has joined #openstack-ironic14:47
*** matty_du1s|gone is now known as matty_dubs14:48
*** jcooley_ has joined #openstack-ironic14:48
max_lobur_afkmorning Folks :)14:49
max_lobur_afkTGIF!14:49
*** max_lobur_afk is now known as max_lobur14:49
NobodyCammorning max_lobur :)14:50
NobodyCamoh ya14:50
*** jcooley_ has quit IRC14:54
lucasagomesmorning max_lobur14:57
lucasagomesmax_lobur, heh I will rollback that code then15:01
lucasagomeswanted to shrink some lines, but yeah it might be obscure to leave that way15:01
lucasagomes:P15:01
max_loburthx :)15:02
NobodyCamlucasagomes: you see 72007 (Refactor get_iscsi_initiator to a common location) landed15:02
openstackgerritAndreas Jaeger proposed a change to openstack/ironic: Improve help strings  https://review.openstack.org/7482215:03
lucasagomesNobodyCam, w00ts yea15:03
lucasagomesmarkmc approved it :D15:03
NobodyCamlol means a round of rebasing15:03
NobodyCamya15:04
openstackgerritLucas Alvares Gomes proposed a change to openstack/python-ironicclient: Filtering nodes by maintenance mode  https://review.openstack.org/7512115:05
*** jcooley_ has joined #openstack-ironic15:09
*** coolsvap has joined #openstack-ironic15:10
* NobodyCam makes another cup of coffee15:12
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Old value 'updated_at' field returned after update  https://review.openstack.org/7543015:14
max_loburanyone happened to see this tox.ConfigError: ConfigError: substitution key 'posargs' not found15:18
max_lobur ?15:18
max_loburtrying to run tox on freshly created vm15:18
max_lobur(in python-ironicclient)15:18
max_loburahh, found it https://bugs.launchpad.net/openstack-ci/+bug/127413515:19
max_lobursolved pip install --upgrade "tox>=1.6,<1.7"15:19
NobodyCamyep thats it15:21
*** jbjohnso has joined #openstack-ironic15:21
jbjohnsoSo, I have some project that I might want to show and tell (mostly console management) to gauge interest15:22
jbjohnsowould anyone be interested (sadly, requirement to watch the show and tell is java plugin in browser since that's what my web conferencing software requires)15:23
jbjohnsoto be clear, the console management code in no way requires Java15:23
NobodyCamlol15:23
jbjohnsothat would make me feel dirty..15:23
NobodyCamhow long is this demo?15:23
jbjohnsoas short as people like15:24
jbjohnsoI'd actually hold a call and people could dial in15:24
jbjohnsoit would be a live play with it sort of thing15:24
NobodyCamI would watch..15:24
jbjohnsoit's not externally licensed yet, and I need to probe the waters15:24
jbjohnsothe saddest part for me is having to open up the old windows console to host the stupid thing15:25
jbjohnsolinux can watch with java plugin15:25
jbjohnsobut only windows can share....15:26
jbjohnso(hoping beyond hope that my new overloards will use a different solution for this crap)15:26
NobodyCamlol I run a vm with windows so I can have outlook with usb key15:26
jbjohnsohmm, interesting, I was sort of hoping that something like evolution would do MAPI adequately...15:27
NobodyCamlol15:27
jbjohnso(I do know the new overloards use Exchange)15:27
matty_dubsjbjohnso: You should come to Red Hat, we don't use Exchange! ;)15:27
jbjohnsomatty_dubs, then I'd have to drive downtown... but then again I do drive 40 on a near daily basis, so who am I to talk...15:28
matty_dubsHaha.15:28
NobodyCam:)15:29
jbjohnsoI-40 that is to be clear, since raleigh is not first on people's minds15:29
matty_dubsWhat sort of console management is this that you're talking about? Like serial consoles, or VNC?15:29
* NobodyCam was thinking drive WIth a 4015:29
jbjohnsonot 40 mph or worse, 40 kph... though some days on I-40 40 kph would be a blessing...15:29
NobodyCamwich the cops out here don't like15:29
matty_dubsHaha15:29
Shrewsooh, a fellow North Carolinian...15:29
jbjohnsomatty_dubs, serial console.  Picture shellinaboxd but with multiple consoles being managed, logging, and non-http access also available15:29
* Shrews avoid 40 like the plague15:30
matty_dubsOoh! That could be interesting.15:30
* matty_dubs has been hacking at patch adding serial console support in Ironic, so it's right up my alley15:30
jbjohnsoit's so strange, after upgrading to 8.1 my windows system bugs me about activating windows again, but then it just keeps failing because of some DNS error... oh well...15:31
jbjohnsoit'll just share with watermark15:31
jbjohnsoanyway, I have a rare moment of peaceful time at the moment, if people are interested15:32
NobodyCami'd watch15:33
jbjohnsohttps://www.ibm.com/collaboration/meeting/join?schedid=444635315:33
jbjohnsoand I'll start a conference call at 1-888-426-6840, passcode 847544015:34
* matty_dubs dials15:35
NobodyCamYou must have access to the IBM intranet,15:36
devanandag'morning, all15:36
NobodyCamgood morning devananda15:36
jbjohnsoNobodyCam, try again...15:36
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic: Clarify and fix the dev-quickstart doc some more  https://review.openstack.org/7490915:41
*** lnxnut has joined #openstack-ironic15:43
*** lazy_prince has quit IRC15:44
*** max_lobur is now known as max_lobur_afk15:45
Shrewsdevananda: that ^^^ is my clobbering of your change. I removed the bit about installing a web server for building the docs. That's overkill, IMO.15:45
openstackgerritAndreas Jaeger proposed a change to openstack/ironic: Improve help strings  https://review.openstack.org/7482215:47
devanandaShrews: that's fair. though you added a trailing space15:50
Shrewsgah15:50
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic: Clarify and fix the dev-quickstart doc some more  https://review.openstack.org/7490915:51
devananda:)15:52
*** mdurnosvistov has quit IRC15:55
BLZbubbamorning15:56
BLZbubbaok got a question here, why is there a separate kernel/initrd/image for bare metal deploys?  shouldn't I just be able to choose an existing image and have the deploy helper write it out instead of trying to partition the iscsi target?15:58
devanandaBLZbubba: there are two pairs of k&r for a bare metal deploy today15:59
devanandaBLZbubba: first is the deploy kernel & ramdisk. that exposes the disks as an iscsi target, and what bm-deploy-helper uses to access the ndoe16:00
devanandaBLZbubba: second is the k&r that must match the user image. these are served because we force the node to boot from network, even after writing an image to it16:00
*** jcooley_ has quit IRC16:00
NobodyCammorning BLZbubba on a conf cal atm16:01
devanandaBLZbubba: there's work being done in Ironic to allow local boot. but not in nova-bm16:01
*** jcooley_ has joined #openstack-ironic16:01
devanandaBLZbubba: there's also work in ironic to allow whole-disk images rather than partition images16:01
*** viktors has quit IRC16:03
*** jcooley_ has quit IRC16:06
matty_dubsjbjohnso: Thanks, that was really interesting!16:08
*** coolsvap has quit IRC16:08
NobodyCamjbjohnso: thanks looks really good16:08
jbjohnsomatty_dubs, now I can honestly lead with 'openstack is keen on it'16:08
*** coolsvap1 has joined #openstack-ironic16:08
jbjohnso(slight oversimplification, but I think they just call that 'marketing'16:08
*** coolsvap1 has quit IRC16:08
* matty_dubs takes pride in constituting 50% of the 'OpenStack community' ;)16:09
matty_dubsBut seriously, I think it would be interesting16:09
NobodyCamlol that makes me the other 50%16:09
NobodyCammatty_dubs: jbjohnso ++16:09
BLZbubbadevananda: gotcha, that makes a little more sense.  it sounds like the #1 obstacle is making sure dnsmasq only answers to machines that are in a spawning state16:09
*** jcooley_ has joined #openstack-ironic16:10
jbjohnsoI can even use the word 'plurality' when referring to openstack interest16:10
jbjohnsooh, that was another interesting feat16:10
BLZbubbaonce you do that, any image should be able to boot as long as it can detect the hardware16:10
jbjohnsothis is goingto sound weird, but it also has a dhcp-indepedent PXE feature in plan16:10
jbjohnsothe 'console' server16:11
BLZbubbaNobodyCam: ok sfdisk is insane.  i changed the 3 second sleep to 300, and during the 5 minute break I was able to run fdisk and it read the new partitions in no problem16:11
BLZbubbabut sfdisk still griped about not being able to read in the new partition table16:11
BLZbubba$^$^#@$^@#16:11
NobodyCamhumm thats strange16:12
BLZbubbastrange is way too nice a word16:12
NobodyCamlol16:12
lucasagomesBLZbubba, try to use partprobe to force the kernel to reread the part table16:13
lucasagomesjust to see16:13
*** coolsvap1 has joined #openstack-ironic16:14
*** mdurnosvistov has joined #openstack-ironic16:15
BLZbubbalucasagomes: ah good idea.  does it ever return a non-zero value though?16:16
lucasagomesBLZbubba, I guess it does16:18
lucasagomesshould at least16:18
NobodyCamBLZbubba: is the sfdisk part table valid for testing could you add "|| true" to sfdisk command16:18
BLZbubbaoh i see, it works even if the partitions are mounted16:18
BLZbubbathe deploy helper should just do that after sfdisk16:19
lucasagomesdevananda, NobodyCam max_lobur_afk, re lifeless comment at https://review.openstack.org/#/c/65750/11/ironic/drivers/modules/pxe.py16:20
lucasagomesI think it makes sense, should we also use root_mb in ironic?16:20
lucasagomesand let the ironic driver for nova do the conversion for us?16:21
devanandalucasagomes: ++16:21
lucasagomesdevananda, ack, will fix it16:21
devanandaagordeev: hi! any updates on the devstack / neutron work?16:24
*** aignatov is now known as aignatov_16:31
*** jistr has quit IRC16:37
NobodyCammax_lobur_afk:  ( pretty sure lucasagomes and devananda have seen) but review for deployer docs! :)16:42
*** jcooley_ has quit IRC16:44
*** jcooley_ has joined #openstack-ironic16:44
*** mdurnosvistov has quit IRC16:46
NobodyCamlucasagomes: could you look at lines 15 thru 18 of https://review.openstack.org/#/c/74282/7/doc/source/deploy/install-ironic.rst16:48
NobodyCamthe package names dont look correct for rh16:49
NobodyCamat least to me ... been awhile16:49
lucasagomesNobodyCam, lemme see16:49
lucasagomesNobodyCam, yeah apache2 for e.g is httpd16:49
lucasagomesNobodyCam, and dev are usually devel in feb/rhel16:50
lucasagomeslemme get the right package names and comment there16:50
NobodyCamTY lucasagomes i'm reviewing now16:51
lucasagomesNobodyCam, ack16:51
*** Haomeng|3 has joined #openstack-ironic16:51
*** Haomeng has quit IRC16:52
*** max_lobur_afk is now known as max_lobur16:54
* max_lobur looking16:55
*** comstud is now known as bearhands16:56
*** jcooley_ has quit IRC16:57
*** jcooley_ has joined #openstack-ironic16:58
lucasagomesNobodyCam, sudo yum install git httpd python-devel swig openssl-devel python-pip mysql-devel libxml2-devel libxslt-devel libxslt-devel MySQL-python libpqxx-devel16:58
lucasagomesleft in a comment there as well16:58
max_loburlifeless comment to https://review.openstack.org/#/c/65750/11/ironic/drivers/modules/pxe.py makes sense to me too16:58
max_loburdevananda, I talked to agordeev today16:58
NobodyCamlucasagomes: i also left several comments16:58
*** matty_dubs is now known as matty_dubs|lunch16:58
max_loburthere's still a problem with dhcp requests, they lost somewhere in br-int16:59
max_loburbut I just came back from neutron guys, and I think I have the solution16:59
max_loburneed to check16:59
lucasagomesNobodyCam, nice :D16:59
max_loburthe trick is that all the traffic within br-int has VLAN tag17:00
max_loburwhereas our tap device connected to br-int seems does not have it17:00
NobodyCambbt...brb17:00
max_loburthis may be the reason17:00
*** jcooley_ has quit IRC17:02
devanandamax_lobur: ah, is this w.r.t. agordeev's devstack patch?17:03
*** derekh has quit IRC17:04
max_loburyup17:04
devanandacool17:04
devanandai'm fighting with devstack again this morning. it doesn't want to install pip packages for me now ...17:05
max_loburwhat's the error?17:05
NobodyCamwhat version of pip17:05
NobodyCam1/7 is broken17:05
max_loburIIRC you used some local mirror for pip17:05
max_loburmaybe it's the reason17:05
devanandapip 1.4.117:05
devanandathis is a ~1day old HP CLoud instance17:06
NobodyCamwhat i'm thinking tox ..never mind me17:06
BLZbubbaok the partprobe hack seems to have worked17:08
BLZbubbalucasagomes: thank you, how did I make it 20 years without ever using partprobe :P17:09
lucasagomesBLZbubba, :D17:09
lucasagomesnp17:09
matty_dubs|lunch17:10
matty_dubs|lunch17:10
matty_dubs|lunch17:10
matty_dubs|lunch...what did I just do?17:10
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Use MB instead of GB for the root part size  https://review.openstack.org/7546417:10
NobodyCamprinted three I's17:10
matty_dubs|lunchThis new laptop has a flaky trackpad. Sorry for pasting gibberish all over the place.17:10
BLZbubba"deployment to node 1 done" awesome17:10
BLZbubbaok now does it actually boot and run :P17:10
NobodyCamBLZbubba: congratz17:11
lucasagomesBLZbubba, w00t!17:11
BLZbubbathanks for all your help, it would have taken a lot longer without this channel17:11
* devananda rebuilds devstack instance17:12
NobodyCam:)17:12
NobodyCamBLZbubba: our charge is one patch ... lol17:13
BLZbubbaok the partprobe one will be pretty easy17:13
BLZbubbaand then i have a couple more additions to try17:14
BLZbubba1) make dnsmasq only answer for nodes in the baremetal nodes table17:14
BLZbubbaand then 2) add the ability to write out a glance image and skip the pxe boot once the deploy is done17:14
NobodyCamBLZbubba: nova baremetal will be deperactaed at some point by ironic17:14
NobodyCami would put to much effort in to patching it17:15
NobodyCamand i was just kidding :-p17:15
NobodyCamthou we are always looking for developers17:15
BLZbubbai would love to help this project17:15
NobodyCam:)17:16
*** epim has joined #openstack-ironic17:16
BLZbubbai have a requirement to deploy windows 2012, so I will be highly motivated to help with whatever that requires17:16
BLZbubbahence the dnsmasq change and ability to skip the pxe part after the deploy is done17:17
NobodyCamkeep an eye on the ironic blueprints !17:17
*** jcooley_ has joined #openstack-ironic17:17
BLZbubbaok17:18
NobodyCamand this review: https://review.openstack.org/#/c/73054/17:18
*** digambar has joined #openstack-ironic17:18
*** epim_ has joined #openstack-ironic17:19
devanandaBLZbubba: what's your timeline with that // does it matter whether you're using nova-baremetal or ironic?17:19
BLZbubbaok cool17:19
*** lsmola has quit IRC17:20
*** epim has quit IRC17:20
*** epim_ is now known as epim17:20
BLZbubbanot sure on the timeline, if my demo of the Linux deploy goes well it will be "ASAFP"17:20
NobodyCamlol of course thats always the way it is17:21
*** jcooley_ has quit IRC17:21
BLZbubba:)17:21
BLZbubbathat blueprint looks cool; how well does ironic keep dnsmasq under control?17:22
*** jcooley_ has joined #openstack-ironic17:22
BLZbubbai really want to add the "static" option17:22
devanandaBLZbubba: dnsmasq? so, ironic doesn't support that today (someone ought to add it ...)17:22
devanandaBLZbubba: ironic and current nova-bm both use neutron for the DHCP17:23
*** jcooley_ has quit IRC17:24
BLZbubbaoh ok the docs said to start dnsmasq by hand and i'm using nova-network17:26
NobodyCampost bbt walkies...bbiafm17:26
BLZbubbaguess this is my excuse to finally deploy neutron17:26
*** pbrooko has quit IRC17:27
devanandaBLZbubba: if you're using grizzly, ya, that's right17:27
BLZbubbahavana17:28
BLZbubbait booted! should I be able to use the ubuntu login with my default key pair?17:29
devanandayep17:29
devanandaso, last i played with it, using dnsmasq led to requiring file injection to get the IP into the instance17:30
devanandausing dnsmasq for the DHCP BOOT meant that nova-net isn't providing DHCP (or else they'd race)17:31
*** jcooley_ has joined #openstack-ironic17:31
devanandaso your instance may not have an IP address now17:31
*** jcooley_ has quit IRC17:32
*** tatyana has quit IRC17:36
*** dtalton has joined #openstack-ironic17:39
*** dtalton has left #openstack-ironic17:40
*** vkozhukalov has quit IRC17:40
BLZbubbait does17:41
BLZbubbai just can't figure out how to ssh into it yet17:41
devanandaok, rebuilding the HPCS instance fixed my pip issue.. .how annoying17:42
BLZbubbai saw console messages about ssh keys from the cloudinit part17:42
BLZbubbatoo bad the ilo/drac/ipmi systems don't have a vnc option or it would integrate very well with horizon17:42
*** mdurnosvistov_lt has joined #openstack-ironic17:46
*** epim has quit IRC17:48
NobodyCamback ... but now running to starbucks for a REAL cup of coffee... bbi 20 min (barring long lines)17:49
*** matty_dubs|lunch is now known as matty_dubs17:51
*** mdurnosvistov_lt has quit IRC17:53
*** max_lobur is now known as max_lobur_afk17:55
*** harlowja_away is now known as harlowja17:56
devanandaShrews: fwiw, i prefer calling testr directly because it's still much much faster17:56
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Simplify locking around acquiring Node resources  https://review.openstack.org/7197417:57
*** wendar has quit IRC17:57
devanandaaaaarrrrrrgh17:58
Shrewsdevananda: the initial tox run is slow b/c it creates virtualenv's for py26 and py27, but subsequent runs should be just as fast as running testr directly17:59
devanandaagordeev: your devstack patch continues to wipe out network connectivity to the instance :(17:59
devanandaagordeev: well, im assuming its your patch, but to be fair, it might just be neutron ...17:59
Shrewsbut you can do it your way if you're careful18:00
devanandaShrews: it'll never be "just as fast" -- it runs several more things, eg. pip install -U, which takes a bit even if it doesn't install anything18:00
devanandatestr run --parallel => 15 seconds. tox -epy27 on a good day is a few minutes18:01
Shrewswell, true. but jenkins is going to do that when you submit it, so best to verify it's going to work before submitting for review.18:01
devanandaShrews: maybe it's because tox is recreating .tox/epy27 each time18:02
devanandaShrews: sure - i agree that calling testr is an approximation18:02
Shrewsdevananda: i don't see the env being recreated at all (unless you use the --recreate option)18:04
Shrewsi don't even see pip trying to upgrade unless that option is used18:04
Shrewsmaybe the upgrade happens behind the scenes, but env is definitely not rebuilt18:05
*** anniec has joined #openstack-ironic18:06
devananda$ tox -epy2718:06
devanandapy27 recreate: /opt/source/ironic/.tox/py2718:06
devanandais what I see18:06
devanandafollowed by several minutes of waiting every time18:06
Shrewsdevananda: ???? i don't see that18:06
* NobodyCam is back with real coffee18:06
devanandaShrews: interesting!18:07
devanandaok - not only is there construction across the street, the city is also running a woodchipper outside my window18:07
Shrewsdevananda:18:07
Shrews$ tox -epy2718:07
Shrewspy27 develop-inst-nodeps: /home/parallels/Devel/ironic18:07
Shrewspy27 runtests: commands[0] | python setup.py testr --slowest --testr-args=18:07
* devananda needs to go find a nice, loud cafe to work from18:08
NobodyCamlol18:08
*** digambar has quit IRC18:09
*** dshulyak has quit IRC18:09
lucasagomesheh18:12
lucasagomesand I'm done for today folks18:12
lucasagomeshave a good night NobodyCam devananda max_lobur_afk, everyone18:12
lucasagomesenjoy the weekend18:12
NobodyCamhave a great weekend lucasagomes18:12
matty_dubsSee ya, lucasagomes18:13
lucasagomesmatty_dubs, see ya buddy, enjoy the weekend18:13
matty_dubsYou too!18:15
devanandag'night lucasagomes !18:15
devanandaShrews: ahh. if I run tox outside of the venv, I get what you're getting18:16
devanandaShrews: if I run it inside the venv, it sucks :)18:16
*** hstimer has joined #openstack-ironic18:16
NobodyCamtox starts the venv18:16
Shrewsdevananda: no, i'm running inside my venv18:16
Shrewssomething is funky w/ your setup18:16
devanandahrm18:16
NobodyCami run tox not in the venv18:16
*** ndipanoff has quit IRC18:17
*** mdurnosvistov_lt has joined #openstack-ironic18:17
*** hstimer has quit IRC18:17
*** marty_ has joined #openstack-ironic18:18
Shrewsi'm starting with the environment as described in the dev-quickstart guide. you guys may have initially setup you environment differently18:18
*** marty_ is now known as Guest7274818:18
*** ndipanoff has joined #openstack-ironic18:18
Shrewss/you/your/18:19
ShrewsNobodyCam: tox actually builds separate venv's for both py26 and py27, independent of whatever virtualenv you're running18:20
* NobodyCam run tox from his mac which is not where i run code from18:20
NobodyCams/run/runs/18:20
Shrewsah yeah... i was having issues doing it on my mac18:20
*** lucasagomes has quit IRC18:24
*** ndipanoff has quit IRC18:24
*** anniec has quit IRC18:33
BLZbubbaok what will the baremetal scheduler do when it sees a non-baremetal flavor?18:34
NobodyCami would expext not work18:34
NobodyCambut have not tested that18:34
*** anniec has joined #openstack-ironic18:46
*** anniec has quit IRC18:59
*** anniec has joined #openstack-ironic19:02
*** athomas has quit IRC19:02
BLZbubbahmm all my terminated instances are still showing up in the quota :(19:08
NobodyCamand there gone from nova list?19:09
*** athomas has joined #openstack-ironic19:10
BLZbubbayes19:10
*** wendar has joined #openstack-ironic19:11
NobodyCamhavent seen that one, thou i don't know if a ever set quota's19:11
NobodyCamup19:11
BLZbubbaok a real baremetal question here, do you typically use separate vlans for the PXE process and the fixed IP from openstack?19:25
*** vkozhukalov has joined #openstack-ironic19:25
BLZbubbaI'm thinking it would be ideal to just use the same address for both on eth019:25
NobodyCamin my testing I use a flat network / and a sub set of the larger ip block for pxe stuff19:26
BLZbubbabut it wouldn't be the end of the world to maybe put eth1 on the fixed vlan19:26
NobodyCamBLZbubba: that is not uncommon19:26
matty_dubsWhen I was setting up stuff for the demo we did in Hong Kong, the design goal was to have undercloud, overcloud, and IPMI all on separate VLANs, IIRC.19:27
BLZbubbais there any reason not to just use the fixed ip for pxe?  i guess maybe if baremetal can't control the main dnsmasq process then it has to be different19:27
matty_dubsI think the risk is that if you have it all on one network, someone could stand up a VM in the overcloud running PXE. If I'm not misunderstanding.19:31
NobodyCamBLZbubba: fixed ip and production do not mix well19:31
NobodyCamfor poc or off the wal test prob fine19:31
*** anniec has quit IRC19:33
BLZbubbawhat is an overcloud19:40
NobodyCamBLZbubba: thats from the Triple-O story19:41
BLZbubbaah right19:41
NobodyCamseed, undercloud, overcloud19:41
BLZbubbais it possible to have different instance_types use different sets of hosts?19:43
BLZbubbaand also, am i the only one who hates the term "flavors"19:43
BLZbubbathat term should only apply to things you eat19:43
NobodyCamlol19:43
NobodyCambut then you couldn't use lines like: With the proper use of Nova flavor's and orchestration like heat, salt, and chef it would be possible to deploy a entire meal.19:45
BLZbubbaha19:45
NobodyCamBLZbubba:as to your question as in baremetal and vm resources19:45
BLZbubbaand then chug a 12 pack of icehouse beer19:46
NobodyCamoh ya IceHosue can bring a whole new level in19:46
*** anniec has joined #openstack-ironic19:47
NobodyCamBLZbubba: I did fully understand your orginal question19:50
NobodyCams/did/didn't/19:50
BLZbubbai'm trying to figure out how to have baremetal and kvm instances co-exist19:51
NobodyCamBLZbubba: compute zones19:51
BLZbubbai was thinking host aggregates19:51
*** anniec has quit IRC19:52
*** anniec has joined #openstack-ironic19:52
BLZbubbaif I use zones, doesn't that mean I have to depend on the users to choose the right zone?19:55
BLZbubbawhereas with host aggregates I can automatically associate the baremetal instance_type19:55
BLZbubbai haven't looked at this stuff since Essex, so I'm a bit out of date19:56
*** lnxnut has quit IRC19:56
NobodyCami know there are issues with mixing bm and virt,, to be hounest i have not even tried to do it19:57
*** lnxnut has joined #openstack-ironic19:57
NobodyCams/are/were/19:57
BLZbubbai'm thinking of adding a property, baremetal=true, to the instance_type and the host aggregate19:57
NobodyCamyou should be able to use the existing extra spec to detect a bm flavor19:59
devanandaBLZbubba: they need dif schedulerHostManager classes today. cells will work. host-aggregate /might/ work19:59
devanandaBLZbubba: or hack a metaclass into the scheduler to allow it to load >1 HostManager and decide based on some extra property which to use :)19:59
*** harlowja is now known as harlowja_away19:59
* devananda steps afk again19:59
devanandabbi30m20:00
NobodyCamok :) enjoy devananda and thank you:)20:00
*** lnxnut has quit IRC20:01
matty_dubsAre any of you familiar with how rootwrap works?20:04
matty_dubsSpecifically -- does KillFilter need a full path for what can be killed, or will a name do?20:05
NobodyCamlast time i mucked about in rootwrap is was full path i think20:07
NobodyCambeen a while20:07
*** harlowja_away is now known as harlowja20:08
matty_dubsSo the problem I'm having with the console patch is that, when stopping it, it tries to kill shellinaboxd20:08
matty_dubsBut the file has the path on Ubuntu20:08
matty_dubsWhich is different from the path on Fedora20:08
matty_dubsI'm wondering if there's a better way of fixing that than listing every possible combination20:09
NobodyCamvarWithPathToshellinaboxd=which shellinaboxd20:10
NobodyCam??20:10
NobodyCam:-p20:10
matty_dubsHaha. It's a conf file, so I'm not sure if it will allow arbitrary code20:10
NobodyCam*/shellinaboxd20:10
matty_dubsI'm trying to make my way through the docs, but didn't know if anyone knew better20:10
matty_dubsWell I just tried taking the path out entirely20:10
matty_dubsActually, wait...20:11
matty_dubs...I tried, and it didn't get copied into the right place20:11
matty_dubsSo maybe that _will_ work20:11
NobodyCammatty_dubs: also how about somehting like https://github.com/openstack/nova/blob/master/etc/nova/rootwrap.d/compute.filters#L193-L19420:13
matty_dubsNobodyCam: Thanks!20:14
matty_dubsThat's kind of a mouthful of a line, but I think that's what I want20:14
NobodyCam:)20:15
matty_dubsAh, for those following along at home, https://review.openstack.org/#/c/29635/ seems to have the answer -- it can be relative if it's in $PATH20:19
NobodyCammatty_dubs: but that could allow someone with malicious intentions to create a file if the same name anywhere in the path before the actual file20:20
NobodyCamwould be slick if rootwrap checked chksum of the files20:21
matty_dubsActually, yeah, that sounds dangerous.20:21
matty_dubsBut it seems like it was merged.20:21
*** lnxnut has joined #openstack-ironic20:21
NobodyCamits like the programming manuals that say "you can do x" then never include "but you shouldn't"20:22
matty_dubsNobodyCam: My favorite is when I was learning Ruby, and learned that it provides 'unless' as the inverse of 'if'20:24
matty_dubsAnd then a coworker warned me that "unless... else..." is "valid, but people WILL shoot you"20:24
NobodyCamlol20:24
matty_dubsI think more things need that type of warning20:24
*** aignatov_ is now known as aignatov20:26
* devananda is back20:26
* devananda reads scrollback20:26
devanandaNobodyCam: yes, there's a known issue with rootwrap & relative paths, but that was accepted by oslo and nova as being "ok"20:27
NobodyCam:) i pointed matty_dubs to a link with regex'ing the paths20:28
NobodyCamand Wb devananda20:29
BLZbubbaok my first host-aggregate test is 100% successful!20:29
BLZbubbathe scheduler is putting vm's on the appropriate host based on the flavor20:30
BLZbubbaawesome20:31
NobodyCamBLZbubba: awesome20:31
NobodyCamput the setup / config up somewhere20:31
*** max_lobur has joined #openstack-ironic20:31
matty_dubsNobodyCam: So on further inspection, it looks like RegExp filter is distinct from the KillFilter20:35
NobodyCam:(20:35
matty_dubsAnd I think we need KillFilter, since we're just killing a pid -- the RegExp one would otherwise have to allow all kill commands20:35
NobodyCamso we live with path based support20:36
matty_dubsI guess the other option would be to add lines for both Ubuntu and Fedora20:36
matty_dubsBut my fear is that then there'll be SuSE, and then...20:36
NobodyCam:) ack20:37
NobodyCamoh and there theres windows20:37
* matty_dubs cries20:37
NobodyCamits friday soon the week will be over20:38
matty_dubsNobodyCam: Oh, so rootwrap.conf lets you specify exec_dirs, which will override the $PATH search.20:38
matty_dubsWhich might make exploits slightly harder20:38
NobodyCamya :)20:38
NobodyCamthats better20:38
NobodyCamdevananda: quick how do you feel about question:20:41
NobodyCamuntill tripleo refactors the power control stuff how do you feel about pinning register-nodes to virsh type for ssh controled nodes?20:43
NobodyCamipmi should work as is just for nodes with VPD20:43
* devananda continues fighting with devstack20:47
devanandaNobodyCam: add a cli option to register-nodes?20:47
devanandaNobodyCam: or an env var?20:47
devanandaalso, nova is refusign to start with this20:48
devanandaTRACE nova.virt.driver ImportError: Class IronicDriver cannot be found20:48
NobodyCamwhats the compute_driver set as20:48
NobodyCamvirt.ironic.driver.IronicDriver?20:49
*** ekarlso has quit IRC20:50
*** ekarlso has joined #openstack-ironic20:50
devanandaironic.IronicDriver20:50
devanandait works with libvirt.LibvirtDriver but not ^20:51
devanandavirt.ironic.driver.IronicDriver does not work either20:51
NobodyCamironic.driver.IronicDriver?20:53
NobodyCamvirt was my bad20:53
devanandanope20:53
NobodyCamhumm20:54
NobodyCamdo you have a /nova/virt/ironic/driver.py file?20:55
NobodyCam???20:55
devanandaNobodyCam: with nova.virt.ironic.IronicDriver, i get a different error20:55
devanandaTRACE nova.virt.driver ImportError: Class LibvirtVolumeDriver cannot be found20:55
NobodyCamahh that sounds more real20:56
devanandaNobodyCam: this is with nova comit 71e62b7cd1a20:56
devananda"Add Ironic volume driver"20:56
NobodyCamonesce20:57
NobodyCamack I think i broke when I added tests/virt/ironic/ironic_tests_fakes.py20:58
NobodyCamlet me see if i can fix20:58
*** martyntaylor has quit IRC20:58
*** aignatov is now known as aignatov_21:01
NobodyCamdevananda: testing fix now21:07
devanandaNobodyCam: got it21:07
devananda     cfg.StrOpt('volume_driver',21:07
devananda-               default='nova.virt.ironic.volume_driver.LibvirtVolumeDriver',21:07
devananda+               default='nova.virt.ironic.volume_driver.VolumeDriver',21:07
NobodyCamyep21:08
NobodyCampushing up new review21:08
NobodyCamwith fix21:08
devanandacool, ty21:08
NobodyCamas soon as i remember how to run generate_sample again... /me always forgets that one21:08
devanandayay now i get a db error21:08
NobodyCamha got luv ctrl-R ./tools/config/generate_sample.sh -b . -p nova -o ./etc/nova21:09
NobodyCampushed / reviewed21:11
devanandaNobodyCam: http://paste.openstack.org/show/68133/21:11
NobodyCami have not hit that one21:13
NobodyCamthe trace back does n't even hit our driver21:13
*** Haomeng has joined #openstack-ironic21:14
BLZbubbaok interesting, looks like the baremetal deploy helper "magically" grabbed the eth1 mac address and made a virtual interface for me21:14
BLZbubbacool21:14
NobodyCamoh wait21:14
*** aignatov_ is now known as aignatov21:15
NobodyCam'NotFound\\\'", u\\\'ironic_driver\\\': "\\\'nova.virt.ironic.driver.IronicDriver21:15
NobodyCamBLZbubba: cool:)21:15
*** Haomeng|3 has quit IRC21:15
BLZbubbahowever, it didn't add the dhcp client part to /etc/network/interfaces21:15
devanandaNobodyCam: http://paste.openstack.org/raw/68135/21:16
BLZbubbaand eth0 got the pxe address21:16
devanandaNobodyCam: note the unenclosed {}21:16
BLZbubbaso the user metadata isn't quite working21:16
NobodyCamdid you add this element https://github.com/openstack/diskimage-builder/tree/master/elements/dhcp-all-interfaces21:16
NobodyCamoh wow devananda you have good eyes21:17
BLZbubbafedora only?21:17
BLZbubbawell, /etc/sysconfig/network* only21:18
BLZbubba?21:18
devanandaNobodyCam: you're returning something unexpected from get_available_resources21:18
devanandas/you/ironiv driver/21:18
NobodyCamhumm thats all of three lines of code21:20
NobodyCam icli = self._get_client() \n node = icli.node.get(node) \n  return self._node_resource(node)21:20
devanandayea21:21
devanandathe node resources seems to be in an unexpected format21:21
*** dtalton has joined #openstack-ironic21:21
NobodyCamthat was working21:21
devanandai could be wrong21:22
NobodyCamthat makes sense to me21:22
*** dtalton2 has joined #openstack-ironic21:22
NobodyCammaybe moving target issue / some thing changed out from undernith us21:22
BLZbubbaok the virtual interfaces and fixed_ips are set up but /var/lib/nova/networks/nova-br1.conf never got updated21:23
*** aignatov is now known as aignatov_21:24
BLZbubbado i really have to run nova-network on all the compute nodes?21:25
BLZbubbathat is such a lame way to do things21:25
BLZbubbaimho of course21:25
BLZbubbai was trying to keep the nova-baremetal node off the fixed ip vlan21:25
BLZbubbaand let my main nova-network vm do the dhcp21:26
*** dtalton has quit IRC21:26
*** aignatov_ is now known as aignatov21:27
NobodyCamBLZbubba: could make everyone buy openflow switchs21:27
NobodyCambut I think that would srink out market21:27
BLZbubbanot a bad idea21:27
BLZbubbawe probably have some already21:27
BLZbubbathis group tends to go overboard to get bleeding edge technology21:28
NobodyCammay I ask whom your poc'ing for?21:28
BLZbubbaour group does customer proof of concepts21:28
BLZbubbaso we have a couple of people who re-install bare metal all the time21:28
NobodyCamahh21:28
BLZbubbaso we have to be ready in case a potential customer has, e.g., 56 gigabit infinband, 40 gig ethernet, etc etc etc21:29
BLZbubbaso lots of shiny toys21:29
*** aignatov is now known as aignatov_21:29
NobodyCamsend a couple of http://www.dolphinics.com/products/ our way21:30
NobodyCamlol21:30
NobodyCamj/k21:30
BLZbubbaneat21:31
matty_dubsI was really hoping the SeaMicro guys would send out some hardware we could use to test their drivers on ;)21:32
BLZbubbawell if a potential customer has it, i'm sure we would be "forced" to buy some for our lab21:32
BLZbubbakind of a step down from infiniband though isn't it?21:32
NobodyCam:) matty_dubs they well have hardware to test on.. my guess is hosted at there end21:32
BLZbubbaand i only ask that because i am a n00b21:33
NobodyCam:)21:33
NobodyCamsure you are BLZbubba21:33
NobodyCam:-p21:33
matty_dubsWell if they sent me a SeaMicro machine to put under my desk, it would help me test their driver! ;)21:33
NobodyCamlol21:33
BLZbubbaheh21:34
matty_dubsDidn't Mellanox or one of those companies pilot 96Gbps Infiniband?21:34
NobodyCamoh man you can tell is afternoon on friday21:34
matty_dubsISTR reading that they ran into trouble with the PCI-E bus being too slow21:34
NobodyCami think ... allthe hp HW we have as the Mellanox cards21:34
BLZbubbai'm sure they are trying out those faster speeds21:34
matty_dubsHaha, yes. BTW NobodyCam, after about an hour of poking at rootwrap, I realized -- the fix is to remove require_root=True, because it doesn't need to be root.21:34
BLZbubba56 gigabit is available now21:35
NobodyCamlol it already owns the process21:35
NobodyCamlol21:35
NobodyCam:-p21:35
BLZbubbai wonder how supersockets compares to rdma21:35
matty_dubsBLZbubba: Oh, it looks like what I was thinking of was a card with 2x 56Gb ports: http://archive.hpcwire.com/hpcwire/2012-06-18/mellanox_cracks_100_gbps_with_new_infiniband_adapters.html21:37
BLZbubbafun21:38
matty_dubs:)21:38
BLZbubbaguess I should just break down and throw the fixed ip vlan on there too21:40
devanandaNobodyCam: fix: -               'stats': nodes_extra_specs21:40
devananda+               'stats': jsonutils.dumps(nodes_extra_specs)21:40
NobodyCamdoh21:40
devanandathat's it21:41
devanandaworks now21:41
NobodyCamdevananda: can you push up to reviews that have been -2'd21:41
devananda:)21:41
devanandayes21:41
devanandaanyoe can -- but the -2 gets copied along by jenkins21:41
NobodyCamok ya21:41
*** dtalton2 has quit IRC21:46
NobodyCambrb... after walkies time21:46
NobodyCamdeva fix pushed up21:46
NobodyCamprob should have rebased21:46
linggaoHi NobodyCam, do you know where I can find a url for nova baremetal APIs? (not ironic)21:48
*** jcooley_ has joined #openstack-ironic21:50
linggaodevananda, do you know any url for nova baremetal APIs?21:52
*** dtalton has joined #openstack-ironic21:52
*** dtalton2 has joined #openstack-ironic21:53
*** dtalton3 has joined #openstack-ironic21:55
*** dtalton3 has left #openstack-ironic21:56
*** dtalton has quit IRC21:58
*** dtalton2 has quit IRC21:59
*** jdob has quit IRC22:00
devanandaNobodyCam: what is setting properties root_gb, cpu, etc?22:00
NobodyCamsorry neighbors started chatting with us22:01
NobodyCamdevananda: is use 10 gb for root 1 cpu, 1024 memory and i386 for arch22:02
devanandawoot22:03
devanandagot nova to expose the ironic node stats22:03
NobodyCamlinggao: nova baremetal has api docs?22:03
devanandanow lesse if scheduler matches22:03
devanandaNobodyCam: yes, it does22:03
* NobodyCam looks22:03
linggaoNobodyCam, I do not know. Someone asked me. like for example, nova baremetal-node-crate, what APIs it is calling under the cover?22:04
NobodyCamhumm learn something new22:04
NobodyCamhttp://docs.openstack.org/developer/nova/api/nova.virt.baremetal.db.api.html22:04
devanandaspawn started, failed with22:04
devanandaKeyError: 'baremetal:deploy_kernel_id'22:04
NobodyCamimage have extra specs22:05
matty_dubsGot to run; have a great weekend folks!22:05
NobodyCamawesome matty_dubs :)22:05
*** matty_dubs is now known as matty_dubs|gone22:05
NobodyCamhave one for /me22:05
*** jbjohnso has quit IRC22:05
devanandaahh no deploy image loaded22:05
NobodyCamthat could do it22:06
linggaoNobodyCam, thanks. that's DB API. How about REST API?22:06
NobodyCamsee driver22:09
NobodyCamhttp://docs.openstack.org/developer/nova/api/nova.virt.baremetal.driver.html22:09
BLZbubbaok which service has the job of writing to the tftpboot area, is that the deploy helper?22:17
NobodyCamBLZbubba: when?22:18
BLZbubbasomething is ignoring my "multi_host=False" option22:18
BLZbubbai'm getting a timeout allocating an ip address22:18
BLZbubbai removed nova-network from the baremetal compute node22:19
BLZbubbabut one of the components isn't handling it too well22:19
NobodyCamnova will setup the dir for booting the deploy disk as i recall then deploy helper goes in and modifys the config to boot the users K &R22:19
devanandaNobodyCam: so i have an idea for how to plug dnsmasq directly into ironic, instaed of relying on neutron22:20
devanandamight code that up tomorrow22:20
NobodyCamawesone ya seems we will be needing such22:21
NobodyCams/will be/may be/22:21
NobodyCamdevananda: writong to leases file?22:21
* max_lobur still trying to integrate with neutron22:22
max_loburand other guys said it's possible22:22
NobodyCammax_lobur: thats been the plan all along22:23
max_loburif non-working neutron integration is the only reasone22:23
max_loburah22:23
BLZbubbapain, the request to nova-compute comes through with multi_host set to true, even though I set it to false everywhere22:23
BLZbubbatherapeutic reboot time22:23
NobodyCamlol22:23
max_lobur:D22:23
NobodyCamBLZbubba: did you restart the nova services after making the change?22:24
linggaoNobodyCam, thanks for the driver API.22:25
devanandamax_lobur: i've got devstack just about working now22:25
devanandai think22:25
NobodyCamlinggao: hint hit next / prev topic buttons :-p22:25
NobodyCamdevananda: w00t!!!!!122:26
max_loburwith dnsmasq?22:26
linggaosure.22:26
devanandamax_lobur: by that i mean, at least "nova boot" turns on the right VM and tries to configure things22:26
devanandamax_lobur: but i dunno about neutron yet22:26
devanandaso i'm probably actually no where near calling this "working"22:26
NobodyCamwooot...22:26
NobodyCam:-p22:26
max_loburk :)22:27
linggaoNobodyCam, So there is no REST (web) APIs for nova baremetal node creation like we have in Ironic?22:28
NobodyCamnot that i have seen (or used)22:31
BLZbubbai hate config options in multiple places22:32
BLZbubbathe networks table has a multi_host setting22:32
max_loburdid someone accidentally change https://etherpad.openstack.org/p/IronicReviewDay22:32
max_loburRemoved easy patches section22:33
max_loburand a few links from "not very easy but tested"22:33
NobodyCamhumm ya looks different22:34
BLZbubbabut i guess different networks could theoretically have different policies22:35
NobodyCammax_lobur: version 64322:35
devanandaNobodyCam: http://paste.openstack.org/show/voeWUt6yZwxB0tOVkYyj/22:35
* NobodyCam clicks22:35
devanandaat least our error handling sort of worked22:36
devanandai mean, ironic's did. the nova driver didn't22:36
devanandaNobodyCam: http://paste.openstack.org/show/5IdbEwnoOVpi3Wjkk1X4/22:37
devanandadeploy failed. nova says status:Active22:37
NobodyCamhumm22:38
devanandahmm22:40
devanandanow delete fails22:40
NobodyCamdevananda: do you see the message from line 423 (https://review.openstack.org/#/c/51328/26/nova/virt/ironic/driver.py) in the logs22:40
devanandarather, nova refuses to try to delete again22:42
devanandasince state is "deleting"22:42
NobodyCamI restart nova-conductor and run node delete RIGHT afer restart22:44
NobodyCamusaly works22:44
BLZbubbaany idea where baremetal/net-dhcp.ubuntu.template gets its list of interfaces?22:46
*** linggao has quit IRC22:47
lifelessBLZbubba: nova baremetal-interface-list22:47
devanandaInstanceDeployFailure: RCP do_node_tear_down not allowed for node 7823773a-62ed-4270-8259-afd190772026 in state None22:49
* NobodyCam thinks lifeless has more open IRC windows then his one22:49
NobodyCamhehe22:49
devanandaok, got it22:49
devanandaNobodyCam: ok, this is not good -- with DEBUG enabled, n-cpu is dumping the whole X-Auth-Token for ironic-client into the debug log22:53
devanandai suspect taht we dont need python-ironicclient to /also/ be in debug mode22:54
NobodyCamwhere is that debug comming from22:56
NobodyCamdriver only have three log.debugs22:56
NobodyCamnode list/ (un)plug vifs22:56
devanandahitting this repeatably now. need to dig into it after i get food. http://paste.openstack.org/show/voeWUt6yZwxB0tOVkYyj/22:57
devanandabbiab22:57
NobodyCamack22:58
*** jcooley_ has quit IRC22:59
BLZbubbalifeless: ok cool i see two, but one of them has NULL for Datapath_id and Port_no23:10
BLZbubbathe one it uses for pxe has these as null, the other one is the one that nova-network is trying to use23:10
BLZbubbai am trying to get the baremetal node to use eth1 for the fixed_ip instead of eth023:11
BLZbubbamaybe i can just change port_no to 1 ?23:11
BLZbubbathat would be too easy though23:11
lifelesswhat release of openstack are you using?23:13
BLZbubbahavana23:13
BLZbubbahmm last time it deployed, I got an I/O error dd'ing out the runtime image.  weird23:15
lifelessok, so in havana we still do file injection I guess. Use trunk :)23:15
lifelessnoone should use nova baremetal in any released openstack for anything except basic one-nic setups :)23:15
BLZbubbai wish I could use one nic23:16
BLZbubbadnsmasq runs without "static" for the pxe part, making it impossible23:16
BLZbubbawell i could just make my own list of pxe interfaces i guess23:17
BLZbubbai'm too close to it working for me to give up now!23:17
BLZbubbathe only step left is s/eth0/eth1/g in the /etc/network/interfaces file23:17
BLZbubbaand it will work exactly how i want23:17
BLZbubbai could just hack the template at this point23:18
BLZbubba(this is just for a demo obviously)23:18
NobodyCamlol was just about to say somehtig about hacking https://github.com/openstack/nova/blob/master/nova/virt/baremetal/net-dhcp.ubuntu.template23:18
BLZbubbai will typically at least make an attempt or two to do things the "right way" before going into McGuyver mode23:19
BLZbubbathough only old people remember who that is23:19
* NobodyCam hides the paper clips23:19
lifelessBLZbubba: so really23:22
lifelessBLZbubba: the dnsmasq goes away23:22
lifelessBLZbubba: file injection goes away23:22
lifelessBLZbubba: it becomes about 1000% better in icehouse23:22
lifelessBLZbubba: just in time to be deprecated23:22
lifelessBLZbubba: so its up to you, but honestly, I wouldn't even consider trying to run the H nova baremetal.23:22
NobodyCamlifeless: i believe it is single use POC only23:23
NobodyCamBLZbubba: ^^^ correct?23:23
BLZbubbathis is a proof of concept, if it works I will figure out what to do for real23:23
lifelesseven so23:24
BLZbubbasadly there is a lot of windows 2012 here so that will be the biggest obstacle23:24
lifelessyou're solving a lot of problems that don't need to be solved in I23:24
lifelessso what you've learnt and the workarounds you create... are as dust, floating on the wind23:25
BLZbubbait is a character building exercise :P23:25
BLZbubbaand icehouse is still a ways off isn't it23:26
NobodyCamnot really23:26
NobodyCami-3 will be cut in a couple of weeks23:26
lifelessBLZbubba: you can use a milestone release23:26
NobodyCamhttps://wiki.openstack.org/wiki/Releases23:27
BLZbubbaare those in the cloudarchive ppa23:31
BLZbubbaNobodyCam: ok i did the hack23:32
NobodyCami would have to look... off the cuff guess is yes23:32
* devananda is back23:33
* NobodyCam *** I SEE NOTHINC *** have to be even old to know that one23:33
NobodyCamWb devananda23:33
NobodyCams/old/older/23:34
*** rustlebee is now known as russellb23:36
BLZbubbadeploy to node 1 done, if this injects my ssh key then my PoC is done!!!23:40
BLZbubbathis is definitely the most helpful openstack channel, you guys rock23:40
NobodyCamdid you load your key?23:41
NobodyCammordred: ^^^^^^^ when raise time comes around again :-p hehehehehe23:42
BLZbubbadoh looks like the tfptboot config needs to say eth1 too23:43
BLZbubbaipmi is sure fun23:45
*** athomas has quit IRC23:46
NobodyCamstable and secure too :-P23:47

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