Tuesday, 2014-01-14

*** harlowja has joined #openstack-ironic00:00
NobodyCamhttps://github.com/NoBodyCam/ironic-element/blob/master/nova/os-apply-config/etc/nova/nova.conf#L101-L10400:00
devanandaNobodyCam: https://review.openstack.org/#/c/66461/1/elements/nova/os-apply-config/etc/nova/nova.conf00:00
devanandaif i missed things, feel free to fix :)00:01
devanandathis should work /without/ the nova-baremetal element00:02
NobodyCamack ok so there is a mod to the nova conf00:02
devanandaya00:02
devanandanote the image build line is now these elements: boot-stack nova-ironic os-collect-config dhcp-all-interfaces00:02
devananda(it's all in the etherpad)00:03
NobodyCamya looking over :)00:03
NobodyCamwill start to play with it as soon as I get thru this get_service_catalog thing00:03
NobodyCamgo enjoy AU00:04
NobodyCam:-p00:04
devananda:)00:04
*** lexx has quit IRC00:05
devanandaI'll pop back on tonight / tomorrow morning00:05
NobodyCam:)00:06
*** hemna_ is now known as hemnafk00:07
NobodyCamdevananda: have you run out yet?00:11
devanandaNobodyCam: nope00:11
NobodyCamahh quick ? no your seed issue00:11
NobodyCamare you running setup-seed-vm -a $NODE_ARCH before boot-seed-vm00:12
devanandaNobodyCam: the issue iwas having had to do with neutron subnets getting off00:13
devanandabecause there were duplicate neutron agents00:13
NobodyCamahh ack :)00:13
Haomengmorning:)00:59
*** nosnos has joined #openstack-ironic01:13
*** mrda has quit IRC01:14
*** vkozhukalov has joined #openstack-ironic01:18
*** harlowja has quit IRC01:22
*** mrda has joined #openstack-ironic01:27
*** harlowja has joined #openstack-ironic01:33
*** rongze has joined #openstack-ironic01:51
openstackgerritRuby Loo proposed a change to openstack/ironic: Use same MANAGER_TOPIC variable  https://review.openstack.org/6648002:23
*** coolsvap has quit IRC02:53
*** datajerk has quit IRC03:22
*** datajerk has joined #openstack-ironic03:23
*** datajerk has quit IRC03:25
*** datajerk has joined #openstack-ironic03:25
*** rloo has quit IRC03:59
*** mrda has quit IRC04:07
*** mrda has joined #openstack-ironic04:08
*** coolsvap has joined #openstack-ironic04:39
*** rongze has quit IRC04:43
*** rongze has joined #openstack-ironic04:44
*** rongze has quit IRC04:49
*** rongze has joined #openstack-ironic05:14
*** rongze_ has joined #openstack-ironic05:16
*** rongze has quit IRC05:16
*** rongze_ has quit IRC05:21
*** marty_ has joined #openstack-ironic06:00
*** marty_ is now known as Guest429806:00
*** mrda has quit IRC06:00
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/6503206:03
*** hstimer has quit IRC06:04
*** Guest4298 has quit IRC06:04
*** coolsvap has quit IRC06:07
*** rongze has joined #openstack-ironic06:15
*** coolsvap has joined #openstack-ironic06:32
*** vkozhukalov has quit IRC06:53
*** lexx has joined #openstack-ironic07:35
*** ifarkas has joined #openstack-ironic07:37
viktorsdevananda: hello07:42
openstackgerritVictor Sergeyev proposed a change to openstack/python-ironicclient: Drop python2.5 suport in ironicclient.common.http  https://review.openstack.org/6651307:55
openstackgerritVictor Sergeyev proposed a change to openstack/python-ironicclient: Drop python2.5 suport in ironicclient.common.http  https://review.openstack.org/6651307:57
*** harlowja is now known as harlowja_away08:00
*** jistr has joined #openstack-ironic08:01
*** lexx has quit IRC08:02
*** mdurnosvistov has joined #openstack-ironic08:06
*** ifarkas has quit IRC08:07
*** ndipanov has joined #openstack-ironic08:26
*** vkozhukalov has joined #openstack-ironic08:27
GheRiveromorning all08:41
*** kpavel has joined #openstack-ironic08:42
*** kpavel_ has joined #openstack-ironic08:43
*** kpavel has quit IRC08:47
*** kpavel_ is now known as kpavel08:47
*** mdurnosvistov has quit IRC08:53
HaomengGheRivero: morning:)08:54
*** coolsvap has quit IRC09:05
*** romcheg has joined #openstack-ironic09:12
*** ifarkas has joined #openstack-ironic09:18
*** ifarkas has quit IRC09:19
*** ifarkas has joined #openstack-ironic09:19
*** ifarkas has quit IRC09:31
*** derekh has joined #openstack-ironic09:36
*** mdurnosvistov has joined #openstack-ironic09:36
*** coolsvap has joined #openstack-ironic09:38
*** ifarkas has joined #openstack-ironic09:42
*** mdurnosvistov has left #openstack-ironic09:42
*** mdurnosvistov has quit IRC09:42
*** mdurnosvistov has joined #openstack-ironic09:44
*** mdurnosvistov has quit IRC09:49
*** mdurnosvistov has joined #openstack-ironic09:49
*** mdurnosvistov has quit IRC09:49
*** mdurnosvistov has joined #openstack-ironic09:50
agordeevgood morning, all10:07
GheRiveromorning all, anyone has some idea about keystone catalog and service filtering?10:07
*** jistr has quit IRC10:14
Haomengagordeev: morning:)10:25
*** coolsvap has quit IRC10:27
HaomengGheRivero: our Ironic service is registered into keystone by this script - https://github.com/openstack-dev/devstack/blob/master/lib/ironic#L15910:30
GheRiveroThe issue I have found is that in http://git.openstack.org/cgit/openstack/ironic/tree/ironic/common/keystone.py#n2710:32
GheRiverobut keystoneclient is getting the endpoint list, so we cannot filter with attr='name', filter_value='ironic'10:33
GheRiverounless I'm missing something10:34
HaomengGheRivero: yes, we have to concept, service and endpoint, and two tables in keystone db10:34
agordeevHaomeng: morning!10:35
agordeevGheRivero: morning!10:35
HaomengGheRivero: so depends on what we are retrieving, is it service or endpoint?10:35
GheRiveromorning agordeev10:35
Haomengagordeev: morning:)10:35
GheRiveroendpoint10:35
GheRivero[{u'adminURL': u'http://10.1.1.9:6385', u'region': u'RegionOne', u'publicURL': u'http://10.1.1.9:6385', u'internalURL': u'http://10.1.1.9:6385', u'id': u'1c22a25403924df1843c66396a2a5fa3'}]10:35
*** mrda has joined #openstack-ironic10:35
HaomengGheRivero: let me look into the code10:35
GheRiverohttp://git.openstack.org/cgit/openstack/python-keystoneclient/tree/keystoneclient/service_catalog.py#n12810:36
HaomengGheRivero: keystone client have both service and endpoint command interface - service-list and endpoint-list, so we can enable the debugger to see which api call10:37
HaomengGheRivero: I think get_service_endpoints will join service and endpoints two tables10:39
HaomengGheRivero: where endpoint.service_id = service.id10:40
GheRiveroyes but after that: endpoints = sc_endpoints[service_type]10:40
GheRiveroand starts working only with the endpoints10:41
HaomengGheRivero: you mean our code is not working - http://git.openstack.org/cgit/openstack/ironic/tree/ironic/common/keystone.py#n28 ?10:42
GheRiveroyeah, that is10:43
HaomengGheRivero: got, let me looking into the code10:44
*** max_lobur_afk is now known as max_lobur10:44
GheRiverothe filter_value and attr are only used after retrieving the endpoints, http://git.openstack.org/cgit/openstack/python-keystoneclient/tree/keystoneclient/service_catalog.py#n13610:44
HaomengGheRivero: if our keystone code is old and not sync with keystone for lang time10:45
Haomenglong time10:45
GheRiverook. maybe that was the piece I was missing :)10:46
HaomengGheRivero: how to recreate this issue, I want to debug to see if our ironic service configuration data is wrong10:51
HaomengGheRivero: and if we have the exception stack?10:52
HaomengGheRivero: this is reference code from ceilometer - https://github.com/openstack/ceilometer/blob/master/ceilometer/image/glance.py#L3610:52
HaomengGheRivero: calling ksclient.service_catalog.url_for() metod without  these attr='name', filter_value='ironic' input filters10:53
HaomengGheRivero: so can we remove these attr and filter_value to have a try, I think they are not required10:53
openstackgerritGhe Rivero proposed a change to openstack/ironic: Fix keystone get_service_url filtering  https://review.openstack.org/6653810:54
HaomengGheRivero: or we just use more fileters to filter the service which name='baremetal', not 'ironic'?10:54
HaomengGheRivero: see your patch, and we remove these filters -  attr='name', filter_value='ironic'10:56
GheRiverowe are already retrieving the endpoints with service_type=baremetal, so there is no need for more extra filtering10:56
HaomengGheRivero: ok.10:57
*** jistr has joined #openstack-ironic10:57
GheRiverofound it: https://review.openstack.org/#/c/53038/2/keystoneclient/service_catalog.py In the last comment, they suggest to remove filtering at some point :) Stupid legacy code10:58
*** lucasagomes has joined #openstack-ironic11:00
HaomengGheRivero: great11:01
HaomengGheRivero: let me have a test code to see how it works11:03
*** mrda has quit IRC11:07
max_loburmorning Ironic!11:07
Haomengmax_lobur: morning:)11:08
max_loburHey Haomeng :)11:08
max_loburcould you please respond to my last comment https://review.openstack.org/#/c/63904/1/ironic/drivers/modules/pxe.py11:08
Haomengmax_lobur: sure11:09
Haomengmax_lobur: let me check11:09
Haomengmax_lobur: Max, I am fine with "all" level timeout control:)11:10
Haomengmax_lobur: and we can use the existing CONF.pxe.image_download_timeout as the 'all' level time control11:11
Haomengmax_lobur: but need to test if the 'all' level timecontrol by this api futures.wait() call is  the summary timeout value for all tasks?11:11
Haomengmax_lobur: commit my response, check please:)11:12
Haomengmax_lobur: please restore it and I will commit the response11:13
max_loburrestored11:14
Haomengmax_lobur: done:)11:14
Haomengmax_lobur: no score this time:)11:14
*** martyntaylor has joined #openstack-ironic11:18
max_loburHaomeng, sorry, I just can't find the CONF.pxe.image_download_timeout defined . Can you please point out where it's declared?11:43
Haomengmax_lobur: dont worry, let me find:)11:47
Haomengmax_lobur: Max, I can not fint it too, so can we create this new one with your patch?11:49
Haomengmax_lobur: I think we can add such CONF.pxe.image_download_timeout into our ironic.conf11:50
max_loburyea11:50
max_loburI'll add the option11:50
max_loburok, thanks for you help :)11:50
Haomengmax_lobur: welceom:)11:56
Haomengmax_lobur: welcome:)11:57
*** rongze has quit IRC12:06
*** rongze has joined #openstack-ironic12:07
*** rongze has quit IRC12:11
*** rongze has joined #openstack-ironic12:18
*** coolsvap has joined #openstack-ironic12:24
lucasagomesdevananda, NobodyCam: achievement unlocked!! First vm to be deployed by Ironic :) http://s11.postimg.org/lgaf6fivl/Screenshot_from_2014_01_14_12_29_43.png12:30
lucasagomessome logs: http://paste.openstack.org/show/61178/12:34
lucasagomesbetter ss: http://s22.postimg.org/ojxz7qn0v/Screenshot_from_2014_01_14_12_35_09.png12:35
devanandalucasagomes: fantastic!12:45
lucasagomesdevananda, :D12:45
*** coolsvap has quit IRC12:46
lucasagomessomething went wrong, because the status is showing deploy failed, but it might be because the ramdisk didn't ping the API back (I had to fake the vendor_passthru by hand)12:51
lucasagomesramdisk is giving me: "could not resolve host" in the curl command12:52
lucasagomesI will investigate that12:52
lucasagomesbut the image was copied to the disk and the pxe config file was updated12:52
lucasagomes:)12:53
devanandalucasagomes: you're using dnsmasq, not neutron, right?12:53
lucasagomesdevananda, yes, dnsmasq12:53
devanandalucasagomes: are you injecting a static IP into the instance?12:54
lucasagomesI'm just starting it by hand sudo dnsmasq --conf-file= --port=69 --enable-tftp --tftp-root=/tftpboot --dhcp-boot=pxelinux.0 --bind-interfaces --pid-file=/var/run/dnsmasq.pid --interface=eth1 --dhcp-range=192.0.2.32,192.0.2.4812:54
devanandaif not, it's going to try to DHCP but wont get an address12:54
lucasagomesdevananda, hmm I didn't use any file injection no12:54
lucasagomesso that might be it12:54
devanandaright12:54
devanandaso the old baremetal, before we had neutron there, had to do file injection12:54
lucasagomesthe last error just shows | last_error             | PXE driver failed to continue deployment.12:54
devanandayep12:55
lucasagomestrying to find what went wrong in the logs12:55
devanandaguessing -- because the instance didn't get an IP when it came up12:55
lucasagomes(my env is a mess as well, I might start another deployment)12:55
devanandasee the instance console logs12:55
devanandait's not getting on the net12:55
lucasagomesdevananda, right, will take a look here12:55
devanandacant reach back to cloudinit12:55
lucasagomesoh yea there's like 20 tries12:56
devanandalucasagomes: one option is revive the old file injection code. i would rather we dont do that12:56
lucasagomes"request failed" when the instance is booting up12:56
devanandalucasagomes: another option is use dkehn's neutron patch12:56
devanandahave you tried it?12:56
lucasagomesdevananda, not yet12:56
devanandak12:56
devanandaactually12:56
lucasagomesI will give it a try12:56
devanandathat should only be needed for node takeover12:56
devanandaso nvm that12:56
lucasagomesI had to use ur patch to fix the vendor interface for the pxe_ssh driver tho12:56
devanandai wonder if the nova-ironic driver is doing the right thing12:56
devanandalucasagomes: ack12:57
lucasagomesand the rest of my patches fixing ironic-rootwrap12:57
devanandaso NobodyCam's ironic driver should be sending info to neutron12:57
lucasagomesdevananda, yea... I will review again the ironic driver12:57
devanandabut you're running another dnsmasq process which may conflict with it12:57
devanandawe really do need neutron bindings to get it all working12:57
lucasagomes+112:58
lucasagomesso if I use dkehn patch, I don't need another dnsmasq12:58
lucasagomesI mean I dont need dnsmasq at all12:58
lucasagomesis that correct?12:58
devanandawell12:58
lucasagomesI will have to send some info to neutron by hand12:58
devanandadkehn's patch actgually should only be needed for conductor takeover12:58
lucasagomesjust like the driver would12:58
lucasagomesright12:59
devanandaso yhou shouldn't need either manual dnsmasq OR dkehn's patch at this point in your testing12:59
devanandaIF the nova-ironic driver is sending info to neutron12:59
lucasagomesgotcha12:59
lucasagomesI might better be testing the tripleO approach then, instead of trying to do all it manually13:00
Haomenglucasagomes: great work:)13:00
lucasagomesHaomeng, cheers :)13:00
devanandalucasagomes: see L558 of https://review.openstack.org/#/c/51328/8/nova/virt/ironic/driver.py13:01
devanandalucasagomes: i think that should be showing up in your log13:01
devanandaif it works right13:01
Haomenglucasagomes: how can I try with this ironic vm ? I try some times, encountered such 'pinging' with wrong address error13:01
devanandathere's some plubming in the nova.compute.manager layer now too, for sending some info about the VIF and MAC to neutron13:02
devanandai wonder if our driver is binding properly there13:02
devanandathat may have been added to nova-braemetal after i started the nova-ironic driver, not sure13:02
lucasagomesdevananda, right, well I'm not using the ironic driver in the moment so it won't be in my logs13:02
lucasagomesI can try to setup it with tripleO13:03
lucasagomesand see if the driver is doing the right calls etc13:03
lucasagomesHaomeng, when pxe'ing boot the vm?13:04
Haomenglucasagomes: yes13:13
lucasagomesHaomeng, right, so I'm running a dnsmasq to do the pxe booting13:13
lucasagomessudo dnsmasq --conf-file= --port=69 --enable-tftp --tftp-root=/tftpboot --dhcp-boot=pxelinux.0 --bind-interfaces --pid-file=/var/run/dnsmasq.pid --interface=eth1 --dhcp-range=192.0.2.32,192.0.2.4813:13
lucasagomesHaomeng, also check ur firewall to see if port 69 is open13:14
Haomenglucasagomes: ok13:14
lucasagomeseth1 is my bridge interface13:14
Haomenglucasagomes: the image I used is by this command -  ramdisk-image-create -a amd64 -o ubuntu-deploy-ironic deploy-ironic ubuntu , is right?13:14
lucasagomesHaomeng, seems fine13:15
lucasagomesI used: bin/ramdisk-image-create -a amd64 ubuntu deploy-ironic -o /tmp/deploy-ramdisk13:15
Haomenglucasagomes: :)13:15
Haomenglucasagomes: should we apply the neutron ironic patch to enable the dhcp  neutron port?13:17
lucasagomesHaomeng, I haven't tried that yet13:17
Haomenglucasagomes: you run these dhcp by manually?13:17
Haomenglucasagomes: ok13:17
lucasagomesHaomeng, yes, in the moment I'm running it manually13:17
Haomenglucasagomes: ok, will try, great command:)13:18
Haomenglucasagomes: )13:18
lucasagomes:)13:18
Haomengtired, will go to sleep, nice day Ironic:)13:20
lucasagomesHaomeng, g'night :)13:20
Haomenglucasagomes: nice day Lucas:)13:20
devanandalucasagomes: you could give the right commands to neutron manually13:22
devanandalucasagomes: so that it answers the dhcp request(s)13:22
lucasagomesdevananda, right I can try that :)13:23
*** jdob has joined #openstack-ironic13:30
devanandaagordeev: hi! just saw your email but i'm about to go to sleep14:08
devanandaagordeev: any chance you can send that to openstack-dev tagged with [ironic] and then I will poke infra people to look at it and we can all discuss it there?14:09
devanandaagordeev: i think that would be much more efficient14:09
max_loburHi Everyone14:13
max_loburI'd like to push a patch to openstack/requirements14:13
max_loburI need someone to review it14:13
max_loburdo they have IRC channel so I can ping there14:13
devanandamax_lobur: that is the infra team14:14
devananda#openstack-infra14:14
max_loburah, thanks14:14
devanandanp14:14
devanandaand with taht, i'm off to attempt sleep :)14:14
devanandag'night, all114:14
max_loburg'night :)14:14
lucasagomesnight :)14:15
agordeevdevananda: hi! okay, i'll do that. Good night! :)14:17
*** rloo has joined #openstack-ironic14:19
*** jbjohnso has joined #openstack-ironic14:41
*** matty_dubs|gone is now known as matty_dubs14:48
*** nosnos has quit IRC14:50
NobodyCamgood morning Ironic14:56
NobodyCamsays the man making coffee14:57
agordeevNobodyCam: morning :)14:58
NobodyCammorning agordeev :)14:59
max_loburmorning NobodyCam :)14:59
NobodyCammorning max_lobur14:59
GheRiveromorning all15:00
NobodyCammorning ghe15:00
NobodyCamhey GheRivero I think I found whats up with the get_service_url thing15:01
NobodyCamgoing to try and test it15:01
GheRiveroI found something about the filter_value and attr15:02
GheRiverohttps://review.openstack.org/#/c/66538/1/ironic/common/keystone.py - WIP15:03
*** coolsvap has joined #openstack-ironic15:04
NobodyCamyep thats what I found too15:04
*** vkozhukalov has quit IRC15:04
NobodyCamdoes that work?15:04
NobodyCamI have not tested it15:04
NobodyCamyet15:04
*** kobier has joined #openstack-ironic15:04
GheRiveroyes, at least for my deployment :)15:05
NobodyCamwoo hoo :)15:05
NobodyCamlol I found it here: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/tests/v2_0/test_service_catalog.py#L3215:05
*** jbjohnso has quit IRC15:06
lucasagomesmorning NobodyCam GheRivero15:07
lucasagomesGheRivero, I will try ur patch later15:07
NobodyCammorning lucasagomes :)15:07
lucasagomesNobodyCam, idk if you scrolled up, good news15:07
lucasagomesI just got the very first vm deployed by ironic :D15:07
lucasagomesofc I had to work around some stuff15:07
GheRivero https://review.openstack.org/#/c/53038/2/keystoneclient/service_catalog.py In the last comment the suggest to remove the filters15:07
lucasagomesmanually15:07
NobodyCamawesone ness!!!!15:08
*** rongze has quit IRC15:15
*** jbjohnso has joined #openstack-ironic15:18
*** lucasagomes is now known as lucas-hungry15:27
*** kpavel has quit IRC15:41
*** rongze has joined #openstack-ironic15:46
*** kobier has quit IRC15:54
NobodyCambrb quick walkies15:57
*** jbjohnso has quit IRC16:00
*** mdurnosvistov has quit IRC16:08
*** linggao has joined #openstack-ironic16:10
*** jbjohnso has joined #openstack-ironic16:12
openstackgerritRoman Prykhodchenko proposed a change to openstack/ironic: Process public API list as regular expressions  https://review.openstack.org/6662116:22
*** lucas-hungry is now known as lucasagomes16:23
*** jistr has quit IRC16:23
openstackgerritRoman Prykhodchenko proposed a change to openstack/ironic: Process public API list as regular expressions  https://review.openstack.org/6662116:24
lucasagomesdkehn, ping16:36
lucasagomesdkehn, I'd like to setup neutron to answer the dhcp request for my vms pxe boot, can you point me to any document on how to configure neutron for that?16:36
NobodyCamlucasagomes: I think he may be on his to the neutron sprint16:39
lucasagomesNobodyCam, I see, np :) he might get to see this message later16:40
NobodyCamyep16:40
*** viktors has left #openstack-ironic16:45
*** blamar has quit IRC16:53
*** mdurnosvistov has joined #openstack-ironic16:54
*** blamar has joined #openstack-ironic16:55
*** vkozhukalov has joined #openstack-ironic17:06
*** matty_dubs is now known as matty_dubs|lunch17:09
*** max_lobur is now known as max_lobur_afk17:28
NobodyCamalll hands meeting over... now need to feed the bubbies. brb17:34
*** digambar has joined #openstack-ironic17:34
*** matty_dubs|lunch is now known as matty_dubs17:44
NobodyCampost breakfast walkies time17:51
digambarHi17:52
digambarronic node-create -d fake_ssh -i ssh_address=192.168.122.1 -i ssh_username=root -i ssh_password=openstack -i ssh_virt_type=virsh17:52
digambarHTTPForbidden (HTTP 403)17:52
digambarthis is authentication error17:52
digambarI have followed steps which is given in the doc17:53
digambarstorage volume 'baremetal-0.qcow2' exists already17:53
*** derekh has quit IRC17:54
digambar@NobodyCam & lucasagomes17:55
digambarIs there something I am missing here17:55
digambarsudo virsh --version17:55
digambar1.2.017:56
lucasagomesdigambar, did you setup it with devstack?17:56
digambaryes17:58
digambarI have setup ironic with devstack17:58
digambarbut creating node with driver info17:59
lucasagomestry exporting this variables before running the ironic command18:01
lucasagomeshttp://paste.openstack.org/show/61202/18:01
digambarokk18:02
*** harlowja_away is now known as harlowja18:03
*** rongze has quit IRC18:08
*** rongze has joined #openstack-ironic18:10
*** rongze has quit IRC18:10
digambarfor creating a port we need MAC ID18:16
NobodyCamhumm something has changed18:17
NobodyCamobject has no attribute 'ComputeDriver'18:17
digambarbut I didn't get it from create node command18:17
NobodyCamdigambar: have you run port-create?18:18
NobodyCamironic port-create -a AA:BB:CC:DD:EE:FF -n nodeUUid18:19
digambarbut for created node I dont have mac id generated18:19
digambarSo here how I can fetch now18:19
digambarnow if I run this script to create the node18:21
digambarsudo PATH=$PATH:tripleo-incubator/scripts/ tripleo-incubator/scripts/create-nodes 1 512 10 amd64 118:21
digambarsudo PATH=$PATH:tripleo-incubator/scripts/ tripleo-incubator/scripts/create-nodes 1 512 10 amd64 118:21
digambarerror: Failed to create vol baremetal-0.qcow218:22
digambarerror: storage volume 'baremetal-0.qcow2' exists already18:22
NobodyCamdigambar: here is how I create a node to test dib18:22
NobodyCamhttp://paste.openstack.org/show/8vhvDyYuxp7t67SVN8ka/18:22
digambarok18:22
digambarlet me do that18:23
digambarfor create-nodes18:24
digambardo we need to install triplO firstly ??18:24
NobodyCamthats a dib script18:24
digambarok18:25
NobodyCamlucasagomes: i been a long time sense I used devstack. how are you creating your baremetal node?18:25
digambargetting error again18:25
digambarcreate-nodes: command not found18:25
digambarif try this out using tripleO script18:26
lucasagomesNobodyCam, I used the tripleo scripts18:26
digambartripleo-incubator/scripts/create-nodes: line 5: $2: unbound variable18:26
lucasagomeshttps://etherpad.openstack.org/p/IronicSshPowerDriverDevstack18:26
lucasagomes$ git clone  https://github.com/openstack/tripleo-incubator18:26
lucasagomes$ sudo PATH=$PATH:../tripleo-incubator/scripts/ ./tripleo-incubator/scripts/create-nodes 1 512 10 amd64 118:26
digambarerror: Failed to create vol baremetal-0.qcow218:27
NobodyCamlol so you use the dib scripts18:27
digambarerror: storage volume 'baremetal-0.qcow2' exists already18:27
digambarin this case its already created right ?18:27
*** martyntaylor has quit IRC18:28
NobodyCamdigambar: try running clenup-env (that should remove the node)18:28
lucasagomesheh I do18:28
digambarokk18:28
digambarerror: storage volume 'baremetal-0.qcow2' exists already18:30
digambarstill getting above error18:31
*** rloo has quit IRC18:31
NobodyCamsudo virsh undefine --remove-all-storage baremetal-0.qcow218:32
digambarerror: failed to get domain 'baremetal-0.qcow218:32
digambarerror: Domain not found: no domain with matching name 'baremetal-0.qcow2'18:32
NobodyCamoh sorry18:33
NobodyCamsudo virsh undefine --remove-all-storage baremetal-018:33
digambarstill getting same error18:34
digambarerror: Domain not found: no domain with matching name 'baremetal-0'18:34
NobodyCampaste me the output from sudo virsh list --name --all18:35
digambarresult is empty18:36
digambarbut when I am trying to create the node I get error18:36
digambarsudo PATH=$PATH:../tripleo-incubator/scripts/ ./tripleo-incubator/scripts/create-nodes 1 512 10 amd64 118:37
digambarerror: Failed to create vol baremetal-0.qcow218:37
digambarerror: storage volume 'baremetal-0.qcow2' exists already18:37
digambar& virsh list --name --all18:38
digambarresult is empty18:38
digambarI am not getting where this goes dead18:38
lucasagomesdigambar, sudo virsh vol-delete --pool default baremetal-0.qcow218:38
digambarVol baremetal-0.qcow2 deleted18:38
digambarThanks Luc18:38
digambarluca18:39
NobodyCamdigambar: you have a volume defined18:39
digambargot it deleted18:39
NobodyCam:)18:39
digambarokk18:39
lucasagomesnp18:39
lucasagomesman I hate bash18:39
digambarnow can I start with   sudo PATH=$PATH:../tripleo-incubator/scripts/ ./tripleo-incubator/scripts/create-nodes 1 512 10 amd64 118:39
lucasagomesfeck18:39
digambarhaha18:39
lucasagomeswhy it doesn;t work http://paste.openstack.org/show/61203/18:39
lucasagomes>.<!18:39
lucasagomes(that's part of what is failing in the ironic-deploy ramdisk18:40
lucasagomesNobodyCam, ^ any idea?18:40
digambarhmm18:40
NobodyCamyou've got GheRivero's patch in place (or your work around)18:41
lucasagomesNobodyCam, I fetched but I haven't actually tried18:42
NobodyCamlucasagomes: on line 9 should that not be :http://192.168.122.156:5000/v2_0/18:42
lucasagomessince I'm testing why the ramdisk is failing first18:42
lucasagomesNobodyCam, right but this one, it seems to not understand the $TOKEN_HEADER variable18:43
lucasagomeslook18:44
lucasagomesNobodyCam, http://paste.openstack.org/show/61207/18:45
lucasagomes>.<18:45
*** martyntaylor has joined #openstack-ironic18:45
lucasagomeswhen the arg is in the env variable it does seems to get evaluated in the cmd line18:45
NobodyCamya18:46
* lucasagomes don't know hw to programming in bash18:47
lucasagomesactually I feel angry every time I have to do something in bash18:47
* NobodyCam loves bash18:47
lucasagomeshah18:48
NobodyCam:-p18:48
* lucasagomes hates it18:48
lucasagomeslol18:48
digambarThank you guys18:50
digambarI am done with all the steps18:50
NobodyCam:) any time digambar18:50
lucasagomesdigambar, no problem18:50
digambarnow I want to start code for small small stuff18:51
digambarany suggestions from your side18:51
digambarIn which thing should I look at firstly ?18:52
digambarnow my setup is ready for development18:52
lucasagomesdigambar, idk exactly, but I would take a look at the bugs list18:52
NobodyCamfor first round I would say look thru the code and find a TODO or FIXME18:52
digambarokay18:52
NobodyCamenther is a great place to start18:53
digambarok18:53
digambarsure18:53
NobodyCamprob lots of todo in tests18:53
NobodyCam:-p18:53
digambarok18:54
digambarI'll look into it18:54
NobodyCam:)18:54
digambarenther means18:55
digambardo you have any doc guide ?18:56
NobodyCameither18:56
NobodyCam:-p18:56
NobodyCamguide? for?18:56
digambargot it18:57
digambarI mean do we have development guide ?18:57
digambarprobably not18:57
digambarlet me continue with looking at code first18:58
NobodyCamhttp://docs.openstack.org/developer/ironic/18:58
digambarYEs18:58
*** jistr has joined #openstack-ironic18:59
lucasagomes| provision_state        | active                                                             |19:27
NobodyCamawesome19:28
*** rloo has joined #openstack-ironic19:28
*** vkozhukalov has quit IRC19:29
digambarbye guys19:29
lucasagomesdigambar, night19:29
*** rloo has quit IRC19:29
NobodyCamnight digambar19:29
digambaryep19:29
*** rloo has joined #openstack-ironic19:30
*** digambar has quit IRC19:31
devanandamorning, all19:32
* devananda starts reading scrollback19:32
NobodyCamgood morning devananda19:33
NobodyCamstart with 11:27 from lucas19:33
NobodyCam(all times from /me are pst)19:33
devanandaNobodyCam: i started from where i went to sleep :p19:36
NobodyCam:)19:37
*** hstimer has joined #openstack-ironic19:39
lucasagomesdevananda, fixing the ramdisk, the deploy sets the provision_state as active :)19:42
lucasagomesno neutron required19:42
* lucasagomes will submit a patch to the ramdisk, but the code isn't that great cause my bash skills sucks19:42
devanandalucasagomes: awesome!19:47
devanandalucasagomes: no worries, one of us can fix it up if needed :)19:47
lucasagomesdevananda, I'm still struggling with this http://paste.openstack.org/show/61203/19:47
lucasagomesif I put the X-Auth-Token argument in an enviroment variable19:48
*** hstimer has quit IRC19:48
*** hstimer has joined #openstack-ironic19:48
lucasagomesit seems to don't get evalueted by the time we call the curl command19:48
lucasagomesanyway: https://review.openstack.org/#/c/66677/ works19:49
NobodyCamlucasagomes: :)19:53
NobodyCambrb19:54
lucasagomesand I've to run, have a good night everyone19:55
devanandag'night!19:55
NobodyCamhave a good night lucasagomes19:56
lucasagomescheers guys see ye tomorrow19:57
*** lucasagomes has quit IRC19:57
*** mdurnosvistov has quit IRC20:05
GheRiverolucasagomes: about http://paste.openstack.org/show/61203/ sounds silly but remove the space between X-Auth-Token: and the token :)20:08
GheRiverouhm, he's gone20:08
NobodyCamyep20:08
NobodyCam:-p20:09
*** notq has joined #openstack-ironic20:09
* devananda sits in the TC meeting.... makes coffee ...20:11
NobodyCamhumm20:12
NobodyCamgetting another error now20:12
NobodyCamSpecified RPC version, 1.7, not supported by this endpoint.20:12
NobodyCamsomething out of sync somewhere20:12
devanandaNobodyCam: oh, look - https://review.openstack.org/66115 merged :)20:13
NobodyCamnice :)20:15
*** hstimer has quit IRC20:15
*** hstimer has joined #openstack-ironic20:19
*** hstimer has quit IRC20:21
*** linggao has quit IRC20:23
NobodyCamhumm Error: no such option: pybasedir20:27
*** early has quit IRC20:28
NobodyCamwoo hoo (from tc meeting)20:33
NobodyCam#info ironic incubation looks good so far. Main blcoker to graduation is feature parity with nova-bm.20:33
devanandayep. woot :)20:35
NobodyCam:)20:35
NobodyCamanyone seen this error b4? http://paste.openstack.org/show/S1coxKs3IEY95F7nm8fw/20:37
devanandanow that my part of the meeting is over... /me makes coffee20:37
NobodyCam:)20:38
devanandaNobodyCam: ah. that was in a patch recently20:38
*** ndipanov has quit IRC20:40
devanandaNobodyCam: https://review.openstack.org/#/c/65628/20:42
*** jistr has quit IRC20:42
NobodyCam:) Ty20:42
devanandalemme know if that fixes it20:43
NobodyCamwill do20:43
NobodyCamit seems to20:47
NobodyCambut now another error20:47
* NobodyCam is looking20:47
NobodyCamnow getting http://paste.openstack.org/show/YnYmsDF8BUfsmI1qLpk1/20:50
*** early has joined #openstack-ironic20:52
*** ndipanov has joined #openstack-ironic20:54
NobodyCambrb quick wakies21:05
*** mrda has joined #openstack-ironic21:14
rloo:w21:27
NobodyCamfile xxx written with 42 bytes21:28
GheRiveroanother step closer...21:35
NobodyCamghe is this one of the issues you are loook at http://paste.openstack.org/show/S1coxKs3IEY95F7nm8fw/21:36
NobodyCamsorry wrong link http://paste.openstack.org/show/YnYmsDF8BUfsmI1qLpk1/21:37
*** hstimer has joined #openstack-ironic21:38
*** hstimer has quit IRC21:38
*** hstimer has joined #openstack-ironic21:38
GheRiveroyeah, i-m lookin at that21:39
GheRiveroany idea?21:39
NobodyCamnot yep21:40
NobodyCamyet21:40
*** ifarkas has quit IRC21:45
*** jdob has quit IRC21:54
*** jbjohnso has quit IRC21:56
* NobodyCam looks for somefood22:11
*** modi_vnc has joined #openstack-ironic22:17
openstackgerritA change was merged to openstack/ironic: PXEAndSSH driver lacked vendor_passthru  https://review.openstack.org/6610322:22
NobodyCamdevananda: just +2'd https://review.openstack.org/#/c/65628/22:25
NobodyCamthe pydir patch22:25
openstackgerritRoman Prykhodchenko proposed a change to openstack/ironic: Add RPC method for node maintenance mode  https://review.openstack.org/6271122:28
openstackgerritRoman Prykhodchenko proposed a change to openstack/ironic: Disallow new provision for nodes in maintenance  https://review.openstack.org/6393622:39
NobodyCamghe still around?22:52
NobodyCamGheRivero: still around?22:52
GheRiveroyeah22:52
GheRiverotell me22:52
NobodyCamgah you should be a sleep22:52
NobodyCam:)22:52
NobodyCamlooking in to the glance thing22:53
NobodyCamwhere are the glance user / pass comming from22:53
GheRiveroauth_token22:54
GheRiverohttp://git.openstack.org/cgit/openstack/ironic/tree/ironic/common/glance_service/base_image_service.py#n8222:55
GheRiveroi have this working, so I guess it should be some configuration related22:56
NobodyCamahh did you set something to make it work?22:58
GheRiveronothing. I-m using devstack+ironic22:58
GheRiveroand the only changes are the auth_url for keystone, and the patch for the get_service_url22:59
GheRiveronow I have face the $pybasedir issue22:59
GheRiverobut retrieving the image info from glance works flawlessly23:00
NobodyCamGheRivero: https://review.openstack.org/#/c/65628/23:00
GheRiveroyeah, that one :)23:00
NobodyCamfixed it for me23:01
NobodyCamGheRivero: the get_service_url is still wip?23:08
GheRiverono. it could go to revision23:09
NobodyCamdevananda: if your still around https://review.openstack.org/#/c/66538/23:10
NobodyCambrb23:10
devanandaheading out for lunch, bbiafh23:10
*** modi_vnc has quit IRC23:12
GheRiveroNobodyCam: It just downloaded all the images and booted the vm :)23:20
NobodyCamGheRivero: awesome23:23
NobodyCamGheRivero: with the pybasedir patch?23:23
GheRiveroyeah23:23
NobodyCamkool23:24
GheRiveroabout https://review.openstack.org/#/c/65657/23:24
NobodyCamlooking now23:26
GheRiveroalthoug the bug suggest to use the node.uuid for the /var/lib/ironic/images/{{node.uuid}} we are already using node.instace_uuid in /tftpboot/{{node.instance_uuid}}23:27
NobodyCamya thats a carry over from nova, i think23:28
NobodyCamwe don't assign the instance id23:28
GheRiveroso i though it could help to use the same one for both, so it's eassier to match both23:28
NobodyCamcan we gaurante that instance.uuid is unique?23:29
*** romcheg has left #openstack-ironic23:29
NobodyCamwe control node.uuid23:29
GheRiveroi guess nova would have some quite of control. to instances with the same uuid will be.... a problem23:30
GheRiverobut it's ok for me to use node.uuid23:30
NobodyCami think i would feel easier23:31
NobodyCam:-p23:31
GheRiverothe question then is. should we use it also in the /tftpboot instead of the node.instance_uuid?23:31
NobodyCamyes!23:31
GheRiverook, will update the review and prepare a new one with the tftpboot path23:32
NobodyCamawesome :) Ty ghe :)23:32
*** mrda has quit IRC23:33
*** mrda has joined #openstack-ironic23:36
*** ndipanov has quit IRC23:37
NobodyCamghe can you past me you ironic conf?23:46
GheRiverosure23:46
NobodyCampaste even23:46
NobodyCam:)23:46
*** martyntaylor has quit IRC23:46
GheRiverohttp://paste.openstack.org/show/61222/23:48
NobodyCamTY GheRivero23:48
GheRiveroalmost everything is the default23:48
NobodyCamya23:48
NobodyCamah ha23:59
NobodyCam(ironic.common.glance_service.base_image_service): 2014-01-14 23:58:43,386 WARNING cjk Auth_token: None23:59
NobodyCamnow why do I get none for auth_token23:59

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