*** harlowja has joined #openstack-ironic | 00:00 | |
NobodyCam | https://github.com/NoBodyCam/ironic-element/blob/master/nova/os-apply-config/etc/nova/nova.conf#L101-L104 | 00:00 |
---|---|---|
devananda | NobodyCam: https://review.openstack.org/#/c/66461/1/elements/nova/os-apply-config/etc/nova/nova.conf | 00:00 |
devananda | if i missed things, feel free to fix :) | 00:01 |
devananda | this should work /without/ the nova-baremetal element | 00:02 |
NobodyCam | ack ok so there is a mod to the nova conf | 00:02 |
devananda | ya | 00:02 |
devananda | note the image build line is now these elements: boot-stack nova-ironic os-collect-config dhcp-all-interfaces | 00:02 |
devananda | (it's all in the etherpad) | 00:03 |
NobodyCam | ya looking over :) | 00:03 |
NobodyCam | will start to play with it as soon as I get thru this get_service_catalog thing | 00:03 |
NobodyCam | go enjoy AU | 00:04 |
NobodyCam | :-p | 00:04 |
devananda | :) | 00:04 |
*** lexx has quit IRC | 00:05 | |
devananda | I'll pop back on tonight / tomorrow morning | 00:05 |
NobodyCam | :) | 00:06 |
*** hemna_ is now known as hemnafk | 00:07 | |
NobodyCam | devananda: have you run out yet? | 00:11 |
devananda | NobodyCam: nope | 00:11 |
NobodyCam | ahh quick ? no your seed issue | 00:11 |
NobodyCam | are you running setup-seed-vm -a $NODE_ARCH before boot-seed-vm | 00:12 |
devananda | NobodyCam: the issue iwas having had to do with neutron subnets getting off | 00:13 |
devananda | because there were duplicate neutron agents | 00:13 |
NobodyCam | ahh ack :) | 00:13 |
Haomeng | morning:) | 00:59 |
*** nosnos has joined #openstack-ironic | 01:13 | |
*** mrda has quit IRC | 01:14 | |
*** vkozhukalov has joined #openstack-ironic | 01:18 | |
*** harlowja has quit IRC | 01:22 | |
*** mrda has joined #openstack-ironic | 01:27 | |
*** harlowja has joined #openstack-ironic | 01:33 | |
*** rongze has joined #openstack-ironic | 01:51 | |
openstackgerrit | Ruby Loo proposed a change to openstack/ironic: Use same MANAGER_TOPIC variable https://review.openstack.org/66480 | 02:23 |
*** coolsvap has quit IRC | 02:53 | |
*** datajerk has quit IRC | 03:22 | |
*** datajerk has joined #openstack-ironic | 03:23 | |
*** datajerk has quit IRC | 03:25 | |
*** datajerk has joined #openstack-ironic | 03:25 | |
*** rloo has quit IRC | 03:59 | |
*** mrda has quit IRC | 04:07 | |
*** mrda has joined #openstack-ironic | 04:08 | |
*** coolsvap has joined #openstack-ironic | 04:39 | |
*** rongze has quit IRC | 04:43 | |
*** rongze has joined #openstack-ironic | 04:44 | |
*** rongze has quit IRC | 04:49 | |
*** rongze has joined #openstack-ironic | 05:14 | |
*** rongze_ has joined #openstack-ironic | 05:16 | |
*** rongze has quit IRC | 05:16 | |
*** rongze_ has quit IRC | 05:21 | |
*** marty_ has joined #openstack-ironic | 06:00 | |
*** marty_ is now known as Guest4298 | 06:00 | |
*** mrda has quit IRC | 06:00 | |
openstackgerrit | Jenkins proposed a change to openstack/ironic: Imported Translations from Transifex https://review.openstack.org/65032 | 06:03 |
*** hstimer has quit IRC | 06:04 | |
*** Guest4298 has quit IRC | 06:04 | |
*** coolsvap has quit IRC | 06:07 | |
*** rongze has joined #openstack-ironic | 06:15 | |
*** coolsvap has joined #openstack-ironic | 06:32 | |
*** vkozhukalov has quit IRC | 06:53 | |
*** lexx has joined #openstack-ironic | 07:35 | |
*** ifarkas has joined #openstack-ironic | 07:37 | |
viktors | devananda: hello | 07:42 |
openstackgerrit | Victor Sergeyev proposed a change to openstack/python-ironicclient: Drop python2.5 suport in ironicclient.common.http https://review.openstack.org/66513 | 07:55 |
openstackgerrit | Victor Sergeyev proposed a change to openstack/python-ironicclient: Drop python2.5 suport in ironicclient.common.http https://review.openstack.org/66513 | 07:57 |
*** harlowja is now known as harlowja_away | 08:00 | |
*** jistr has joined #openstack-ironic | 08:01 | |
*** lexx has quit IRC | 08:02 | |
*** mdurnosvistov has joined #openstack-ironic | 08:06 | |
*** ifarkas has quit IRC | 08:07 | |
*** ndipanov has joined #openstack-ironic | 08:26 | |
*** vkozhukalov has joined #openstack-ironic | 08:27 | |
GheRivero | morning all | 08:41 |
*** kpavel has joined #openstack-ironic | 08:42 | |
*** kpavel_ has joined #openstack-ironic | 08:43 | |
*** kpavel has quit IRC | 08:47 | |
*** kpavel_ is now known as kpavel | 08:47 | |
*** mdurnosvistov has quit IRC | 08:53 | |
Haomeng | GheRivero: morning:) | 08:54 |
*** coolsvap has quit IRC | 09:05 | |
*** romcheg has joined #openstack-ironic | 09:12 | |
*** ifarkas has joined #openstack-ironic | 09:18 | |
*** ifarkas has quit IRC | 09:19 | |
*** ifarkas has joined #openstack-ironic | 09:19 | |
*** ifarkas has quit IRC | 09:31 | |
*** derekh has joined #openstack-ironic | 09:36 | |
*** mdurnosvistov has joined #openstack-ironic | 09:36 | |
*** coolsvap has joined #openstack-ironic | 09:38 | |
*** ifarkas has joined #openstack-ironic | 09:42 | |
*** mdurnosvistov has left #openstack-ironic | 09:42 | |
*** mdurnosvistov has quit IRC | 09:42 | |
*** mdurnosvistov has joined #openstack-ironic | 09:44 | |
*** mdurnosvistov has quit IRC | 09:49 | |
*** mdurnosvistov has joined #openstack-ironic | 09:49 | |
*** mdurnosvistov has quit IRC | 09:49 | |
*** mdurnosvistov has joined #openstack-ironic | 09:50 | |
agordeev | good morning, all | 10:07 |
GheRivero | morning all, anyone has some idea about keystone catalog and service filtering? | 10:07 |
*** jistr has quit IRC | 10:14 | |
Haomeng | agordeev: morning:) | 10:25 |
*** coolsvap has quit IRC | 10:27 | |
Haomeng | GheRivero: our Ironic service is registered into keystone by this script - https://github.com/openstack-dev/devstack/blob/master/lib/ironic#L159 | 10:30 |
GheRivero | The issue I have found is that in http://git.openstack.org/cgit/openstack/ironic/tree/ironic/common/keystone.py#n27 | 10:32 |
GheRivero | but keystoneclient is getting the endpoint list, so we cannot filter with attr='name', filter_value='ironic' | 10:33 |
GheRivero | unless I'm missing something | 10:34 |
Haomeng | GheRivero: yes, we have to concept, service and endpoint, and two tables in keystone db | 10:34 |
agordeev | Haomeng: morning! | 10:35 |
agordeev | GheRivero: morning! | 10:35 |
Haomeng | GheRivero: so depends on what we are retrieving, is it service or endpoint? | 10:35 |
GheRivero | morning agordeev | 10:35 |
Haomeng | agordeev: morning:) | 10:35 |
GheRivero | endpoint | 10: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-ironic | 10:35 | |
Haomeng | GheRivero: let me look into the code | 10:35 |
GheRivero | http://git.openstack.org/cgit/openstack/python-keystoneclient/tree/keystoneclient/service_catalog.py#n128 | 10:36 |
Haomeng | GheRivero: keystone client have both service and endpoint command interface - service-list and endpoint-list, so we can enable the debugger to see which api call | 10:37 |
Haomeng | GheRivero: I think get_service_endpoints will join service and endpoints two tables | 10:39 |
Haomeng | GheRivero: where endpoint.service_id = service.id | 10:40 |
GheRivero | yes but after that: endpoints = sc_endpoints[service_type] | 10:40 |
GheRivero | and starts working only with the endpoints | 10:41 |
Haomeng | GheRivero: you mean our code is not working - http://git.openstack.org/cgit/openstack/ironic/tree/ironic/common/keystone.py#n28 ? | 10:42 |
GheRivero | yeah, that is | 10:43 |
Haomeng | GheRivero: got, let me looking into the code | 10:44 |
*** max_lobur_afk is now known as max_lobur | 10:44 | |
GheRivero | the filter_value and attr are only used after retrieving the endpoints, http://git.openstack.org/cgit/openstack/python-keystoneclient/tree/keystoneclient/service_catalog.py#n136 | 10:44 |
Haomeng | GheRivero: if our keystone code is old and not sync with keystone for lang time | 10:45 |
Haomeng | long time | 10:45 |
GheRivero | ok. maybe that was the piece I was missing :) | 10:46 |
Haomeng | GheRivero: how to recreate this issue, I want to debug to see if our ironic service configuration data is wrong | 10:51 |
Haomeng | GheRivero: and if we have the exception stack? | 10:52 |
Haomeng | GheRivero: this is reference code from ceilometer - https://github.com/openstack/ceilometer/blob/master/ceilometer/image/glance.py#L36 | 10:52 |
Haomeng | GheRivero: calling ksclient.service_catalog.url_for() metod without these attr='name', filter_value='ironic' input filters | 10:53 |
Haomeng | GheRivero: so can we remove these attr and filter_value to have a try, I think they are not required | 10:53 |
openstackgerrit | Ghe Rivero proposed a change to openstack/ironic: Fix keystone get_service_url filtering https://review.openstack.org/66538 | 10:54 |
Haomeng | GheRivero: or we just use more fileters to filter the service which name='baremetal', not 'ironic'? | 10:54 |
Haomeng | GheRivero: see your patch, and we remove these filters - attr='name', filter_value='ironic' | 10:56 |
GheRivero | we are already retrieving the endpoints with service_type=baremetal, so there is no need for more extra filtering | 10:56 |
Haomeng | GheRivero: ok. | 10:57 |
*** jistr has joined #openstack-ironic | 10:57 | |
GheRivero | found 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 code | 10:58 |
*** lucasagomes has joined #openstack-ironic | 11:00 | |
Haomeng | GheRivero: great | 11:01 |
Haomeng | GheRivero: let me have a test code to see how it works | 11:03 |
*** mrda has quit IRC | 11:07 | |
max_lobur | morning Ironic! | 11:07 |
Haomeng | max_lobur: morning:) | 11:08 |
max_lobur | Hey Haomeng :) | 11:08 |
max_lobur | could you please respond to my last comment https://review.openstack.org/#/c/63904/1/ironic/drivers/modules/pxe.py | 11:08 |
Haomeng | max_lobur: sure | 11:09 |
Haomeng | max_lobur: let me check | 11:09 |
Haomeng | max_lobur: Max, I am fine with "all" level timeout control:) | 11:10 |
Haomeng | max_lobur: and we can use the existing CONF.pxe.image_download_timeout as the 'all' level time control | 11:11 |
Haomeng | max_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 |
Haomeng | max_lobur: commit my response, check please:) | 11:12 |
Haomeng | max_lobur: please restore it and I will commit the response | 11:13 |
max_lobur | restored | 11:14 |
Haomeng | max_lobur: done:) | 11:14 |
Haomeng | max_lobur: no score this time:) | 11:14 |
*** martyntaylor has joined #openstack-ironic | 11:18 | |
max_lobur | Haomeng, sorry, I just can't find the CONF.pxe.image_download_timeout defined . Can you please point out where it's declared? | 11:43 |
Haomeng | max_lobur: dont worry, let me find:) | 11:47 |
Haomeng | max_lobur: Max, I can not fint it too, so can we create this new one with your patch? | 11:49 |
Haomeng | max_lobur: I think we can add such CONF.pxe.image_download_timeout into our ironic.conf | 11:50 |
max_lobur | yea | 11:50 |
max_lobur | I'll add the option | 11:50 |
max_lobur | ok, thanks for you help :) | 11:50 |
Haomeng | max_lobur: welceom:) | 11:56 |
Haomeng | max_lobur: welcome:) | 11:57 |
*** rongze has quit IRC | 12:06 | |
*** rongze has joined #openstack-ironic | 12:07 | |
*** rongze has quit IRC | 12:11 | |
*** rongze has joined #openstack-ironic | 12:18 | |
*** coolsvap has joined #openstack-ironic | 12:24 | |
lucasagomes | devananda, NobodyCam: achievement unlocked!! First vm to be deployed by Ironic :) http://s11.postimg.org/lgaf6fivl/Screenshot_from_2014_01_14_12_29_43.png | 12:30 |
lucasagomes | some logs: http://paste.openstack.org/show/61178/ | 12:34 |
lucasagomes | better ss: http://s22.postimg.org/ojxz7qn0v/Screenshot_from_2014_01_14_12_35_09.png | 12:35 |
devananda | lucasagomes: fantastic! | 12:45 |
lucasagomes | devananda, :D | 12:45 |
*** coolsvap has quit IRC | 12:46 | |
lucasagomes | something 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 |
lucasagomes | ramdisk is giving me: "could not resolve host" in the curl command | 12:52 |
lucasagomes | I will investigate that | 12:52 |
lucasagomes | but the image was copied to the disk and the pxe config file was updated | 12:52 |
lucasagomes | :) | 12:53 |
devananda | lucasagomes: you're using dnsmasq, not neutron, right? | 12:53 |
lucasagomes | devananda, yes, dnsmasq | 12:53 |
devananda | lucasagomes: are you injecting a static IP into the instance? | 12:54 |
lucasagomes | I'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.48 | 12:54 |
devananda | if not, it's going to try to DHCP but wont get an address | 12:54 |
lucasagomes | devananda, hmm I didn't use any file injection no | 12:54 |
lucasagomes | so that might be it | 12:54 |
devananda | right | 12:54 |
devananda | so the old baremetal, before we had neutron there, had to do file injection | 12:54 |
lucasagomes | the last error just shows | last_error | PXE driver failed to continue deployment. | 12:54 |
devananda | yep | 12:55 |
lucasagomes | trying to find what went wrong in the logs | 12:55 |
devananda | guessing -- because the instance didn't get an IP when it came up | 12:55 |
lucasagomes | (my env is a mess as well, I might start another deployment) | 12:55 |
devananda | see the instance console logs | 12:55 |
devananda | it's not getting on the net | 12:55 |
lucasagomes | devananda, right, will take a look here | 12:55 |
devananda | cant reach back to cloudinit | 12:55 |
lucasagomes | oh yea there's like 20 tries | 12:56 |
devananda | lucasagomes: one option is revive the old file injection code. i would rather we dont do that | 12:56 |
lucasagomes | "request failed" when the instance is booting up | 12:56 |
devananda | lucasagomes: another option is use dkehn's neutron patch | 12:56 |
devananda | have you tried it? | 12:56 |
lucasagomes | devananda, not yet | 12:56 |
devananda | k | 12:56 |
devananda | actually | 12:56 |
lucasagomes | I will give it a try | 12:56 |
devananda | that should only be needed for node takeover | 12:56 |
devananda | so nvm that | 12:56 |
lucasagomes | I had to use ur patch to fix the vendor interface for the pxe_ssh driver tho | 12:56 |
devananda | i wonder if the nova-ironic driver is doing the right thing | 12:56 |
devananda | lucasagomes: ack | 12:57 |
lucasagomes | and the rest of my patches fixing ironic-rootwrap | 12:57 |
devananda | so NobodyCam's ironic driver should be sending info to neutron | 12:57 |
lucasagomes | devananda, yea... I will review again the ironic driver | 12:57 |
devananda | but you're running another dnsmasq process which may conflict with it | 12:57 |
devananda | we really do need neutron bindings to get it all working | 12:57 |
lucasagomes | +1 | 12:58 |
lucasagomes | so if I use dkehn patch, I don't need another dnsmasq | 12:58 |
lucasagomes | I mean I dont need dnsmasq at all | 12:58 |
lucasagomes | is that correct? | 12:58 |
devananda | well | 12:58 |
lucasagomes | I will have to send some info to neutron by hand | 12:58 |
devananda | dkehn's patch actgually should only be needed for conductor takeover | 12:58 |
lucasagomes | just like the driver would | 12:58 |
lucasagomes | right | 12:59 |
devananda | so yhou shouldn't need either manual dnsmasq OR dkehn's patch at this point in your testing | 12:59 |
devananda | IF the nova-ironic driver is sending info to neutron | 12:59 |
lucasagomes | gotcha | 12:59 |
lucasagomes | I might better be testing the tripleO approach then, instead of trying to do all it manually | 13:00 |
Haomeng | lucasagomes: great work:) | 13:00 |
lucasagomes | Haomeng, cheers :) | 13:00 |
devananda | lucasagomes: see L558 of https://review.openstack.org/#/c/51328/8/nova/virt/ironic/driver.py | 13:01 |
devananda | lucasagomes: i think that should be showing up in your log | 13:01 |
devananda | if it works right | 13:01 |
Haomeng | lucasagomes: how can I try with this ironic vm ? I try some times, encountered such 'pinging' with wrong address error | 13:01 |
devananda | there's some plubming in the nova.compute.manager layer now too, for sending some info about the VIF and MAC to neutron | 13:02 |
devananda | i wonder if our driver is binding properly there | 13:02 |
devananda | that may have been added to nova-braemetal after i started the nova-ironic driver, not sure | 13:02 |
lucasagomes | devananda, right, well I'm not using the ironic driver in the moment so it won't be in my logs | 13:02 |
lucasagomes | I can try to setup it with tripleO | 13:03 |
lucasagomes | and see if the driver is doing the right calls etc | 13:03 |
lucasagomes | Haomeng, when pxe'ing boot the vm? | 13:04 |
Haomeng | lucasagomes: yes | 13:13 |
lucasagomes | Haomeng, right, so I'm running a dnsmasq to do the pxe booting | 13:13 |
lucasagomes | 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.48 | 13:13 |
lucasagomes | Haomeng, also check ur firewall to see if port 69 is open | 13:14 |
Haomeng | lucasagomes: ok | 13:14 |
lucasagomes | eth1 is my bridge interface | 13:14 |
Haomeng | lucasagomes: the image I used is by this command - ramdisk-image-create -a amd64 -o ubuntu-deploy-ironic deploy-ironic ubuntu , is right? | 13:14 |
lucasagomes | Haomeng, seems fine | 13:15 |
lucasagomes | I used: bin/ramdisk-image-create -a amd64 ubuntu deploy-ironic -o /tmp/deploy-ramdisk | 13:15 |
Haomeng | lucasagomes: :) | 13:15 |
Haomeng | lucasagomes: should we apply the neutron ironic patch to enable the dhcp neutron port? | 13:17 |
lucasagomes | Haomeng, I haven't tried that yet | 13:17 |
Haomeng | lucasagomes: you run these dhcp by manually? | 13:17 |
Haomeng | lucasagomes: ok | 13:17 |
lucasagomes | Haomeng, yes, in the moment I'm running it manually | 13:17 |
Haomeng | lucasagomes: ok, will try, great command:) | 13:18 |
Haomeng | lucasagomes: ) | 13:18 |
lucasagomes | :) | 13:18 |
Haomeng | tired, will go to sleep, nice day Ironic:) | 13:20 |
lucasagomes | Haomeng, g'night :) | 13:20 |
Haomeng | lucasagomes: nice day Lucas:) | 13:20 |
devananda | lucasagomes: you could give the right commands to neutron manually | 13:22 |
devananda | lucasagomes: so that it answers the dhcp request(s) | 13:22 |
lucasagomes | devananda, right I can try that :) | 13:23 |
*** jdob has joined #openstack-ironic | 13:30 | |
devananda | agordeev: hi! just saw your email but i'm about to go to sleep | 14:08 |
devananda | agordeev: 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 |
devananda | agordeev: i think that would be much more efficient | 14:09 |
max_lobur | Hi Everyone | 14:13 |
max_lobur | I'd like to push a patch to openstack/requirements | 14:13 |
max_lobur | I need someone to review it | 14:13 |
max_lobur | do they have IRC channel so I can ping there | 14:13 |
devananda | max_lobur: that is the infra team | 14:14 |
devananda | #openstack-infra | 14:14 |
max_lobur | ah, thanks | 14:14 |
devananda | np | 14:14 |
devananda | and with taht, i'm off to attempt sleep :) | 14:14 |
devananda | g'night, all1 | 14:14 |
max_lobur | g'night :) | 14:14 |
lucasagomes | night :) | 14:15 |
agordeev | devananda: hi! okay, i'll do that. Good night! :) | 14:17 |
*** rloo has joined #openstack-ironic | 14:19 | |
*** jbjohnso has joined #openstack-ironic | 14:41 | |
*** matty_dubs|gone is now known as matty_dubs | 14:48 | |
*** nosnos has quit IRC | 14:50 | |
NobodyCam | good morning Ironic | 14:56 |
NobodyCam | says the man making coffee | 14:57 |
agordeev | NobodyCam: morning :) | 14:58 |
NobodyCam | morning agordeev :) | 14:59 |
max_lobur | morning NobodyCam :) | 14:59 |
NobodyCam | morning max_lobur | 14:59 |
GheRivero | morning all | 15:00 |
NobodyCam | morning ghe | 15:00 |
NobodyCam | hey GheRivero I think I found whats up with the get_service_url thing | 15:01 |
NobodyCam | going to try and test it | 15:01 |
GheRivero | I found something about the filter_value and attr | 15:02 |
GheRivero | https://review.openstack.org/#/c/66538/1/ironic/common/keystone.py - WIP | 15:03 |
*** coolsvap has joined #openstack-ironic | 15:04 | |
NobodyCam | yep thats what I found too | 15:04 |
*** vkozhukalov has quit IRC | 15:04 | |
NobodyCam | does that work? | 15:04 |
NobodyCam | I have not tested it | 15:04 |
NobodyCam | yet | 15:04 |
*** kobier has joined #openstack-ironic | 15:04 | |
GheRivero | yes, at least for my deployment :) | 15:05 |
NobodyCam | woo hoo :) | 15:05 |
NobodyCam | lol I found it here: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/tests/v2_0/test_service_catalog.py#L32 | 15:05 |
*** jbjohnso has quit IRC | 15:06 | |
lucasagomes | morning NobodyCam GheRivero | 15:07 |
lucasagomes | GheRivero, I will try ur patch later | 15:07 |
NobodyCam | morning lucasagomes :) | 15:07 |
lucasagomes | NobodyCam, idk if you scrolled up, good news | 15:07 |
lucasagomes | I just got the very first vm deployed by ironic :D | 15:07 |
lucasagomes | ofc I had to work around some stuff | 15:07 |
GheRivero | https://review.openstack.org/#/c/53038/2/keystoneclient/service_catalog.py In the last comment the suggest to remove the filters | 15:07 |
lucasagomes | manually | 15:07 |
NobodyCam | awesone ness!!!! | 15:08 |
*** rongze has quit IRC | 15:15 | |
*** jbjohnso has joined #openstack-ironic | 15:18 | |
*** lucasagomes is now known as lucas-hungry | 15:27 | |
*** kpavel has quit IRC | 15:41 | |
*** rongze has joined #openstack-ironic | 15:46 | |
*** kobier has quit IRC | 15:54 | |
NobodyCam | brb quick walkies | 15:57 |
*** jbjohnso has quit IRC | 16:00 | |
*** mdurnosvistov has quit IRC | 16:08 | |
*** linggao has joined #openstack-ironic | 16:10 | |
*** jbjohnso has joined #openstack-ironic | 16:12 | |
openstackgerrit | Roman Prykhodchenko proposed a change to openstack/ironic: Process public API list as regular expressions https://review.openstack.org/66621 | 16:22 |
*** lucas-hungry is now known as lucasagomes | 16:23 | |
*** jistr has quit IRC | 16:23 | |
openstackgerrit | Roman Prykhodchenko proposed a change to openstack/ironic: Process public API list as regular expressions https://review.openstack.org/66621 | 16:24 |
lucasagomes | dkehn, ping | 16:36 |
lucasagomes | dkehn, 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 |
NobodyCam | lucasagomes: I think he may be on his to the neutron sprint | 16:39 |
lucasagomes | NobodyCam, I see, np :) he might get to see this message later | 16:40 |
NobodyCam | yep | 16:40 |
*** viktors has left #openstack-ironic | 16:45 | |
*** blamar has quit IRC | 16:53 | |
*** mdurnosvistov has joined #openstack-ironic | 16:54 | |
*** blamar has joined #openstack-ironic | 16:55 | |
*** vkozhukalov has joined #openstack-ironic | 17:06 | |
*** matty_dubs is now known as matty_dubs|lunch | 17:09 | |
*** max_lobur is now known as max_lobur_afk | 17:28 | |
NobodyCam | alll hands meeting over... now need to feed the bubbies. brb | 17:34 |
*** digambar has joined #openstack-ironic | 17:34 | |
*** matty_dubs|lunch is now known as matty_dubs | 17:44 | |
NobodyCam | post breakfast walkies time | 17:51 |
digambar | Hi | 17:52 |
digambar | ronic node-create -d fake_ssh -i ssh_address=192.168.122.1 -i ssh_username=root -i ssh_password=openstack -i ssh_virt_type=virsh | 17:52 |
digambar | HTTPForbidden (HTTP 403) | 17:52 |
digambar | this is authentication error | 17:52 |
digambar | I have followed steps which is given in the doc | 17:53 |
digambar | storage volume 'baremetal-0.qcow2' exists already | 17:53 |
*** derekh has quit IRC | 17:54 | |
digambar | @NobodyCam & lucasagomes | 17:55 |
digambar | Is there something I am missing here | 17:55 |
digambar | sudo virsh --version | 17:55 |
digambar | 1.2.0 | 17:56 |
lucasagomes | digambar, did you setup it with devstack? | 17:56 |
digambar | yes | 17:58 |
digambar | I have setup ironic with devstack | 17:58 |
digambar | but creating node with driver info | 17:59 |
lucasagomes | try exporting this variables before running the ironic command | 18:01 |
lucasagomes | http://paste.openstack.org/show/61202/ | 18:01 |
digambar | okk | 18:02 |
*** harlowja_away is now known as harlowja | 18:03 | |
*** rongze has quit IRC | 18:08 | |
*** rongze has joined #openstack-ironic | 18:10 | |
*** rongze has quit IRC | 18:10 | |
digambar | for creating a port we need MAC ID | 18:16 |
NobodyCam | humm something has changed | 18:17 |
NobodyCam | object has no attribute 'ComputeDriver' | 18:17 |
digambar | but I didn't get it from create node command | 18:17 |
NobodyCam | digambar: have you run port-create? | 18:18 |
NobodyCam | ironic port-create -a AA:BB:CC:DD:EE:FF -n nodeUUid | 18:19 |
digambar | but for created node I dont have mac id generated | 18:19 |
digambar | So here how I can fetch now | 18:19 |
digambar | now if I run this script to create the node | 18:21 |
digambar | sudo PATH=$PATH:tripleo-incubator/scripts/ tripleo-incubator/scripts/create-nodes 1 512 10 amd64 1 | 18:21 |
digambar | sudo PATH=$PATH:tripleo-incubator/scripts/ tripleo-incubator/scripts/create-nodes 1 512 10 amd64 1 | 18:21 |
digambar | error: Failed to create vol baremetal-0.qcow2 | 18:22 |
digambar | error: storage volume 'baremetal-0.qcow2' exists already | 18:22 |
NobodyCam | digambar: here is how I create a node to test dib | 18:22 |
NobodyCam | http://paste.openstack.org/show/8vhvDyYuxp7t67SVN8ka/ | 18:22 |
digambar | ok | 18:22 |
digambar | let me do that | 18:23 |
digambar | for create-nodes | 18:24 |
digambar | do we need to install triplO firstly ?? | 18:24 |
NobodyCam | thats a dib script | 18:24 |
digambar | ok | 18:25 |
NobodyCam | lucasagomes: i been a long time sense I used devstack. how are you creating your baremetal node? | 18:25 |
digambar | getting error again | 18:25 |
digambar | create-nodes: command not found | 18:25 |
digambar | if try this out using tripleO script | 18:26 |
lucasagomes | NobodyCam, I used the tripleo scripts | 18:26 |
digambar | tripleo-incubator/scripts/create-nodes: line 5: $2: unbound variable | 18:26 |
lucasagomes | https://etherpad.openstack.org/p/IronicSshPowerDriverDevstack | 18:26 |
lucasagomes | $ git clone https://github.com/openstack/tripleo-incubator | 18:26 |
lucasagomes | $ sudo PATH=$PATH:../tripleo-incubator/scripts/ ./tripleo-incubator/scripts/create-nodes 1 512 10 amd64 1 | 18:26 |
digambar | error: Failed to create vol baremetal-0.qcow2 | 18:27 |
NobodyCam | lol so you use the dib scripts | 18:27 |
digambar | error: storage volume 'baremetal-0.qcow2' exists already | 18:27 |
digambar | in this case its already created right ? | 18:27 |
*** martyntaylor has quit IRC | 18:28 | |
NobodyCam | digambar: try running clenup-env (that should remove the node) | 18:28 |
lucasagomes | heh I do | 18:28 |
digambar | okk | 18:28 |
digambar | error: storage volume 'baremetal-0.qcow2' exists already | 18:30 |
digambar | still getting above error | 18:31 |
*** rloo has quit IRC | 18:31 | |
NobodyCam | sudo virsh undefine --remove-all-storage baremetal-0.qcow2 | 18:32 |
digambar | error: failed to get domain 'baremetal-0.qcow2 | 18:32 |
digambar | error: Domain not found: no domain with matching name 'baremetal-0.qcow2' | 18:32 |
NobodyCam | oh sorry | 18:33 |
NobodyCam | sudo virsh undefine --remove-all-storage baremetal-0 | 18:33 |
digambar | still getting same error | 18:34 |
digambar | error: Domain not found: no domain with matching name 'baremetal-0' | 18:34 |
NobodyCam | paste me the output from sudo virsh list --name --all | 18:35 |
digambar | result is empty | 18:36 |
digambar | but when I am trying to create the node I get error | 18:36 |
digambar | sudo PATH=$PATH:../tripleo-incubator/scripts/ ./tripleo-incubator/scripts/create-nodes 1 512 10 amd64 1 | 18:37 |
digambar | error: Failed to create vol baremetal-0.qcow2 | 18:37 |
digambar | error: storage volume 'baremetal-0.qcow2' exists already | 18:37 |
digambar | & virsh list --name --all | 18:38 |
digambar | result is empty | 18:38 |
digambar | I am not getting where this goes dead | 18:38 |
lucasagomes | digambar, sudo virsh vol-delete --pool default baremetal-0.qcow2 | 18:38 |
digambar | Vol baremetal-0.qcow2 deleted | 18:38 |
digambar | Thanks Luc | 18:38 |
digambar | luca | 18:39 |
NobodyCam | digambar: you have a volume defined | 18:39 |
digambar | got it deleted | 18:39 |
NobodyCam | :) | 18:39 |
digambar | okk | 18:39 |
lucasagomes | np | 18:39 |
lucasagomes | man I hate bash | 18:39 |
digambar | now can I start with sudo PATH=$PATH:../tripleo-incubator/scripts/ ./tripleo-incubator/scripts/create-nodes 1 512 10 amd64 1 | 18:39 |
lucasagomes | feck | 18:39 |
digambar | haha | 18:39 |
lucasagomes | why 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 ramdisk | 18:40 |
lucasagomes | NobodyCam, ^ any idea? | 18:40 |
digambar | hmm | 18:40 |
NobodyCam | you've got GheRivero's patch in place (or your work around) | 18:41 |
lucasagomes | NobodyCam, I fetched but I haven't actually tried | 18:42 |
NobodyCam | lucasagomes: on line 9 should that not be :http://192.168.122.156:5000/v2_0/ | 18:42 |
lucasagomes | since I'm testing why the ramdisk is failing first | 18:42 |
lucasagomes | NobodyCam, right but this one, it seems to not understand the $TOKEN_HEADER variable | 18:43 |
lucasagomes | look | 18:44 |
lucasagomes | NobodyCam, http://paste.openstack.org/show/61207/ | 18:45 |
lucasagomes | >.< | 18:45 |
*** martyntaylor has joined #openstack-ironic | 18:45 | |
lucasagomes | when the arg is in the env variable it does seems to get evaluated in the cmd line | 18:45 |
NobodyCam | ya | 18:46 |
* lucasagomes don't know hw to programming in bash | 18:47 | |
lucasagomes | actually I feel angry every time I have to do something in bash | 18:47 |
* NobodyCam loves bash | 18:47 | |
lucasagomes | hah | 18:48 |
NobodyCam | :-p | 18:48 |
* lucasagomes hates it | 18:48 | |
lucasagomes | lol | 18:48 |
digambar | Thank you guys | 18:50 |
digambar | I am done with all the steps | 18:50 |
NobodyCam | :) any time digambar | 18:50 |
lucasagomes | digambar, no problem | 18:50 |
digambar | now I want to start code for small small stuff | 18:51 |
digambar | any suggestions from your side | 18:51 |
digambar | In which thing should I look at firstly ? | 18:52 |
digambar | now my setup is ready for development | 18:52 |
lucasagomes | digambar, idk exactly, but I would take a look at the bugs list | 18:52 |
NobodyCam | for first round I would say look thru the code and find a TODO or FIXME | 18:52 |
digambar | okay | 18:52 |
NobodyCam | enther is a great place to start | 18:53 |
digambar | ok | 18:53 |
digambar | sure | 18:53 |
NobodyCam | prob lots of todo in tests | 18:53 |
NobodyCam | :-p | 18:53 |
digambar | ok | 18:54 |
digambar | I'll look into it | 18:54 |
NobodyCam | :) | 18:54 |
digambar | enther means | 18:55 |
digambar | do you have any doc guide ? | 18:56 |
NobodyCam | either | 18:56 |
NobodyCam | :-p | 18:56 |
NobodyCam | guide? for? | 18:56 |
digambar | got it | 18:57 |
digambar | I mean do we have development guide ? | 18:57 |
digambar | probably not | 18:57 |
digambar | let me continue with looking at code first | 18:58 |
NobodyCam | http://docs.openstack.org/developer/ironic/ | 18:58 |
digambar | YEs | 18:58 |
*** jistr has joined #openstack-ironic | 18:59 | |
lucasagomes | | provision_state | active | | 19:27 |
NobodyCam | awesome | 19:28 |
*** rloo has joined #openstack-ironic | 19:28 | |
*** vkozhukalov has quit IRC | 19:29 | |
digambar | bye guys | 19:29 |
lucasagomes | digambar, night | 19:29 |
*** rloo has quit IRC | 19:29 | |
NobodyCam | night digambar | 19:29 |
digambar | yep | 19:29 |
*** rloo has joined #openstack-ironic | 19:30 | |
*** digambar has quit IRC | 19:31 | |
devananda | morning, all | 19:32 |
* devananda starts reading scrollback | 19:32 | |
NobodyCam | good morning devananda | 19:33 |
NobodyCam | start with 11:27 from lucas | 19:33 |
NobodyCam | (all times from /me are pst) | 19:33 |
devananda | NobodyCam: i started from where i went to sleep :p | 19:36 |
NobodyCam | :) | 19:37 |
*** hstimer has joined #openstack-ironic | 19:39 | |
lucasagomes | devananda, fixing the ramdisk, the deploy sets the provision_state as active :) | 19:42 |
lucasagomes | no neutron required | 19:42 |
* lucasagomes will submit a patch to the ramdisk, but the code isn't that great cause my bash skills sucks | 19:42 | |
devananda | lucasagomes: awesome! | 19:47 |
devananda | lucasagomes: no worries, one of us can fix it up if needed :) | 19:47 |
lucasagomes | devananda, I'm still struggling with this http://paste.openstack.org/show/61203/ | 19:47 |
lucasagomes | if I put the X-Auth-Token argument in an enviroment variable | 19:48 |
*** hstimer has quit IRC | 19:48 | |
*** hstimer has joined #openstack-ironic | 19:48 | |
lucasagomes | it seems to don't get evalueted by the time we call the curl command | 19:48 |
lucasagomes | anyway: https://review.openstack.org/#/c/66677/ works | 19:49 |
NobodyCam | lucasagomes: :) | 19:53 |
NobodyCam | brb | 19:54 |
lucasagomes | and I've to run, have a good night everyone | 19:55 |
devananda | g'night! | 19:55 |
NobodyCam | have a good night lucasagomes | 19:56 |
lucasagomes | cheers guys see ye tomorrow | 19:57 |
*** lucasagomes has quit IRC | 19:57 | |
*** mdurnosvistov has quit IRC | 20:05 | |
GheRivero | lucasagomes: about http://paste.openstack.org/show/61203/ sounds silly but remove the space between X-Auth-Token: and the token :) | 20:08 |
GheRivero | uhm, he's gone | 20:08 |
NobodyCam | yep | 20:08 |
NobodyCam | :-p | 20:09 |
*** notq has joined #openstack-ironic | 20:09 | |
* devananda sits in the TC meeting.... makes coffee ... | 20:11 | |
NobodyCam | humm | 20:12 |
NobodyCam | getting another error now | 20:12 |
NobodyCam | Specified RPC version, 1.7, not supported by this endpoint. | 20:12 |
NobodyCam | something out of sync somewhere | 20:12 |
devananda | NobodyCam: oh, look - https://review.openstack.org/66115 merged :) | 20:13 |
NobodyCam | nice :) | 20:15 |
*** hstimer has quit IRC | 20:15 | |
*** hstimer has joined #openstack-ironic | 20:19 | |
*** hstimer has quit IRC | 20:21 | |
*** linggao has quit IRC | 20:23 | |
NobodyCam | humm Error: no such option: pybasedir | 20:27 |
*** early has quit IRC | 20:28 | |
NobodyCam | woo 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 |
devananda | yep. woot :) | 20:35 |
NobodyCam | :) | 20:35 |
NobodyCam | anyone seen this error b4? http://paste.openstack.org/show/S1coxKs3IEY95F7nm8fw/ | 20:37 |
devananda | now that my part of the meeting is over... /me makes coffee | 20:37 |
NobodyCam | :) | 20:38 |
devananda | NobodyCam: ah. that was in a patch recently | 20:38 |
*** ndipanov has quit IRC | 20:40 | |
devananda | NobodyCam: https://review.openstack.org/#/c/65628/ | 20:42 |
*** jistr has quit IRC | 20:42 | |
NobodyCam | :) Ty | 20:42 |
devananda | lemme know if that fixes it | 20:43 |
NobodyCam | will do | 20:43 |
NobodyCam | it seems to | 20:47 |
NobodyCam | but now another error | 20:47 |
* NobodyCam is looking | 20:47 | |
NobodyCam | now getting http://paste.openstack.org/show/YnYmsDF8BUfsmI1qLpk1/ | 20:50 |
*** early has joined #openstack-ironic | 20:52 | |
*** ndipanov has joined #openstack-ironic | 20:54 | |
NobodyCam | brb quick wakies | 21:05 |
*** mrda has joined #openstack-ironic | 21:14 | |
rloo | :w | 21:27 |
NobodyCam | file xxx written with 42 bytes | 21:28 |
GheRivero | another step closer... | 21:35 |
NobodyCam | ghe is this one of the issues you are loook at http://paste.openstack.org/show/S1coxKs3IEY95F7nm8fw/ | 21:36 |
NobodyCam | sorry wrong link http://paste.openstack.org/show/YnYmsDF8BUfsmI1qLpk1/ | 21:37 |
*** hstimer has joined #openstack-ironic | 21:38 | |
*** hstimer has quit IRC | 21:38 | |
*** hstimer has joined #openstack-ironic | 21:38 | |
GheRivero | yeah, i-m lookin at that | 21:39 |
GheRivero | any idea? | 21:39 |
NobodyCam | not yep | 21:40 |
NobodyCam | yet | 21:40 |
*** ifarkas has quit IRC | 21:45 | |
*** jdob has quit IRC | 21:54 | |
*** jbjohnso has quit IRC | 21:56 | |
* NobodyCam looks for somefood | 22:11 | |
*** modi_vnc has joined #openstack-ironic | 22:17 | |
openstackgerrit | A change was merged to openstack/ironic: PXEAndSSH driver lacked vendor_passthru https://review.openstack.org/66103 | 22:22 |
NobodyCam | devananda: just +2'd https://review.openstack.org/#/c/65628/ | 22:25 |
NobodyCam | the pydir patch | 22:25 |
openstackgerrit | Roman Prykhodchenko proposed a change to openstack/ironic: Add RPC method for node maintenance mode https://review.openstack.org/62711 | 22:28 |
openstackgerrit | Roman Prykhodchenko proposed a change to openstack/ironic: Disallow new provision for nodes in maintenance https://review.openstack.org/63936 | 22:39 |
NobodyCam | ghe still around? | 22:52 |
NobodyCam | GheRivero: still around? | 22:52 |
GheRivero | yeah | 22:52 |
GheRivero | tell me | 22:52 |
NobodyCam | gah you should be a sleep | 22:52 |
NobodyCam | :) | 22:52 |
NobodyCam | looking in to the glance thing | 22:53 |
NobodyCam | where are the glance user / pass comming from | 22:53 |
GheRivero | auth_token | 22:54 |
GheRivero | http://git.openstack.org/cgit/openstack/ironic/tree/ironic/common/glance_service/base_image_service.py#n82 | 22:55 |
GheRivero | i have this working, so I guess it should be some configuration related | 22:56 |
NobodyCam | ahh did you set something to make it work? | 22:58 |
GheRivero | nothing. I-m using devstack+ironic | 22:58 |
GheRivero | and the only changes are the auth_url for keystone, and the patch for the get_service_url | 22:59 |
GheRivero | now I have face the $pybasedir issue | 22:59 |
GheRivero | but retrieving the image info from glance works flawlessly | 23:00 |
NobodyCam | GheRivero: https://review.openstack.org/#/c/65628/ | 23:00 |
GheRivero | yeah, that one :) | 23:00 |
NobodyCam | fixed it for me | 23:01 |
NobodyCam | GheRivero: the get_service_url is still wip? | 23:08 |
GheRivero | no. it could go to revision | 23:09 |
NobodyCam | devananda: if your still around https://review.openstack.org/#/c/66538/ | 23:10 |
NobodyCam | brb | 23:10 |
devananda | heading out for lunch, bbiafh | 23:10 |
*** modi_vnc has quit IRC | 23:12 | |
GheRivero | NobodyCam: It just downloaded all the images and booted the vm :) | 23:20 |
NobodyCam | GheRivero: awesome | 23:23 |
NobodyCam | GheRivero: with the pybasedir patch? | 23:23 |
GheRivero | yeah | 23:23 |
NobodyCam | kool | 23:24 |
GheRivero | about https://review.openstack.org/#/c/65657/ | 23:24 |
NobodyCam | looking now | 23:26 |
GheRivero | althoug 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 |
NobodyCam | ya thats a carry over from nova, i think | 23:28 |
NobodyCam | we don't assign the instance id | 23:28 |
GheRivero | so i though it could help to use the same one for both, so it's eassier to match both | 23:28 |
NobodyCam | can we gaurante that instance.uuid is unique? | 23:29 |
*** romcheg has left #openstack-ironic | 23:29 | |
NobodyCam | we control node.uuid | 23:29 |
GheRivero | i guess nova would have some quite of control. to instances with the same uuid will be.... a problem | 23:30 |
GheRivero | but it's ok for me to use node.uuid | 23:30 |
NobodyCam | i think i would feel easier | 23:31 |
NobodyCam | :-p | 23:31 |
GheRivero | the question then is. should we use it also in the /tftpboot instead of the node.instance_uuid? | 23:31 |
NobodyCam | yes! | 23:31 |
GheRivero | ok, will update the review and prepare a new one with the tftpboot path | 23:32 |
NobodyCam | awesome :) Ty ghe :) | 23:32 |
*** mrda has quit IRC | 23:33 | |
*** mrda has joined #openstack-ironic | 23:36 | |
*** ndipanov has quit IRC | 23:37 | |
NobodyCam | ghe can you past me you ironic conf? | 23:46 |
GheRivero | sure | 23:46 |
NobodyCam | paste even | 23:46 |
NobodyCam | :) | 23:46 |
*** martyntaylor has quit IRC | 23:46 | |
GheRivero | http://paste.openstack.org/show/61222/ | 23:48 |
NobodyCam | TY GheRivero | 23:48 |
GheRivero | almost everything is the default | 23:48 |
NobodyCam | ya | 23:48 |
NobodyCam | ah ha | 23:59 |
NobodyCam | (ironic.common.glance_service.base_image_service): 2014-01-14 23:58:43,386 WARNING cjk Auth_token: None | 23:59 |
NobodyCam | now why do I get none for auth_token | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!