*** marty_ has joined #openstack-ironic | 00:01 | |
*** marty_ is now known as Guest47339 | 00:01 | |
*** Guest47339 has quit IRC | 00:02 | |
*** hstimer has quit IRC | 00:03 | |
*** rwsu has joined #openstack-ironic | 00:07 | |
*** mdenny has quit IRC | 00:13 | |
Haomeng | moring all:) | 00:35 |
---|---|---|
NobodyCam | morning Haomeng | 00:36 |
Haomeng | NobodyCam: :) | 00:36 |
NobodyCam | about to call it a day here and spend some time with family ... I think Deva's talk at LCA can be seen here: http://timvideos.us | 00:59 |
NobodyCam | the talk should be in a couple of hours | 01:00 |
devananda | morning, all | 01:25 |
devananda | agordeev: reading scrollback, you're working on integration testing in tempest now -- that installs the cilent from PIP, right? | 01:31 |
devananda | agordeev: if so, i'll need to push another release to PIP to get the set_provision_state in client libs out there | 01:32 |
devananda | Haomeng: I am not aware of any IPMI emulators, and so my plan is for us to only test pxe_ssh driver inside tempest for now. | 01:33 |
*** nosnos has joined #openstack-ironic | 01:33 | |
devananda | Haomeng: we'll get feedback on IPMI driver from tripleo testing once they can switch off of nova-baremetal and start using ironic | 01:33 |
Haomeng | devananda: ok, got it:) thanks:) | 01:41 |
*** epim has joined #openstack-ironic | 01:50 | |
Haomeng | devananda: ping | 01:55 |
*** epim has quit IRC | 02:07 | |
*** coolsvap has quit IRC | 02:14 | |
devananda | Haomeng: pong | 02:31 |
Haomeng | devananda: morning:) one short question, do you know if tripleo is ready for our Ironic to do integration to deploy for baremetal sys? | 02:31 |
devananda | Haomeng: taht depends -- is our nova driver fully functional? NobodyCam ? | 02:32 |
Haomeng | devananda: yes, I want to try with our ironic driver patch and use tripleo scripts to launch the deployment | 02:32 |
devananda | Haomeng: right. So, NobodyCam has been maintaining diskimage-builder element for Ironic and a walkthrough to set it up | 02:33 |
Haomeng | devananda: ok, I get his element already:) thanks | 02:33 |
devananda | Haomeng: i've been using it for a while for my testing as well. so ,yes, tripleo is ready for us to start testing ironic in it | 02:33 |
Haomeng | devananda: ok, thanks | 02:34 |
Haomeng | devananda: : and one more question about https://bugs.launchpad.net/ironic/+bug/1266201, how do you think if our ironic code should enable keystone login and get the token before glance call api call? | 02:34 |
devananda | looking | 02:34 |
Haomeng | devananda: ok, no rush, depends on your time:) | 02:36 |
devananda | so, how does nova do it? | 02:37 |
devananda | i don't see a nova config option to specify the glance auth bits. I think it's piggybacked on the tenant's auth / context | 02:37 |
devananda | we should probably do the same | 02:37 |
Haomeng | devananda: with my investigation, glance client does not work without correct token, so let me check from Nova side, and get back | 02:39 |
devananda | yes... http://git.openstack.org/cgit/openstack/nova/tree/nova/image/glance.py#n111 | 02:39 |
Haomeng | devananda: that is not specify for glance auth only, for any other project api called, the 'auth_token' should be provided in context I think, the configuration should be os_auth_url/os_username/os_password/os_tenant_name for service call in backend | 02:41 |
Haomeng | devananda: let me check nova code first, thanks | 02:42 |
devananda | Haomeng: that context belongs to the user who initiated request to the nova API | 02:42 |
devananda | Haomeng: so it is passed to all subsequent requests to other services | 02:42 |
devananda | Haomeng: in ironic, look at ironic/common/glance_service/base_image_service.py | 02:43 |
devananda | eg.... | 02:43 |
devananda | 81 if CONF.glance.auth_strategy == 'keystone': | 02:43 |
devananda | 82 params['token'] = self.context.auth_token | 02:43 |
Haomeng | devananda: you mean the context is from Nova, so it should work once our nova ironic driver is integrated | 02:43 |
Haomeng | devananda: yes, the auth_token is retrieved from context | 02:43 |
devananda | Haomeng: if a user initiates deploy via nova, then context is first generated in nova and passed to ironic,w hich then passes it to glance | 02:44 |
devananda | Haomeng: if user initiates deploy via ironic, then it is generated in ironic, but still, it is passed to glance in same way | 02:44 |
devananda | if you disable keystone auth in ironic and then try to initiate a deploy directly, i expect that it will fail | 02:45 |
Haomeng | devananda: yes, my test is not launched from nova, so the context is missing auth_token | 02:45 |
devananda | unless you also disable auth in glance, etc | 02:45 |
devananda | Haomeng: make sure that ironic config contains the line auth_strategy=keystone | 02:45 |
Haomeng | devananda: yes, i have | 02:46 |
devananda | Haomeng: are you initiating deploy via python-ironicclient or via "curl" request? | 02:46 |
Haomeng | devananda: however if our api call - v1/nodes/7f942ba9-af64-47ef-8c27-ae7870bc30e8/states/provision -d '{"target":"active"} is from Ironic CLI / RestAPI call, the context will not contain auth_token, this is my current case, if this is invalid cae? | 02:47 |
Haomeng | devananda: yes, this is different triger deployment from Ironic API directly, do you think if this is invalid caes? | 02:48 |
devananda | Haomeng: are you using python-ironicclient to initiate the deploy? | 02:48 |
Haomeng | devananda: I run curl command to trigger the deployment | 02:48 |
Haomeng | devananda: this is command - curl -i -X PUT -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' http://127.0.0.1:6385/v1/nodes/7f942ba9-af64-47ef-8c27-ae7870bc30e8/states/provision -d '{"target":"active"}' -H 'X-Auth-Token: MI...' | 02:49 |
devananda | Haomeng: ok. how are you authenticating with ironic? | 02:49 |
devananda | ah, ok | 02:49 |
devananda | so | 02:49 |
devananda | Haomeng: if you have -H 'X-Auth-Token: ...' then it should work | 02:49 |
devananda | that should become self.context.auth_token, IIUC | 02:50 |
Haomeng | devananda: our ironic api work, but when our code try to call glance api, it raises HTTPUnauthorized | 02:50 |
devananda | GheRivero: ^ | 02:50 |
Haomeng | devananda: I debuged, no auth_token for curl command call case | 02:50 |
devananda | Haomeng: so, ghe ported the PXE driver and worked on the ironic/common/glance_service code extensively. I would direct taht question to him | 02:51 |
openstackgerrit | A change was merged to openstack/ironic: Remove copyright from empty files https://review.openstack.org/64929 | 02:51 |
Haomeng | devananda: so my question here is if this is valid case, trigger the deployment with our Ironic API directly without nova, this should be issue | 02:51 |
Haomeng | devananda: ok will check with him, thank you Deva:) | 02:52 |
devananda | Haomeng: yes. the python-ironicclient library should not be doing more than your curl request | 02:52 |
devananda | Haomeng: other clients should be able to trigger deploy, too | 02:52 |
Haomeng | devananda: I think so | 02:52 |
devananda | there are many things Nova will do to prepare for the deploy, but this looks like a bug in the glance_service code | 02:53 |
Haomeng | devananda: yes, prepare the images, tftp settings, neutron dhcp ports... | 02:53 |
devananda | Haomeng: i haev updated https://bugs.launchpad.net/ironic/+bug/1266201 | 02:55 |
Haomeng | devananda: thank you, I will continue to investigate and try to make the solution:) | 02:55 |
devananda | Haomeng: thanks much! | 02:56 |
Haomeng | devananda: welcome, any time:) | 02:56 |
*** harlowja is now known as harlowja_away | 03:31 | |
openstackgerrit | Ruby Loo proposed a change to openstack/ironic: sync_power_states handles missing driver info https://review.openstack.org/65297 | 03:38 |
*** rloo has quit IRC | 03:43 | |
*** rongze has joined #openstack-ironic | 03:48 | |
*** amrit has joined #openstack-ironic | 03:53 | |
*** rongze has quit IRC | 04:31 | |
*** coolsvap has joined #openstack-ironic | 05:02 | |
openstackgerrit | Alexei Kornienko proposed a change to openstack/python-ironicclient: Added argcomplete lib to enable cli completition https://review.openstack.org/65865 | 05:03 |
*** anniec has joined #openstack-ironic | 05:07 | |
*** anniec has quit IRC | 05:12 | |
*** anniec has joined #openstack-ironic | 05:12 | |
*** rcarrillocruz has quit IRC | 05:27 | |
openstackgerrit | Jenkins proposed a change to openstack/ironic: Imported Translations from Transifex https://review.openstack.org/65032 | 06:07 |
*** hstimer has joined #openstack-ironic | 06:12 | |
*** rongze has joined #openstack-ironic | 06:22 | |
*** rongze has quit IRC | 06:22 | |
*** rongze has joined #openstack-ironic | 06:22 | |
*** anniec_ has joined #openstack-ironic | 06:30 | |
*** anniec has quit IRC | 06:32 | |
*** anniec_ is now known as anniec | 06:32 | |
*** hstimer has quit IRC | 07:05 | |
*** hstimer has joined #openstack-ironic | 07:05 | |
*** hstimer has quit IRC | 07:10 | |
*** ifarkas has joined #openstack-ironic | 07:37 | |
*** ifarkas_ has joined #openstack-ironic | 07:37 | |
GheRivero | morning all | 07:41 |
Haomeng | GheRivero: morning GheRivero:) | 07:41 |
GheRivero | Haomeng: I just see your comment about glance client | 07:46 |
Haomeng | GheRivero: yes, about https://bugs.launchpad.net/ironic/+bug/1266201, how do you think if our ironic code should enable keystone login and get the token before glance call api call? | 07:46 |
GheRivero | and back. | 07:56 |
*** mdurnosvistov has joined #openstack-ironic | 07:57 | |
*** Alexei_987 has joined #openstack-ironic | 07:57 | |
GheRivero | Haomeng: you mean when triggering a deployment directly using the API without the intervention of nova? | 07:58 |
GheRivero | will look to that, but definetly something to have. I just finished to read the whole scrollback | 08:01 |
*** rcarrillocruz has joined #openstack-ironic | 08:08 | |
*** vetalll has joined #openstack-ironic | 08:10 | |
*** rongze has quit IRC | 08:13 | |
*** hazmat has quit IRC | 08:13 | |
*** rongze has joined #openstack-ironic | 08:14 | |
*** rongze has quit IRC | 08:18 | |
Haomeng | GheRivero: yes | 08:23 |
Haomeng | GheRivero: I run this is command - curl -i -X PUT -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' http://127.0.0.1:6385/v1/nodes/7f942ba9-af64-47ef-8c27-ae7870bc30e8/states/provision -d '{"target":"active"}' -H 'X-Auth-Token: MI...' | 08:23 |
Haomeng | GheRivero: so if we support to trigger the deployment from CLI/API directly, have to login keystone from our Ironic api/conductor code, then call other client such as glance/neutron with token string which is responsed from keystone login | 08:26 |
*** ifarkas_ has quit IRC | 08:28 | |
*** mdurnosvistov has quit IRC | 08:33 | |
*** romcheg has joined #openstack-ironic | 08:41 | |
*** rongze has joined #openstack-ironic | 08:41 | |
*** rcarrillocruz1 has joined #openstack-ironic | 08:52 | |
*** rcarrillocruz has quit IRC | 08:54 | |
*** derekh has joined #openstack-ironic | 09:06 | |
*** jistr has joined #openstack-ironic | 09:06 | |
*** anniec has left #openstack-ironic | 09:13 | |
*** vetalll has left #openstack-ironic | 09:31 | |
*** mdurnosvistov has joined #openstack-ironic | 09:39 | |
*** nosnos has quit IRC | 09:49 | |
romcheg | Morning all | 09:50 |
romcheg | Good news! Tempest now can test Ironic API | 09:51 |
ifarkas | Haomeng, ping | 10:00 |
ifarkas | Good morning romcheg! Great news! | 10:00 |
romcheg | Morning ifarkas, how are you? | 10:01 |
ifarkas | romcheg, thanks, not bad. you? | 10:01 |
romcheg | I'm good, thanks! | 10:01 |
ifarkas | Haomeng, I wanted to ask you about your comment on https://bugs.launchpad.net/ironic/+bug/1261917 | 10:02 |
*** michchap_ has joined #openstack-ironic | 10:31 | |
*** martyntaylor has joined #openstack-ironic | 10:32 | |
*** michchap has quit IRC | 10:32 | |
*** rongze has quit IRC | 10:33 | |
*** rongze has joined #openstack-ironic | 10:44 | |
*** martyntaylor has quit IRC | 10:48 | |
*** rongze has quit IRC | 10:56 | |
*** lucasagomes has joined #openstack-ironic | 11:06 | |
*** tatyana has joined #openstack-ironic | 11:10 | |
agordeev | good morning all! | 11:11 |
*** max_lobur has joined #openstack-ironic | 11:29 | |
Haomeng | ifarkas: sure, I just suggest the code change, but we have no code change permision for dreamhost code | 11:40 |
Haomeng | agordeev: morning:) | 11:40 |
Haomeng | ifarkas: I see your fix, let me try to verify, thanks | 11:50 |
*** tatyana has quit IRC | 11:50 | |
*** tatyana has joined #openstack-ironic | 11:56 | |
*** ndipanov has joined #openstack-ironic | 12:08 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Make the PXE driver understand ephemeral disks https://review.openstack.org/65750 | 12:18 |
ifarkas | Haomeng, yeah, I verified your solution and it works | 12:22 |
ifarkas | Haomeng, I just wanted to ask if you are planning to create a pull request or something? If not, I can create one, I already prepared it | 12:22 |
Haomeng | ifarkas: great work | 12:25 |
Haomeng | ifarkas: thank you very much | 12:25 |
Haomeng | ifarkas: for HTTP PULL request, if our code has no such PULL API method, it will not generates any documents cotains PULL API right? | 12:26 |
Haomeng | ifarkas: now I try to verify your fix, but encountered new issue:) | 12:30 |
ifarkas | Haomeng, do you mean PATCH? if the code doesn't contain, the generated document won't contain it | 12:31 |
ifarkas | Haomeng, oh, what's the issue? | 12:31 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Fix PXE _parse_driver_info() exception message https://review.openstack.org/65932 | 12:32 |
Haomeng | ifarkas: no, other issue | 12:32 |
Haomeng | ifarkas: error: 'source_dir' must be a directory name (got `/root/1267351/ironic/doc/source`) | 12:32 |
Haomeng | ifarkas: I run " python setup.py build_sphinx" to generate doc | 12:32 |
Haomeng | ifarkas: I have the folder as well - /root/1267351/ironic/doc/source | 12:32 |
Haomeng | ifarkas: so if you verified already, the fix support new "patch", "delete" HTTP methods | 12:33 |
Haomeng | ifarkas: I will not verify it | 12:35 |
ifarkas | Haomeng, alright, then I will create the pull request | 12:41 |
GheRivero | Haomeng: I just figure out the issue with the X-Auth-Token | 12:42 |
ifarkas | Haomeng, done: https://github.com/dreamhost/sphinxcontrib-pecanwsme/pull/11 | 12:42 |
GheRivero | I will submit a patch during this afternnoon | 12:45 |
*** coolsvap has quit IRC | 12:46 | |
*** GheRivero is now known as GheRivero_afk | 12:49 | |
Haomeng | GheRivero: great, no rush, thank you:) | 12:58 |
Haomeng | GheRivero_afk: great, no rush, thank you:) | 12:59 |
Haomeng | ifarkas: thank you:) | 13:08 |
ifarkas | Haomeng, np ;-) | 13:08 |
Haomeng | ifarkas: :) | 13:08 |
*** tatyana_ has joined #openstack-ironic | 13:11 | |
*** tatyana has quit IRC | 13:12 | |
*** tatyana_ is now known as tatyana | 13:12 | |
dkehn | romcheg: morning | 13:39 |
romcheg | Morning dkehn. How are you? | 13:40 |
dkehn | romcheg: waking up 6:40 AM here, I'm sure its late in the afternoon for you | 13:40 |
romcheg | No, it's not late here. It's about 4PM | 13:41 |
dkehn | romcheg: http://paste.openstack.org/show/60963/ this is where its at, I'm trying to put the neutron integration in, the code looks good but the testing I need some advise | 13:41 |
dkehn | romcheg: going for tes, brb | 13:41 |
romcheg | оr | 13:42 |
romcheg | ok | 13:42 |
romcheg | I will check that out | 13:42 |
dkehn | b | 13:43 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/python-ironicclient: Improve node-validate command output https://review.openstack.org/65955 | 13:43 |
dkehn | romcheg: so the reason why the code exists, is under situation where the conductor fails and ironic needs to switch its tftp server to another conductor this allows ironic the capability to send neutron the command to move it | 13:44 |
dkehn | romcheg: the tought was to take some of the testing from nova/tests/unti/network/test_neutronv2.py and moe with effort to the ironic testing, one uses mox ironic uses mock | 13:46 |
romcheg | Well, converting from mox to mock should not be hard | 13:47 |
*** jdob has joined #openstack-ironic | 13:47 | |
dkehn | romcheg: thats what I was thinking, but my testing knowledge is a little lacking | 13:48 |
dkehn | romcheg: so in L53 what would that look like? | 13:49 |
romcheg | Lemme check that pls | 13:50 |
dkehn | romcheg: thx | 13:50 |
romcheg | I would move L53 to setUp() | 13:50 |
romcheg | oh I've just told nonsense, nevermind :) | 13:52 |
dkehn | romcheg: yeah, there will be more tests coming and I'd like to leave that in the individual tests | 13:53 |
dkehn | romcheg: where are you located? | 13:53 |
romcheg | I'm in Ukraine | 13:53 |
romcheg | I think you could use mock.patch.object() instead | 13:55 |
*** tzumainn has quit IRC | 13:58 | |
*** tzumainn has joined #openstack-ironic | 13:58 | |
romcheg | It returns a context manager | 13:59 |
romcheg | So the code might look like | 14:01 |
romcheg | with mock.patch.object(client.Client, "__init__") as mock_client: | 14:01 |
romcheg | mock_client.return_value=None | 14:01 |
dkehn | romcheg: something like mock.patch.object(client.Client, "__init__") | 14:01 |
dkehn | client.Client.__init__( | 14:01 |
dkehn | auth_strategy=None, | 14:01 |
dkehn | endpoint_url=CONF.neutron_url, | 14:01 |
dkehn | token=self.context.auth_token, | 14:01 |
dkehn | timeout=CONF.neutron_url_timeout, | 14:01 |
dkehn | insecure=False, | 14:01 |
dkehn | ca_cert=None).AndReturn(None) | 14:02 |
*** il_vertigo has joined #openstack-ironic | 14:02 | |
dkehn | romcheg: or what your saying is that the context = mock.patch.... and use that in the client.Clinet call? | 14:02 |
romcheg | You still need to invoke the __init__ within the context manager | 14:05 |
romcheg | Like here: https://github.com/openstack/ironic/blob/master/ironic/tests/objects/test_node.py#L33 | 14:05 |
dkehn | romcheg: ok, that make sense, | 14:09 |
dkehn | romcheg: http://paste.openstack.org/show/60973/ | 14:10 |
romcheg | .AndReturn(None) should be replaced with mock_client_init.return_value = None | 14:11 |
*** jdob has quit IRC | 14:15 | |
dkehn | romcheg: ok, so the self.mox.REplayAll() would be.... | 14:15 |
*** jdob has joined #openstack-ironic | 14:16 | |
dkehn | romcheg: I'm not sure what this does in mox, assuming that the neutron2.get_client(self.context) actually does the work | 14:16 |
dkehn | romcheg: if I leae the self.mox.REplayALl out and execute the netronv2.get_clinet it works, | 14:18 |
*** il_vertigo has left #openstack-ironic | 14:18 | |
*** jdob has quit IRC | 14:19 | |
*** jdob has joined #openstack-ironic | 14:19 | |
romcheg | Since you don't use mox, you can get rid of that | 14:21 |
dkehn | romcheg: kinda what I did, and I think we are good, thanks for the help | 14:22 |
romcheg | dkehn: My pleasure | 14:22 |
*** lucasagomes is now known as lucas-hungry | 14:31 | |
*** jbjohnso has joined #openstack-ironic | 14:51 | |
*** lucas-hungry is now known as lucasagomes | 14:55 | |
NobodyCam | good morning Ironic ...TGIF... | 15:07 |
dkehn | NobodyCam: morning, ITS Friday | 15:08 |
NobodyCam | oh ya :) | 15:08 |
*** coolsvap has joined #openstack-ironic | 15:09 | |
*** rwsu has quit IRC | 15:15 | |
*** rwsu has joined #openstack-ironic | 15:26 | |
NobodyCam | brb | 15:34 |
*** matty_dubs|gone has joined #openstack-ironic | 15:37 | |
*** russellb is now known as rustlebee | 15:39 | |
NobodyCam | did any get to see deva's talk? | 15:40 |
NobodyCam | gah...s/any/anyone/ | 15:40 |
lucasagomes | NobodyCam, morning | 15:43 |
lucasagomes | which talk? | 15:43 |
lucasagomes | NobodyCam, btw, I'm trying to PXE boot a machine with ironic + devstack and I'm hitting a problem with glance: http://paste.openstack.org/show/60978/ | 15:44 |
lucasagomes | tried to disable the auth_strategy already | 15:44 |
lucasagomes | but idk it just didn't disabled it >.< | 15:44 |
GheRivero_afk | lucasagomes: i-' working on it. will send a patch in the next hour | 15:45 |
lucasagomes | GheRivero_afk, ah, great, so it's really not working with glance? | 15:45 |
GheRivero_afk | https://bugs.launchpad.net/ironic/+bug/1266201 | 15:46 |
lucasagomes | GheRivero_afk, ahh cool | 15:46 |
lucasagomes | I thought I was getting a bit crazy | 15:46 |
lucasagomes | GheRivero_afk, cheers | 15:46 |
*** GheRivero_afk is now known as GheRivero | 15:46 | |
*** matty_dubs|gone is now known as matty_dubs | 15:48 | |
NobodyCam | morning lucasagomes, GheRivero | 15:49 |
NobodyCam | http://linux.conf.au/schedule/30042/view_talk?day=friday | 15:49 |
GheRivero | morning NobodyCam | 15:50 |
lucasagomes | NobodyCam, nice, but no video? | 15:52 |
lucasagomes | I was watching lennart's video from the linux.conf.au | 15:52 |
lucasagomes | mirror.linux.org.au/pub/linux.conf.au/2014/Friday/104-D-Bus_in_the_kernel_-_Lennart_Poettering.mp4 | 15:52 |
lucasagomes | here we go: http://mirror.linux.org.au/pub/linux.conf.au/2014/Friday/121-Provisioning_Bare_Metal_with_OpenStack_-_Devananda_van_der_Veen.mp4 | 15:52 |
lucasagomes | :D | 15:53 |
NobodyCam | cool :) | 15:54 |
NobodyCam | lucasagomes: I've lost track... do you recall whats left for getting deploy into the client | 15:56 |
lucasagomes | NobodyCam, nothing, it's there already | 15:56 |
lucasagomes | NobodyCam, it's not exposed on the CLI | 15:56 |
lucasagomes | only client libs | 15:56 |
NobodyCam | :) | 15:57 |
* lucasagomes is doing via curl :P | 15:57 | |
NobodyCam | well lets see if I can call it via the driver | 15:58 |
lucasagomes | NobodyCam, :) u prob can | 15:59 |
NobodyCam | :) | 15:59 |
NobodyCam | if I get DIb working... lol I updated it lastnoght | 15:59 |
*** mdurnosvistov has quit IRC | 16:00 | |
NobodyCam | and now seems I can not launch the seed vm | 16:00 |
*** linggao has joined #openstack-ironic | 16:00 | |
lucasagomes | :( | 16:00 |
NobodyCam | trying again | 16:01 |
*** mdenny has joined #openstack-ironic | 16:11 | |
*** jistr has quit IRC | 16:12 | |
NobodyCam | humm | 16:15 |
*** lucasagomes_ has joined #openstack-ironic | 16:18 | |
*** lucasagomes has quit IRC | 16:20 | |
*** lucasagomes_ is now known as lucasagomes | 16:21 | |
NobodyCam | Ty lucas for that link :) | 16:30 |
openstackgerrit | Ghe Rivero proposed a change to openstack/ironic: Use correct auth context inside pxe driver https://review.openstack.org/66008 | 16:35 |
*** derekh has quit IRC | 16:36 | |
NobodyCam | brb quick walkies | 16:49 |
lucasagomes | enjoy | 16:56 |
NobodyCam | ahh think I found my issue with seed... | 16:57 |
lucasagomes | nice, I'm using devstack but argh haha still having some problems, running ./stack.sh again cause my env was miserable :P | 16:58 |
*** rwsu has quit IRC | 17:00 | |
*** hstimer has joined #openstack-ironic | 17:06 | |
*** max_lobur_ has joined #openstack-ironic | 17:10 | |
*** max_lobur has quit IRC | 17:10 | |
*** max_lobur_ is now known as max_lobur | 17:10 | |
*** mdurnosvistov has joined #openstack-ironic | 17:12 | |
*** tatyana has quit IRC | 17:16 | |
*** Alexei_987 has quit IRC | 17:17 | |
*** matty_dubs is now known as matty_dubs|lunch | 17:19 | |
*** max_lobur has left #openstack-ironic | 17:22 | |
* NobodyCam joins hp all employee call | 17:31 | |
*** blamar has joined #openstack-ironic | 17:40 | |
lucasagomes | http://paste.openstack.org/show/60994/ | 17:47 |
lucasagomes | !! | 17:47 |
openstack | lucasagomes: Error: "!" is not a valid command. | 17:47 |
lucasagomes | | provision_state | deploying | 17:47 |
lucasagomes | :D | 17:47 |
lucasagomes | and the vm powered on :) | 17:47 |
*** harlowja_away is now known as harlowja | 17:47 | |
NobodyCam | woo hoo | 17:47 |
GheRivero | lucasagomes did you use my patch? | 17:58 |
lucasagomes | GheRivero, I did :) | 17:58 |
lucasagomes | it's working I will + that | 17:58 |
GheRivero | \o/ | 17:58 |
NobodyCam | i was about to +2 it | 17:58 |
NobodyCam | done | 18:00 |
*** GheRivero is now known as GheRivero_afk | 18:05 | |
lucasagomes | GheRivero_afk, I -1 the patch because of an unneeded line added to the tests | 18:13 |
lucasagomes | the self.context.auth_token = ..., is not being used | 18:13 |
NobodyCam | :) | 18:14 |
lucasagomes | I fetched the review and removed that line and all tests passed without it | 18:14 |
NobodyCam | think GheRivero_afk has signed off | 18:16 |
NobodyCam | do you want to land it as and I'll put up a patch that removes that line? | 18:16 |
lucasagomes | NobodyCam, I think it would be better to just send another patch set to that change removing that line | 18:17 |
lucasagomes | or do you think GheRivero_afk would mind? | 18:17 |
NobodyCam | I really don't think he wouldn't mind | 18:18 |
*** matty_dubs|lunch is now known as matty_dubs | 18:18 | |
NobodyCam | want to or shall I? (can you tell /me really wants to land this) | 18:18 |
lucasagomes | NobodyCam, if u can do that I would be great :D | 18:19 |
lucasagomes | apart from that change I'm happy with that patch and would +A that | 18:19 |
NobodyCam | one sec will pull down | 18:19 |
lucasagomes | NobodyCam, ta much! | 18:20 |
openstackgerrit | Chris Krelle proposed a change to openstack/ironic: Use correct auth context inside pxe driver https://review.openstack.org/66008 | 18:24 |
NobodyCam | hope I did that right | 18:25 |
*** hstimer has quit IRC | 18:27 | |
lucasagomes | NobodyCam, :) looks fine | 18:27 |
NobodyCam | :-p | 18:27 |
NobodyCam | with the slow gates it prob. wont land until tomorrow | 18:28 |
lucasagomes | hah yea it's pretty slow these days | 18:29 |
lucasagomes | in the morning here, it's much faster | 18:29 |
NobodyCam | watching zull for mr J | 18:30 |
NobodyCam | all but py26.done | 18:30 |
lucasagomes | :( | 18:32 |
lucasagomes | really wants to see py26 gone | 18:32 |
NobodyCam | :) | 18:32 |
lucasagomes | and I hope py2.8 will come out :P | 18:33 |
lucasagomes | http://alexgaynor.net/2013/dec/30/about-python-3/ | 18:33 |
lucasagomes | py3 is kinda a disaster, I agree with that author | 18:33 |
NobodyCam | :-p | 18:33 |
NobodyCam | we could convert to perl6 | 18:34 |
NobodyCam | :-p | 18:34 |
NobodyCam | but /me tinks it would be hard to convince the other projects | 18:34 |
lucasagomes | hah jeez haha no way | 18:34 |
NobodyCam | lol :-p | 18:35 |
lucasagomes | don't take me bad, I like python | 18:35 |
lucasagomes | and I know py3 is good | 18:35 |
NobodyCam | its been a ruff road for py3 | 18:35 |
lucasagomes | but the community doesnt seems to want it | 18:35 |
lucasagomes | they said 5 years for the migration | 18:35 |
lucasagomes | 5 years passed | 18:35 |
lucasagomes | and 3% is now using py3 | 18:36 |
NobodyCam | the shift was too big | 18:36 |
lucasagomes | disaster, I mean, I would start porting some of the good improvements of py3 and create a py2.8 | 18:36 |
lucasagomes | which is less agressive | 18:36 |
lucasagomes | yea | 18:36 |
NobodyCam | 2.6 still "queued" | 18:37 |
lucasagomes | :( | 18:37 |
NobodyCam | queue is 71 deep | 18:41 |
lucasagomes | :( yea mr j. is really overloaded | 18:42 |
NobodyCam | infa team needs more hardware :-p | 18:46 |
lucasagomes | yea | 18:50 |
NobodyCam | getting closer :-p | 18:59 |
*** rwsu has joined #openstack-ironic | 18:59 | |
*** hstimer has joined #openstack-ironic | 19:00 | |
NobodyCam | all employee meeting done | 19:02 |
lucasagomes | :) | 19:02 |
NobodyCam | about 12 jobs ahead of ours | 19:03 |
* NobodyCam makes a bagel ... 4 ahead of us | 19:10 | |
*** mdurnosvistov has quit IRC | 19:15 | |
*** romcheg has quit IRC | 19:15 | |
NobodyCam | 2 aou | 19:17 |
NobodyCam | 1 | 19:18 |
NobodyCam | we are running py2.6 check | 19:19 |
lucasagomes | hah | 19:21 |
NobodyCam | almost done | 19:21 |
NobodyCam | done | 19:22 |
NobodyCam | all ready for you to +a lucasagomes :) | 19:22 |
lucasagomes | NobodyCam, :) done | 19:23 |
NobodyCam | woo hoo | 19:23 |
NobodyCam | :) lol now just have to wait for gate again | 19:24 |
NobodyCam | lol | 19:24 |
lucasagomes | hah | 19:24 |
NobodyCam | then I can rebuild my under cloud and attempt a deploy | 19:24 |
lucasagomes | btw, there's another problem I spotted when I was testing it | 19:24 |
lucasagomes | lemme paste to u | 19:24 |
lucasagomes | atually there's 2 | 19:24 |
lucasagomes | I will file bugs for them | 19:24 |
lucasagomes | NobodyCam, http://paste.openstack.org/show/61000/ | 19:25 |
lucasagomes | I worked that around by setting pxe_config_template=/opt/stack/ironic/ironic/drivers/modules/pxe_config.template | 19:25 |
lucasagomes | I mean | 19:25 |
lucasagomes | by setting api_url=http://127.0.0.1:6385 | 19:25 |
NobodyCam | is that a keystone thing? | 19:25 |
lucasagomes | seems so | 19:26 |
lucasagomes | didn't investigate it deep yet | 19:26 |
NobodyCam | Is ironic registered with you keystone? | 19:26 |
lucasagomes | the other is; http://paste.openstack.org/show/61001/ | 19:26 |
lucasagomes | NobodyCam, if you don't set the ironic api endpoint | 19:26 |
lucasagomes | in the config file | 19:26 |
lucasagomes | it tries to get it from keystone | 19:26 |
lucasagomes | and it's not working | 19:26 |
NobodyCam | for dib I manually run: | 19:27 |
NobodyCam | PASSWORD=$UNDERCLOUD_IRONIC_PASSWORD register-endpoint -r "regionOne" -d "Ironic Service" ironic baremetal http://$UNDERCLOUD_IP:6385 | 19:27 |
lucasagomes | right | 19:27 |
NobodyCam | to register ironic .... note register-endpoint is a dib script | 19:27 |
lucasagomes | test there, but it might still fail, cause it can't get the keystone catalog at all | 19:27 |
lucasagomes | is not even if ironic is registered or not | 19:27 |
lucasagomes | it gets a 401 when it tries to get the catalog | 19:28 |
NobodyCam | i'll test... looks like i have to do another walkies.. | 19:28 |
lucasagomes | I mean, lemme investigate it a bit better | 19:28 |
NobodyCam | bbiafm | 19:28 |
lucasagomes | NobodyCam, cool | 19:28 |
lucasagomes | enjoy | 19:28 |
NobodyCam | :) | 19:29 |
lucasagomes | ohh | 19:29 |
lucasagomes | it's a 404 | 19:29 |
lucasagomes | wait u might be correct | 19:29 |
NobodyCam | `and back | 19:44 |
openstackgerrit | A change was merged to openstack/ironic: Use correct auth context inside pxe driver https://review.openstack.org/66008 | 19:44 |
lucasagomes | ^ just in time | 19:44 |
NobodyCam | woo hoo | 19:45 |
* NobodyCam rebuilds his test env | 19:45 | |
lucasagomes | ok I'm done for today, g'night everybody | 19:56 |
lucasagomes | enjoy the weekend | 19:56 |
lucasagomes | g'night NobodyCam | 19:56 |
NobodyCam | have a good weekend lucasagomes | 19:56 |
lucasagomes | NobodyCam, same there mate! enjoy it | 19:56 |
*** lucasagomes has quit IRC | 19:57 | |
NobodyCam | brb | 20:03 |
*** hstimer has quit IRC | 20:11 | |
*** hstimer has joined #openstack-ironic | 20:12 | |
*** hstimer has quit IRC | 20:22 | |
*** hstimer has joined #openstack-ironic | 20:23 | |
*** hstimer has quit IRC | 20:25 | |
*** epim has joined #openstack-ironic | 20:33 | |
*** epim has quit IRC | 20:36 | |
*** epim has joined #openstack-ironic | 20:37 | |
*** epim has quit IRC | 20:42 | |
*** epim_ has joined #openstack-ironic | 20:42 | |
NobodyCam | we need a easy way to clear 'last_error' from the cli :-p | 21:43 |
*** retr0h has quit IRC | 21:59 | |
*** jdob has quit IRC | 22:00 | |
*** retr0h has joined #openstack-ironic | 22:01 | |
*** matty_dubs is now known as matty_dubs|gone | 22:03 | |
*** jbjohnso has quit IRC | 22:09 | |
devananda | g'morning! | 22:15 |
NobodyCam | good morning | 22:15 |
devananda | western AU is a terrible timezone | 22:15 |
NobodyCam | lol | 22:16 |
devananda | it's 6:15am right now | 22:16 |
NobodyCam | well almost have a deploy working | 22:16 |
NobodyCam | | provision_state | deploy failed | 22:16 |
devananda | w0000t! | 22:16 |
NobodyCam | we're hitting this atm | 22:16 |
NobodyCam | https://github.com/openstack/ironic/blob/master/ironic/common/keystone.py#L61 | 22:16 |
NobodyCam | was about to start debugging | 22:17 |
devananda | my goal for the hackathon today is going to be to get all the bits together | 22:17 |
devananda | into a branch on github | 22:17 |
devananda | that can do a deploy | 22:17 |
devananda | last i looked, there are still several patches in flight | 22:18 |
NobodyCam | watched the talk... | 22:18 |
devananda | ... | 22:18 |
NobodyCam | :) was very good! | 22:18 |
NobodyCam | :) | 22:18 |
* devananda was not happy with it | 22:19 | |
devananda | NobodyCam: you're getting EndointNotFound for which service? | 22:19 |
openstackgerrit | dekehn proposed a change to openstack/ironic: Adds Neutron support to Ironic https://review.openstack.org/66071 | 22:22 |
NobodyCam | devananda: http://paste.openstack.org/show/xiMzj7ohLpV27xoXOSS6/ | 22:22 |
NobodyCam | dkehn: w00t | 22:22 |
* NobodyCam has not looked at the patch | 22:23 | |
dkehn | NobodyCam: marked as a WIP the testing is not complete, tests for the get_client, meaning with w/out auth_token , etc. is there but the port_update isn't all there | 22:24 |
dkehn | NobodyCam: planning on completing as soon as I can | 22:24 |
NobodyCam | :) | 22:24 |
dkehn | NobodyCam: but promised I would puch the patch today | 22:24 |
NobodyCam | hehehe :-p that will allow every one to get some eyes on it | 22:25 |
NobodyCam | (and play with it) | 22:25 |
NobodyCam | :) | 22:25 |
dkehn | NobodyCam: i haen't even tested for real only in mock mode | 22:25 |
dkehn | NobodyCam: next week in the sprint, and I need to get sometime on the bugs before then, and will be out for the week | 22:26 |
dkehn | NobodyCam: fyi | 22:27 |
NobodyCam | we're just getting the deploy testing underway | 22:27 |
NobodyCam | dkehn: ack | 22:27 |
devananda | dkehn: thanks! | 22:27 |
dkehn | NobodyCam: also, it does pass pep8 and py27 here | 22:27 |
dkehn | NobodyCam: https://review.openstack.org/#/c/66071/1/ironic/tests/test_neutronv2.py#L257 was the only way pep8 would work, thats why its there, becuase without the from ironic.common.neutronv2 import neutron, the self.configs don't work but pep8 can't find a reference so it marks it as not used | 22:29 |
*** hemna_ has joined #openstack-ironic | 22:31 | |
NobodyCam | brb.. making lunch | 22:35 |
openstackgerrit | dekehn proposed a change to openstack/ironic: Adds Neutron support to Ironic https://review.openstack.org/66071 | 22:37 |
dkehn | NobodyCam: found away around the pep8 | 22:38 |
dkehn | NobodyCam: # noqa | 22:38 |
*** retr0h has quit IRC | 22:47 | |
*** linggao has quit IRC | 22:50 | |
*** retr0h has joined #openstack-ironic | 22:54 | |
*** retr0h has joined #openstack-ironic | 22:54 | |
NobodyCam | dkehn: :) | 22:55 |
NobodyCam | dkehn: see pm | 22:57 |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Bump version of sphinxcontrib-pecanwsme https://review.openstack.org/66078 | 22:58 |
devananda | fixes doc bug ^ | 22:58 |
NobodyCam | devananda: mr J and gates been very bery slow today | 23:02 |
NobodyCam | :-p | 23:02 |
devananda | yea | 23:02 |
devananda | infra has been working on it | 23:02 |
NobodyCam | ya | 23:02 |
devananda | our tempest api checks landed | 23:02 |
devananda | but they still aren't running -- i have a patch to infra to enable them | 23:02 |
devananda | will sit down with clark today to fix it up | 23:03 |
NobodyCam | :) | 23:03 |
*** retr0h has quit IRC | 23:15 | |
*** retr0h has joined #openstack-ironic | 23:15 | |
*** retr0h has joined #openstack-ironic | 23:15 | |
hemna_ | looks like the ironic nova driver patch is in abandoned state | 23:16 |
*** GheRivero_afk is now known as GheRivero | 23:16 | |
devananda | hemna_: not abandoned, just slow going :) | 23:17 |
hemna_ | :P | 23:17 |
NobodyCam | just put up a new version | 23:18 |
GheRivero | night all | 23:21 |
NobodyCam | night GheRivero | 23:23 |
NobodyCam | ghe I changed you last patch | 23:23 |
NobodyCam | just fyi.. (removed one line from test) | 23:23 |
GheRivero | NobodyCam: thx! I think less to worry about :) | 23:25 |
GheRivero | did it landed? | 23:25 |
NobodyCam | ya | 23:25 |
GheRivero | cool | 23:25 |
NobodyCam | :) | 23:25 |
NobodyCam | TY GheRivero | 23:25 |
GheRivero | any other issues? | 23:25 |
NobodyCam | no you switched to away and was getting late in the for lucas | 23:26 |
NobodyCam | so I patched your review to get it thru | 23:26 |
GheRivero | I mean deploying images :) | 23:27 |
NobodyCam | ya getting this | 23:28 |
NobodyCam | http://paste.openstack.org/show/xiMzj7ohLpV27xoXOSS6/ | 23:28 |
GheRivero | ok. thx. Will work on that first time in the morning tomorrow | 23:30 |
NobodyCam | :) it will saturday | 23:31 |
NobodyCam | but have a good night GheRivero :) | 23:31 |
*** GheRivero is now known as GheRivero_afk | 23:33 | |
GheRivero_afk | night everyone! | 23:33 |
openstackgerrit | dekehn proposed a change to openstack/ironic: Adds Neutron support to Ironic https://review.openstack.org/66071 | 23:47 |
Haomeng | morning:) | 23:52 |
NobodyCam | morning Haomeng :) | 23:53 |
Haomeng | NobodyCam: :) | 23:53 |
devananda | g'morning Haomeng | 23:57 |
devananda | i'm heading out for breakfast... will be at the openstack meetup later today, probably in ~3hrs | 23:58 |
Haomeng | devananda: morning:) | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!