Friday, 2015-03-27

*** BadCub is now known as BadCub_Hiding00:01
JayFNobodyCam: They've not even been reviewed00:01
NobodyCamJayF: I +1'd them00:01
JayFif devananda can shake a stick at people to review it, with his magic ptl power, that'd be great00:01
NobodyCamlol00:01
JayFNobodyCam: you're not a core reviewer == that's moral support00:01
JayFLOL00:01
NobodyCamg'night ya'll00:01
devanandaNobodyCam: g'night!00:02
devananda(says the man wide awake at 1am)00:02
BadCub_HidingJayF: let me know which ones and I will get ya some reviews tomorrow *WG*00:03
JoshNangBadCub_Hiding: https://review.openstack.org/#/c/168175/00:04
JoshNangdisables cleaning the disk in devstack by default (takes forever) and bumps the delete timeout up to give cleaning more than 60 secs to finish00:05
* BadCub_Hiding puts on pad00:06
JayFDoes anyone know how this internal rst linking stuff works?00:06
JayFlike if I'm writing cleaning docs, and want to link to the state machine doc, should I just use a full hyperlink or what?00:07
devanandano. because the docs must be servable from any site. eg, our doc test builds. o rmy laptop00:07
JayFThat was the impression I had, just wasn't 100% sure from rst docs the right way to do an indirect link00:08
devanandaJayF: `words <rel/path/to/file.html>`_00:08
devanandatry that00:08
*** kkoski has joined #openstack-ironic00:09
BadCub_Hidingokay, now I am off to dinner00:09
JayFhttp://docutils.sourceforge.net/docs/user/rst/quickref.html#hyperlink-targets makes me think I should just do00:09
JayFstates_00:09
JayFwhich seems ... wrong00:09
JayFand also ugly00:09
NobodyCamJayF: also see the edits to the readme in ipa you just landed00:09
NobodyCamlol00:09
devanandai think that works within the document, or uses some sphinx auto magic00:09
* NobodyCam *ducks out the door*00:10
JayFNobodyCam: I don't see any?00:10
JayFNobodyCam: there's not any patchsets pushed to it00:10
NobodyCamhttps://github.com/openstack/ironic-python-agent/commit/c2a1f5e3d4f095179e691561ad2e7055d7773cc9 line 1800:11
NobodyCam:-p00:11
JayFOh, see, that doesn't answer my ? though00:12
JayFthis is an internal link00:12
JayFI'm going to use the relative link idea devananda had00:12
JayFdevananda: btw, JoshNang and I saw the iLo driver docs and felt a large quantity of shame00:12
JayFdevananda: I think adding agent driver docs is more on our radar than ever before00:13
devanandaJayF: :)00:14
devanandaJayF: I do not feel even a tinge of guilt that you feel shame for that00:15
devanandaJayF: also, the agent and its driver rock. you should be proud00:15
*** ijw_ has joined #openstack-ironic00:16
devanandathe agent's a major component of the project. I would like the doc quality to reflect that00:17
*** ijw__ has joined #openstack-ironic00:18
*** ijw has quit IRC00:19
*** ijw_ has quit IRC00:21
devanandaJayF: however, I should be ashamed that I'm using and talking about the agent, but dont understand it well enough to go review it meaningfully00:23
*** mtanino has quit IRC00:24
*** naohirot has joined #openstack-ironic00:25
*** davide_ has quit IRC00:26
openstackgerritJay Faulkner proposed openstack/ironic: Add documentation for Cleaning  https://review.openstack.org/16818900:28
JayFrloo: ^ We'd love an epic-Ruby-docs-review on that, if you have the time to spare :D00:29
rloohuh? oh (booking my flight to summit now). did you need that reviewed this week or can it wait til monday?00:30
JayFIt's not urgent, just all the docs for cleaning. You review documentation very well, and I appreciate your perspective :)00:30
*** anderbubble has quit IRC00:31
*** igordcard_ has quit IRC00:34
*** kkoski has quit IRC00:34
*** kkoski has joined #openstack-ironic00:41
*** anderbubble has joined #openstack-ironic00:43
JoshNangJayF: gah it still timed out.00:46
rlooJayF: I took a quick look; it will take me some time to review that doc and my head isn't into work right now, so probably best if I look at it later. Although I think my priority may be reviewing code for rc1 so I may not get to that til later. But i'll look even after it gets merged ;)00:48
*** anderbubble has quit IRC00:59
*** stendulker has joined #openstack-ironic01:04
*** jmank has quit IRC01:04
*** jmank has joined #openstack-ironic01:05
*** dtantsur|afk has quit IRC01:05
*** dtantsur has joined #openstack-ironic01:10
*** derekh has quit IRC01:17
openstackgerritJosh Gachnang proposed openstack/ironic: Fix cleaning nits  https://review.openstack.org/16819701:18
*** jmccrory has joined #openstack-ironic01:18
*** jmccrory has quit IRC01:18
*** stendulker has quit IRC01:21
*** anderbubble has joined #openstack-ironic01:21
*** ChuckC has joined #openstack-ironic01:26
*** kkoski has quit IRC01:31
*** anderbubble has quit IRC01:35
*** ChuckC has quit IRC01:36
*** penick has quit IRC01:53
*** dank_ has quit IRC01:55
*** rloo has quit IRC02:14
*** oomichi_ has quit IRC02:17
*** jerryz has joined #openstack-ironic02:19
*** achanda has quit IRC02:27
*** stendulker has joined #openstack-ironic02:31
*** kkoski has joined #openstack-ironic02:37
*** ramineni has joined #openstack-ironic02:40
*** chenglch has joined #openstack-ironic02:40
*** stendulker has quit IRC02:47
*** devlaps has quit IRC02:54
*** ijw__ has quit IRC03:06
*** kkoski has quit IRC03:09
*** kkoski has joined #openstack-ironic03:10
*** achanda has joined #openstack-ironic03:13
*** kkoski has quit IRC03:17
*** atuvenie has joined #openstack-ironic03:25
*** Marga_ has quit IRC03:26
*** chenglch has quit IRC03:37
*** chenglch has joined #openstack-ironic03:37
*** anderbubble has joined #openstack-ironic03:41
*** saripurigopi has joined #openstack-ironic03:53
*** atuvenie has quit IRC04:06
*** yuanying has joined #openstack-ironic04:09
*** rameshg87 has joined #openstack-ironic04:15
rameshg87good morning ironic04:15
openstackgerritMerged stackforge/proliantutils: Fallback to RIBCL  https://review.openstack.org/16715104:37
Haomeng|2rameshg87: ramesh, good morning:)04:39
rameshg87hello Haomeng|204:39
rameshg87morning04:39
Haomeng|2rameshg87: :(04:39
Haomeng|2rameshg87: :)04:39
*** achanda has quit IRC05:00
*** jmanko has joined #openstack-ironic05:01
*** jmank has quit IRC05:05
*** Marga_ has joined #openstack-ironic05:14
*** yog__ has joined #openstack-ironic05:19
*** stendulker has joined #openstack-ironic05:31
*** jiangfei has quit IRC05:35
*** achanda has joined #openstack-ironic05:37
*** jamielennox is now known as jamielennox|away05:41
openstackgerritMerged openstack/python-ironicclient: Add support for generating a config drive  https://review.openstack.org/16772505:56
*** Marga_ has quit IRC06:02
openstackgerritjiangfei proposed openstack/python-ironicclient: Encode exception on cli for UnicodeDecodeError  https://review.openstack.org/15315506:06
*** saripurigopi has quit IRC06:06
*** jiangfei has joined #openstack-ironic06:10
openstackgerritMerged openstack/ironic: Ensure configdrive isn't mounted for ipxe/elilo  https://review.openstack.org/16744906:21
openstackgerritMerged openstack/ironic: Attach ilo_boot_iso only if node is active  https://review.openstack.org/16731706:22
*** saripurigopi has joined #openstack-ironic06:26
*** achanda has quit IRC06:32
*** anderbubble has quit IRC06:37
openstackgerritAndreas Jaeger proposed openstack/ironic-lib: Add .gitreview  https://review.openstack.org/16824006:45
*** AJaeger has joined #openstack-ironic06:45
AJaegerHi ironic team, could you review my patch https://review.openstack.org/168240, please? Without the patch, our global requirements jobs err out06:46
Haomeng|2AJaeger: sure, thanks for your patch06:47
AJaegerHaomeng|2: thanks! The patch is for ironic-lib and part of the basic setup that each repo needs06:48
Haomeng|2AJaeger: not sure the background why we add this file for now06:49
AJaegerHaomeng|2: http://docs.openstack.org/infra/manual/creators.html#configure-git-review06:49
Haomeng|2AJaeger: ok06:49
AJaegerThat one was missed when setting up ironic-lib initially ;(06:49
AJaegerAh, we need to go with https://review.openstack.org/#/c/162162/ instead - pep8 fails on the lib06:50
AJaegerand 162162 fixed that one06:50
Haomeng|2AJaeger: this is new change, right?06:50
Haomeng|2AJaeger: ok06:50
Haomeng|2AJaeger: got, thanks for your information06:50
AJaeger162162 is an old change, .gitreview is an old requirement ;)06:51
Haomeng|2AJaeger: ok06:51
AJaegerI abandoned mine and commented on 16216206:53
Haomeng|2AJaeger: ok, that is more clear:)06:54
*** bradjones has quit IRC06:55
*** pradipta has joined #openstack-ironic06:55
AJaegerLet me fix the commit message since that one is not clear06:55
openstackgerritAndreas Jaeger proposed openstack/ironic-lib: Add .gitreview file and some minor changes  https://review.openstack.org/16216206:56
*** bradjones has joined #openstack-ironic06:56
AJaegerHaomeng|2: hope it's clear enough for a +2 now ;)06:56
*** bradjones has quit IRC06:57
*** bradjones has joined #openstack-ironic06:57
Haomeng|2AJaeger: ok06:58
Haomeng|2AJaeger: :)06:58
Haomeng|2AJaeger: I reviewed your code https://review.openstack.org/#/c/162162/2, looks like the unittest does not cover the change, only last line is removed that is the change I found in the test file07:10
*** chlong has quit IRC07:16
Haomeng|2AJaeger: others looks good to me, thanks for your patch07:18
Haomeng|2AJaeger: :)07:19
*** ndipanov has joined #openstack-ironic08:00
*** pradipta has quit IRC08:06
*** zhenguo has joined #openstack-ironic08:09
openstackgerritjiangfei proposed openstack/ironic: Sync sslutils to ironic-api for support HTTPS  https://review.openstack.org/16826108:14
*** stendulker has quit IRC08:15
AJaegerthanks, Haomeng|208:21
Haomeng|2AJaeger: welcome :)08:21
*** ifarkas has joined #openstack-ironic08:28
*** JoshNang has quit IRC08:32
*** enikanorov has joined #openstack-ironic08:36
*** jistr has joined #openstack-ironic08:40
*** andreykurilin_ has joined #openstack-ironic08:43
*** jerryz_ has joined #openstack-ironic08:45
*** jerryz has quit IRC08:48
dtantsurMorning, folks, TGIF today :)08:51
openstackgerritHaomeng,Wang proposed openstack/ironic: Fix UnicodeEncodeError issue when the language is not en_US  https://review.openstack.org/16826808:55
AJaegerdtantsur: Ok, I revive my patch and see whether we can do something smaller...08:57
dtantsurAJaeger, IIUC you only need to add missing empty line to tests file :)08:58
AJaegerdtantsur: if that's all, I'm for it ;)08:58
dtantsurand g'morning/afternoon/whatever :)08:58
AJaegerdtantsur: morning for me ;) And morning to you as well ;)08:58
dtantsur:)08:59
* AJaeger runs pep8 locally now...08:59
openstackgerritAndreas Jaeger proposed openstack/ironic-lib: Add .gitreview  https://review.openstack.org/16824009:02
AJaegerdtantsur, Haomeng|2: The above should be fine now, I can't make it smaller ;)09:02
openstackgerritjiangfei proposed openstack/ironic: Add support for HTTPS to the Ironic API  https://review.openstack.org/16373509:02
* dtantsur is waiting for check job to finish09:03
AJaegerdtantsur: Sure!09:03
*** atuvenie has joined #openstack-ironic09:10
openstackgerritAnusha Ramineni proposed stackforge/proliantutils: RIS:Add get_pending_boot_mode  https://review.openstack.org/16827009:13
*** pradipta has joined #openstack-ironic09:13
*** pradipta has quit IRC09:14
*** pradipta has joined #openstack-ironic09:14
*** lucasagomes has joined #openstack-ironic09:14
*** andreykurilin_ has quit IRC09:19
*** andreykurilin_ has joined #openstack-ironic09:19
AJaegerdtantsur: check job is finished09:20
dtantsurHaomeng|2, wanna have a look before I press the button?09:21
openstackgerritAnusha Ramineni proposed openstack/ironic: Fix syntax error in continue_cleaning  https://review.openstack.org/16827309:23
dtantsurHaomeng|2, AJaeger, ok I proceed with approving to unblock #infra09:25
rameshg87lucasagomes: hi09:26
openstackgerritMerged openstack/ironic-lib: Add .gitreview  https://review.openstack.org/16824009:27
AJaegerthanks, dtantsur09:27
lucasagomesrameshg87, hello there09:28
rameshg87lucasagomes: do you remember i talked about not able to ssh to the instance that was created with config drive ?09:29
rameshg87lucasagomes: after much of struggle i figured out09:29
lucasagomesrameshg87, hmm oh what was that?09:29
rameshg87lucasagomes: we needed to enable ConfigDrive /etc/cloud/cloud.cfg.d/91-dib-cloud-init-datasources.cfg09:29
rameshg87lucasagomes: in the built image09:29
rameshg87lucasagomes: by default dib doesn't add it09:29
lucasagomesoh, did you open a bug against dib?09:30
rameshg87lucasagomes: it has only EC2 and None as the data sources09:30
rameshg87lucasagomes: dib provides an element to do that configuration09:30
lucasagomesI see09:30
rameshg87lucasagomes: https://github.com/openstack/diskimage-builder/tree/master/elements/cloud-init-datasources09:30
lucasagomeshah damn, well good you found out09:30
rameshg87lucasagomes: i think we should document that09:30
rameshg87lucasagomes: in ironic config drive documentation09:30
lucasagomesI don't know much how is the documentation in dib09:30
lucasagomesrameshg87, +109:31
lucasagomesyeah we can put it at the user guide09:31
dtantsuryeah, and in "image building" section too09:31
lucasagomesdtantsur, +109:31
rameshg87yeah09:31
lucasagomesrameshg87, good catch :)09:31
rameshg87i guess our config drive documentation is submitted09:31
rameshg87i will add it to our documentation09:32
rameshg87and lucasagomes one more issue i figured out09:32
rameshg87fc20 comes with cloud-init 0.7.209:32
rameshg87that doesn't support config drive on partitions09:32
lucasagomesrameshg87, I will update the documentation for configdrive now that it's merged on the client09:32
lucasagomesto reflect those changes09:33
lucasagomesoh seriously>09:33
lucasagomes?*09:33
rameshg87lucasagomes: that's why my fedora image wasn't working09:33
rameshg87lucasagomes: 1 sec, sharing the code09:33
lucasagomesodd because we use RHEL and CentOS for some tests and AFAICT that's based on f2009:33
lucasagomesand it does work09:33
lucasagomesright I can take a look09:33
*** derekh has joined #openstack-ironic09:33
lucasagomes1 sec lemme grab my coffee09:33
dtantsurVersion     : 0.7.609:34
dtantsurthat's in my RHEL env ^^^09:34
dtantsurrameshg87, it this ^^^ enough?09:35
rameshg87dtantsur: ah okay09:35
rameshg87dtantsur: that works09:35
rameshg870.7.6 is latest and is fixed09:35
rameshg87copy-pasting code from 0.7.209:35
rameshg871 sec09:35
dtantsurnot sure if we can fix F20 now... I guess we should be moving to F2109:35
rameshg87cloudinit is not on github09:36
rameshg87but this is an unofficial one of 0.7.609:36
rameshg87lucasagomes: dtantsur: https://github.com/number5/cloud-init/blob/master/cloudinit/sources/DataSourceConfigDrive.py#L265-L27309:36
rameshg87see the highlighted line in def find_candidate_devs09:37
rameshg87lucasagomes: dtantsur: we are supporting partitions as configdrive in 0.7.609:37
dtantsurI see...09:37
rameshg87lucasagomes: dtantsur: but see paste of same method from cloudinit 0.7.2 - http://paste.openstack.org/show/197013/09:37
rameshg87see line 34,3509:38
rameshg87ignore partitions :(09:38
lucasagomesrameshg87, oh, yeah perhaps we should add a note on the documentation about it09:38
dtantsurF21 has 0.7.509:38
dtantsurthis isn't enough, is it?09:38
lucasagomes> 0.7.209:38
rameshg87lucasagomes: not sure >0.7.2 is enough09:38
rameshg87lucasagomes: don't know when this change was made - 0.7.3, 0.7.4 or 0.7.509:39
lucasagomesgotcha09:39
lucasagomes:(09:39
lucasagomesI will try to find out, for precaution we can alert about >=0.7.6 at the documentation09:39
rameshg87yeah09:40
dtantsurhttps://github.com/number5/cloud-init/blob/master/ChangeLog09:40
rameshg87FC20 has only 0.7.209:40
rameshg87dtantsur: ah good09:40
rameshg870.7.509:40
rameshg87https://github.com/number5/cloud-init/blob/master/ChangeLog#L93-L9409:40
rameshg87so it should be >=0.7.509:41
dtantsuryeah, also see it09:41
dtantsurlucasagomes, ^^^09:41
lucasagomeshttps://launchpad.net/cloud-init/+milestone/0.7.609:41
lucasagomesah awesome09:41
lucasagomesso 0.7.509:41
rameshg87yeah09:41
* lucasagomes feels a bit better heh09:41
rameshg87:)09:41
rameshg87so two things09:41
dtantsurso F21 is fine09:41
*** AJaeger has quit IRC09:41
rameshg87cloudinit>=0.7.5 and  enable ConfigDrive09:42
lucasagomessince f20 still supported IIRC we may open a bug about it09:42
rameshg87yeah i think we should09:42
rameshg87lucasagomes: i checked with yum update09:42
dtantsurnot sure it will be updated to a feature release at this point...09:42
dtantsurbut we may try09:42
rameshg87lucasagomes: it's not showing cloud-init >= 0.7.209:42
lucasagomes:( yeah09:42
lucasagomeswell I will see internally how it would work09:42
rameshg87okay09:43
rameshg87lucasagomes: and dib by default build with fc2009:43
lucasagomesbut f21 support it is a relief for sure09:43
rameshg87*builds09:43
lucasagomesoh perhaps that should be updated too09:43
rameshg87disk-image-create fedora09:43
dtantsurour folks have been working on switching to F2109:43
lucasagomestoo many moving parts09:43
rameshg87gives me fc20 based cloud image09:43
lucasagomesI see09:43
dtantsurlucasagomes, Ian Wienand is the name of the guy09:43
lucasagomesoh ian, ok09:44
lucasagomesnice, he's a sharp guy09:44
dtantsurhttps://review.openstack.org/#/c/140889/09:44
dtantsurand so on09:44
lucasagomescool09:44
dtantsurlucasagomes, we have an internal email status updates from him on this topic09:44
dtantsurfrom time to time09:44
lucasagomesI see, so many internal emails I can't read 1/10 of it09:45
dtantsurI don't even try, just read when subject is intriguing :D09:45
lucasagomesyeah09:45
*** foexle has joined #openstack-ironic09:46
*** andreykurilin_ has quit IRC09:49
*** pas-ha has joined #openstack-ironic09:50
openstackgerritHarshada Mangesh Kakad proposed openstack/ironic: Update pythonseamicroclient package version  https://review.openstack.org/16827709:50
*** naohirot has quit IRC09:53
*** chenglch has quit IRC09:53
openstackgerritShivanand Tendulker proposed openstack/ironic: pxe deploy fails for whole disk images in UEFI  https://review.openstack.org/16788209:54
*** pelix has joined #openstack-ironic10:00
*** Haomeng has joined #openstack-ironic10:01
lucasagomesrameshg87, added a comment on #16803010:03
lucasagomesre the 2 acquires, they are different10:03
*** Haomeng|2 has quit IRC10:04
rameshg87lucasagomes: oh okay10:06
rameshg87didn't notice that ..10:07
rameshg87lucasagomes: anyway to make that atomic ?10:07
lucasagomesyeah I probably will add a comment about it10:07
rameshg87lucasagomes: anyway to make that operation atomic - either we do everything or nothing ?10:07
rameshg87lucasagomes: there is a chance that we might endup doing half of it no ?10:07
lucasagomesrameshg87, yeah I will raise an exc if we can't stop the console10:08
lucasagomesso if we don't stop it we don't update10:08
rameshg87lucasagomes: i meant if we were able to stop it but before we got NodeLocked while trying to acquire second lock10:08
rameshg87lucasagomes: means we stopped the console, but didn't change driver10:08
rameshg87should be still fine, is it ?10:08
lucasagomesoh gotcha10:09
lucasagomeshmmmmmm10:09
lucasagomesyeah there's a race between locks10:09
rameshg87might be fine because we are not doing any partial update on node - it's just stopping console in first operation10:10
rameshg87but better if it was atomic10:10
lucasagomesrameshg87, I think I can get the lock with the old driver10:11
lucasagomesthen in order to check if the new driver exist in a conductor in the cluster I don't need to get another lock with it10:11
rameshg87and then switch the driver of task with the lock ?10:11
lucasagomesI can simple check it10:11
rameshg87okay10:11
rameshg87brb10:11
*** rameshg87 is now known as rameshg87-brb10:12
*** rameshg87-brb is now known as rameshg8710:16
*** pradipta has quit IRC10:17
rameshg87lucasagomes: yeah, i think we were just saving the node object within second task block, so should be fine if we used old driver also, right ?10:17
rameshg87idk10:17
lucasagomesyeah I think it's fine, we just need to check if the new driver exist in a ocnductor10:17
lucasagomesconductor*10:17
lucasagomesI will try to figure out a good way10:17
rameshg87okay10:17
rameshg87lucasagomes: but if it didn't exist, the rpc wouldn't have come no ?10:18
rameshg87lucasagomes: the hash ring wouldn't have showed that conductor for the driver10:18
lucasagomesrameshg87, but the update RPC message was sent to the old driver10:19
rameshg87lucasagomes: oh10:19
rameshg87sorry :(10:19
lucasagomesso the RPC message comes to the conductor that is current owning the node, and then it tries to acquire a lock with a conductor that can control the new driver10:19
rameshg87lucasagomes: so node-update changing driver can fail occassionaly ?10:19
lucasagomesrameshg87, yeah, well it's a sync operation10:20
rameshg87lucasagomes: no i meant10:20
lucasagomesso you would know if there's no conductor that support the new driver up and running10:20
rameshg87lucasagomes: unless i have both (old driver, new driver) enabled on all conductor it *can* fail sometimes10:20
lucasagomesrameshg87, oh... yeah changing driver can fail occasionaly yes10:20
lucasagomesyeah10:20
rameshg87hehe10:21
rameshg87strange :D10:21
lucasagomesshouldn't it?10:21
rameshg87yeah, it should :)10:22
rameshg87but we could do hash-ring rebalance at the time of node-update driver10:22
rameshg87so that the new node is mapped to a conductor which has both the drivers :)10:22
rameshg87too expensive may be for one node :)10:22
lucasagomesright, yeah10:23
rameshg87lucasagomes: but it's a sort of problem i would think10:24
lucasagomesanother problem I see is that the expected exceptions is not waiting for DriverNotFound10:24
lucasagomeswhich can be raised by the acquire10:24
rameshg87hmm yeah10:24
* lucasagomes will fix that too10:24
rameshg87lucasagomes: i can have drivers a,b enabled on conductor 1 and 2; c,d enabled on conductors 3,4 (because they require particular setups)10:25
rameshg87lucasagomes: i make node x switch from driver a to driver c10:25
rameshg87lucasagomes: it would never work10:25
lucasagomesrameshg87, why not? I mean ur just updating the db right?10:26
lucasagomesbut still conductor 1 or 2 can check if the driver 'c' exist in the cloud10:26
lucasagomesif it does it updates the db, release the lock10:26
lucasagomessubsequent requests on that node will now go to conductors 3,410:27
rameshg87lucasagomes: just confused about this10:28
rameshg87lucasagomes: https://github.com/openstack/ironic/blob/master/ironic/conductor/task_manager.py#L202-L20310:28
lucasagomesright, that's just an instance of the driver10:29
rameshg87lucasagomes: but what if we never loaded that driver on conductor 1 ?10:29
lucasagomesoh wait... hmm10:29
rameshg87lucasagomes: will driver_factory have it ?10:29
lucasagomesindeed10:29
lucasagomesgotcha10:29
lucasagomesso perhaps acquiring the lock with the new_driver_name is wrong there10:30
rameshg87lucasagomes: i think it's unncessary10:30
rameshg87lucasagomes: we just wanted to make sure noone else does db update while we are doing10:30
rameshg87lucasagomes: i think it doesn't matter it is old driver or new driver10:30
lucasagomesrameshg87, yeah, I think the right way of doing that check10:31
lucasagomesis to use "get_topic_for_driver"10:31
lucasagomesfrom the rcpapi10:31
rameshg87and check if topic is not None10:31
rameshg87great :)10:31
lucasagomesthat will check if the driver exist in the hash ring10:31
lucasagomesyeah10:31
lucasagomesand check10:31
rameshg87+110:31
lucasagomesbut not try to acquire it on the old conductor10:31
lucasagomesack10:31
lucasagomesdamn haha10:32
lucasagomesloads of bugs there10:32
rameshg87:)10:32
rameshg87lucasagomes: but we will need to remap the node too, right ?10:32
rameshg87lucasagomes: to another conductor which has the driver10:33
rameshg87i mean new driver10:33
lucasagomesI thought it would happen automagically, I will check10:34
lucasagomescause new requests will call get_topic_for()10:35
lucasagomesand that resets the hash ring10:35
lucasagomeswhich will then reload the stuff10:35
rameshg87got it10:36
rameshg87yeah should work automatically after that10:36
lucasagomesprobably I should separate the bugs, fix the problem trying to load a new driver which might not be enabled on that particularly conductor, and then fix the stop console thing10:39
* lucasagomes works10:39
raminenidtantsur: hi10:41
rameshg87lucasagomes: yeah i agree10:43
*** atuvenie has quit IRC10:47
openstackgerritHaomeng,Wang proposed openstack/ironic: Fix UnicodeEncodeError issue when the language is not en_US  https://review.openstack.org/16826810:51
*** priteau has joined #openstack-ironic10:53
*** yuanying has quit IRC10:54
*** ramineni has quit IRC10:57
*** yuanying has joined #openstack-ironic10:57
tiagogomes_Hi, my baremetal server is not finding the Neutron's DHCP server. I can see `DHCPDISCOVER(tap4be9b5ea-00) 9c:b6:54:bb:67:05 no address available` on the dhcp-agent log10:59
openstackgerritPierre Riteau proposed openstack/python-ironicclient: Add support for filtering nodes by chassis UUID  https://review.openstack.org/16796411:00
tiagogomes_That MAC address was added to Ironic: http://paste.openstack.org/show/197020/11:00
tiagogomes_anyone knows what it could be missing11:00
*** saripurigopi has quit IRC11:01
tiagogomes_I am not using Nova11:01
Haomengtiagogomes_: if not run with nova, the neutron dhcp port will not be updated to support pxe options I think11:02
*** dtantsur is now known as dtantsur|brb11:02
tiagogomes_I thought I could use Ironic without nova11:02
tiagogomes_anyway, the problem is not pxe now, is not being able to get an IP address from the DHCP server11:03
Haomengtiagogomes_: yes, ironic can run on standalone mode, but the dhcp/images should be prepared by manually11:03
tiagogomes_doesn't Neutron take care of that11:04
Haomengtiagogomes_: yes, that is the nova pass the ironic port to neutron, so without nova, neutron does not konw ironic mac, so neutron will not response with the unknow mac to assign ip11:04
rameshg87tiagogomes_: are you using neutron + ironic without nova ?11:04
tiagogomes_I am using Neutron, Ironic, Glance and Keystone11:04
Haomengtiagogomes_: you can add neutron port and update dhcp port by neutron command by manually I think11:05
tiagogomes_So what is `ironic port-add` about11:05
tiagogomes_`port-create` sorry11:06
Haomengtiagogomes_: ironic port-add is try to add baremetal nic mac to ironic, it will be passed to neutron by nova if run with nova11:07
devanandamorning, all11:07
Haomengdevananda: good morning deva:)11:08
devanandalucasagomes: seen https://bugs.launchpad.net/ironic/+bug/1405131 ?11:08
openstackLaunchpad bug 1405131 in OpenStack Compute (nova) "Ports cannot be mapped to networks" [Low,In progress] - Assigned to Mark Goddard (mgoddard)11:08
HaomengAJaeger: sorry for late response, I am back now:)11:08
*** dprince has joined #openstack-ironic11:08
lucasagomesdevananda, morning11:08
lucasagomesdevananda, lemme take a look11:08
devanandamgoddard: ohhai! I havent seen updates on ^ in a while - are you still working on it? seems like something we should actually fix now11:09
Haomengtiagogomes_: we have the document for standalone mode - http://docs.openstack.org/developer/ironic/deploy/install-guide.html11:09
lucasagomesdevananda, yup, remember we talked about in the mid-cycle about having a attribute on ports11:09
Haomengtiagogomes_: hope this can help you11:09
lucasagomesthat tells whether it can be used for PXE or not?11:09
tiagogomes_Haomeng I was following that11:09
lucasagomeswe should add it, and modify the nova driver to filter the ports by that attribute11:09
Haomengtiagogomes_: yes, but it is the dhcp_provider=none case11:10
tiagogomes_I created a port in neutron with port-create, and I added it to Ironic with `ironic port-update $PORT add extra/vif_port_id=$NEUTRON_PORT_UUID`11:11
Haomengtiagogomes_: ok, can you check your neutron port - neutron port-show11:11
vdroktiagogomes_, did you add fixed_ip and mac address to neutron port?11:12
Haomengtiagogomes_: to find "device_owner          | network:dhcp" in the result11:12
*** yog__ has quit IRC11:12
Haomengtiagogomes_: make sure we have neutron dhcp port11:13
vdrokHaomeng, tiagogomes_ IIRC when I tried it I just created neutron port with fixed_ip and mac address in private network11:13
Haomengtiagogomes_: and check dnsmasq process11:13
vdrokand it worked11:13
Haomengvdrok: I think we need to update neutron dhcp port to add pxe options, such as tftp address, and pxe file11:14
vdrokHaomeng, if we have dhcp_provider=neutron it will do that11:14
devanandalucasagomes: ack. /me targets to rc111:14
tiagogomes_Ah, I didn't set up any macaddresss or device_owner11:14
tiagogomes_so the MAC address needs to correspond to the one on the baremetal NIC11:15
Haomengtiagogomes_, vdrok: , so not only dhcp works but also the pxe options are ready for pxe boot11:15
devanandalucasagomes: mgoddard: that means we'll actually need to work on it, and it looks like the fix is on the nova side ... what's required on Iornic's side?11:15
lucasagomesdevananda, the problem is the nova :( will they accept the change?11:15
devanandalucasagomes: possibly. the one mgoddard proposed was just a WIP11:16
lucasagomesI see11:16
Haomengtiagogomes_: the pxe options are - option:bootfile-name,pxelinux.0 / option:server-ip-address,9.119.58.235 / tftp-server,9.119.58.23511:16
devanandaif it were cleaned up, there's a good chance they'll take it11:16
vdrokHaomeng, neutron will be able to update pxe options itself11:16
tiagogomes_I've dhcp_provider=neutron, so I only need the remaining steps11:16
HaomengHaomeng: they are requried for pxe boot11:16
lucasagomesI think in Ironic we should have a "bootable" attribute on the port11:16
lucasagomesthat can say whether the port can be used for network boot or not11:16
lucasagomesand some way to filter ports that are bootable on our api11:17
lucasagomesthe later is not 100% necessary for a 1st version11:17
Haomengvdrok: ok, I remember the neutron dhcp port update which  is call from ironic nova driver , let me check code11:17
Haomengtiagogomes_: so we can just check the dnsmasq process11:17
tiagogomes_I am using Juno/Stable11:17
Haomengtiagogomes_: to see --dhcp-optsfile11:17
Haomengtiagogomes_: juno?11:17
devanandalucasagomes: that sounds like API changes // feature work11:17
tiagogomes_Haomeng,yes juno11:17
lucasagomesyeah, we can ignore it for now11:18
lucasagomesand do it in L11:18
Haomengtiagogomes_: it is better that you run with latest kilo code11:18
vdroktiagogomes_, not sure about juno, you can just check dnsmasq configs11:18
lucasagomessince the attribute is indexable on the db, it makes sense to make querying it on the API #futurework11:18
vdroktiagogomes_, if there is entry with your mac and pxe options than it will work fine11:18
tiagogomes_vdrok how can I do that11:18
Haomengtiagogomes_, vdrok: yes, check  --dhcp-optsfile option file content11:18
Haomengtiagogomes_: share my case - http://paste.openstack.org/show/197023/11:19
* rameshg87 goes home 11:19
rameshg87see you all in a couple of hours11:19
Haomengtiagogomes_: and check --dhcp-hostsfile file11:19
*** rameshg87 has quit IRC11:19
tiagogomes_Haomeng mine http://paste.openstack.org/show/197027/11:20
Haomengtiagogomes_: it is fine11:20
vdroktiagogomes_, tag is neutron port uuid11:20
Haomengtiagogomes_: how about --dhcp-hostsfile file content11:20
vdroktiagogomes_, so if that matches port you created then it should be fine11:21
tiagogomes_fa:16:3e:a9:1e:cb,host-192-168-100-15.openstacklocal,192.168.100.15,set:b025320d-3825-47e2-a0e3-cc1a8c21684011:21
tiagogomes_fa:16:3e:a6:0a:87,host-192-168-100-17.openstacklocal,192.168.100.1711:21
Haomengtiagogomes_: another question, what is your l2 net type, flat or vlan or gre?11:21
Haomengtiagogomes_: ironic supports flat now11:21
tiagogomes_flat I thik11:21
Haomengtiagogomes_: ok, neutron dnsmasq looks fine, so can you try to tcpdump the dhcp package from your ironic side?11:22
Haomengtiagogomes_: make sure the baremetal dhcp requests are send to the neutron dhcp machine, and check the interface, if there is namespace or not11:22
tiagogomes_Haomeng not sure what you mean by my ironic side, my I am receiving DHCP discover packets11:22
Haomengtiagogomes_: flat is fine and easy to debug11:22
Haomengtiagogomes_: ok, which interface you are listening to capture the dhcp siccover packets11:23
Haomengtiagogomes_: check dnsmasq process --bind-interfaces  arguments to see which interface is bind to get dhcp request11:24
Haomengtiagogomes_: --interface argument11:24
tiagogomes_the interface is virtual interface in a VM dedicated only to contact with the baremetal11:24
Haomengtiagogomes_: ok, did you run with ovs driver for neutron11:24
tiagogomes_`--bind-interfaces --interface=tap4be9b5ea-00 --except-interface=lo`11:25
Haomengtiagogomes_: can you share "# ovs-vsctl show" output11:25
Haomengtiagogomes_: to check if the tap4be9b5ea-00  interface is bind to physical port11:25
tiagogomes_http://paste.openstack.org/show/197031/11:25
Haomengtiagogomes_: ok, tap4be9b5ea-00  is bind to br-int and br-int is bind to eth2 physical nic, right?11:26
Haomengtiagogomes_: so you said you can receive dhcp discovery packets, which interface you bind to capture the tcp/udp packages11:27
tiagogomes_Haomeng ens611:28
openstackgerritShivanand Tendulker proposed openstack/ironic: boot_mode is overwritten in node properties  https://review.openstack.org/16795211:28
Haomengtiagogomes_: I think we can get baremetal dhcp request from physical eth2 nic, but can not get it for tap4be9b5ea-00  interface11:28
Haomengtiagogomes_: ok, try to tcpdump to check tap4be9b5ea-00  packages, and redhcp from baremetal to see if we can get dhcp packages, I think no11:29
Haomengtiagogomes_: some times, neutron have issue with ovs netflow table, so have to check netflow table to see how the packages is routed by netflow11:29
Haomengtiagogomes_: try with "tcpdump -i tap4be9b5ea-00  '(port 67 or port 68)'"11:31
Haomengtiagogomes_: if tap4be9b5ea-00 is in down status, just up it - "ip link set tap4be9b5ea-00 up"11:32
*** tiagogomes_ has quit IRC11:33
Haomengtiagogomes_: and check " ovs-ofctl dump-flows br-int" flow table to see if priority is correct value11:33
*** tiagogomes_ has joined #openstack-ironic11:33
tiagogomes_<tiagogomes_> Haomeng, I'm confused11:34
tiagogomes_<tiagogomes_> would it help if I described all the network steps that I've done11:34
tiagogomes_<tiagogomes_> I don't know much about neutron, so maybe I am doing something silly11:34
tiagogomes_<tiagogomes_> I also didn't set the mac address when creating the port with neutron, could that be the proble11:34
Haomengtiagogomes_: let me check my env11:34
Haomengtiagogomes_: neutron port-list should return 2 rows at list, one is dhcp port, another one is for baremetal port11:35
*** vdrok has quit IRC11:36
Haomengtiagogomes_: if you just have dhcp port, then the baremetal port should be created by neutron, then neutron can support it11:36
*** vdrok has joined #openstack-ironic11:37
Haomengtiagogomes_: and check dnsmasq --dhcp-hostsfile file content, to see if there is your baremetal mac as well11:37
tiagogomes_The baremetal port MAC address should correspond to the baremetal server MAC address? Because it doesn't11:38
tiagogomes_the baremetal mac is not on --dhcp-hostsfile11:39
Haomengtiagogomes_: yes that is reasone why neutron dhcp does not response your baremetal dhcp request11:39
Haomengtiagogomes_: neutorn dhcp work on white-list mode, just response the know mac which registed into neutron as neutorn port11:39
Haomengtiagogomes_: so run "neutron port-list" to check if your baremetal mac is in the list11:40
Haomengtiagogomes_: if no, have to create by manually with neutron port-create command to register the baremetal mac11:40
*** dprince has quit IRC11:42
tiagogomes_Haomeng, done, should I associate the port with Ironic now11:44
*** dprince has joined #openstack-ironic11:44
openstackgerritYuiko Takada proposed stackforge/ironic-discoverd: Add unit tests for firewall.py  https://review.openstack.org/16830411:45
Haomengtiagogomes_: I understand you have run ironic port-create to register the baremetal mac already11:45
Haomengtiagogomes_: so check dnsmasq --dhcp-hostsfile again11:46
Haomengtiagogomes_: make sure the mac is ready in the list11:46
tiagogomes_Haomeng, yes, but normamilly I run `ironic port-update $PORT add extra/vif_port_id=$NEUTRON_PORT_UUID`11:46
openstackgerritLucas Alvares Gomes proposed openstack/ironic: When updating node's driver do not try to load the new driver  https://review.openstack.org/16830711:46
tiagogomes_Haomeng, if I didn't add that extra/vif_port I would get a no VIFs found error11:47
tiagogomes_Haomeng, the MAC address is on --dhcp-hostsfile11:47
Haomengtiagogomes_: if the mac is on dhcp-hostfile, it will work with neutron11:47
Haomengtiagogomes_: so re-dhcp again and capture packages with command - "tcpdump -i tap4be9b5ea-00  '(port 67 or port 68)'"11:48
Haomengtiagogomes_: yes, we should add extra/vif-port first then run ironic to kickoff the provision11:49
*** jjohnson2 has joined #openstack-ironic11:49
tiagogomes_I can't tcpdump on that interface:11:50
tiagogomes_~ # tcpdump -i tap4be9b5ea-0011:50
tiagogomes_tcpdump: tap4be9b5ea-00: SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl failed: No such device11:50
tiagogomes_hold on, DHCPOFFER on dhcp-agent log11:50
Haomengtiagogomes_: try "ip link set tap4be9b5ea-00 up"11:51
tiagogomes_~ # ip link set tap4be9b5ea-00 up11:51
tiagogomes_Cannot find device "tap4be9b5ea-00"11:51
Haomengtiagogomes_: run ip netns11:52
tiagogomes_~ #  ip netns11:52
tiagogomes_qdhcp-e2e418d7-f430-45f0-8c34-a742105c4f9a11:52
Haomengtiagogomes_: did you enable netspace, it is in dhcp netspace11:52
Haomengtiagogomes_: ip netns exec qdhcp-563b5dee-01a0-4bb3-b575-fdfdc4cb513e tcpdump  '(port 67 or port 68)' -i  tap80a5fe3b-7711:52
tiagogomes_~ #  ip netns exec qdhcp-563b5dee-01a0-4bb3-b575-fdfdc4cb513e true11:53
tiagogomes_Cannot open network namespace "qdhcp-563b5dee-01a0-4bb3-b575-fdfdc4cb513e": No such file or directory11:53
tiagogomes_ah wrong namespace11:53
Haomengtiagogomes_: sorry for confusing, that is my netns:)11:53
Haomengtiagogomes_: ip netns exec qdhcp-e2e418d7-f430-45f0-8c34-a742105c4f9a tcpdump  '(port 67 or port 68)' -i tap4be9b5ea-0011:53
Haomengtiagogomes_: I forgot to replace to yours:)11:53
tiagogomes_no, mea culpa11:53
Haomengtiagogomes_: that is my case:)11:53
Haomengtiagogomes_: just run any commad with this "ip netns exec qdhcp-e2e418d7-f430-45f0-8c34-a742105c4f9a" as prefix, that will check in that net namespace11:56
tiagogomes_Haomeng, yes I read about that some days ago11:56
Haomengtiagogomes_: cool:)11:57
Haomengtiagogomes_: you can just reboot the baremeatl and see the dhcp output, no need to run ironic command now, becaue we are checking neutron dhcp services now11:57
Haomengtiagogomes_: to see if neutron dhcp is ready to serv the pxe dhcp options11:57
Haomengtiagogomes_: another easy way, try to start a vm which mac is set to same with baremetal and the vm is conected to same flat bridge11:58
tiagogomes_sounds like a plan, doing it mow11:58
tiagogomes_now11:58
Haomengtiagogomes_: ok, good luck:)11:58
*** subscope has joined #openstack-ironic12:00
tiagogomes_I had to stop ironic-conductor, as he was shutting down the node12:03
Haomengtiagogomes_: I think we can just go head to check neutron dhcp first, make sure neutorn dhcp works, than go ahead to run ironic command to kickoff the provision12:05
Haomengtiagogomes_: did you have remote console for baremetal?12:05
*** atuvenie has joined #openstack-ironic12:06
tiagogomes_Haomeng kind of, sometimes it doesn't work12:06
Haomengtiagogomes_: ok12:06
tiagogomes_Haomeng, yes that's what I am doing, that's why I stopped Ironic12:06
Haomengtiagogomes_: ok, good luck for you:)12:07
tiagogomes_Haomeng, ok, I received some packets on tap4be9b5ea-0012:07
Haomengtiagogomes_: cool12:07
Haomengtiagogomes_: check if it is dhcp packages12:08
tiagogomes_Haomeng, yep, the full set, discover,request,offer,ack12:08
Haomengtiagogomes_: great, should works now:)12:08
Haomengtiagogomes_: so check the baremetal console output12:09
Haomengtiagogomes_: if it is request the NBP pxe file12:09
*** subscope has quit IRC12:11
tiagogomes_Haomeng, PXE-E53: No boot filename received, but this is expected no?12:12
Haomengtiagogomes_: have to check dnsmasq process12:12
tiagogomes_although I can see some PXE settings on the baremetal port12:12
*** dtantsur|brb is now known as dtantsur12:13
Haomengtiagogomes_: e12:13
Haomengtiagogomes_: --dhcp-optsfile12:13
Haomengtiagogomes_: should have "option:bootfile-name,pxelinux.0"12:13
tiagogomes_Haomeng, it does12:14
Haomengtiagogomes_: check dnsmasq log, maybe that can be find in /var/log/message12:14
Haomengtiagogomes_: what your systems is, x86 server?12:15
tiagogomes_Haomeng, yes x8612:16
Haomengtiagogomes_: some pxe rom is not working as well12:16
Haomengtiagogomes_: but it is few case for x8612:16
tiagogomes_I don't have anything on /var/log/message, it is systemd, but I don't have an unit for dnsmasq12:17
Haomengtiagogomes_: got a reference - http://www.symantec.com/business/support/index?page=content&id=TECH1053212:17
Haomengtiagogomes_: another way is, we just run dnsmasq proces by manually, then we can have the dhcp pxe detail logs12:18
Haomengtiagogomes_: some time it is caused by tftp folder mapping12:19
tiagogomes_right, but know I know that Neutron and baremetal server are communicating properly, which was my issue for some days12:19
Haomengtiagogomes_: can you check your /tftpboot folder if pxelinux.0 is there12:19
Haomengtiagogomes_: yes12:19
Haomengtiagogomes_: I have dnsmasq  config for manually run, you can have a reference to debug pxe booting12:20
tiagogomes_Haomeng that dir it is not on a conventional place, I set the right dir in the ironic configuration file, but I am not using Ironic12:20
tiagogomes_s/conventional/default12:20
Haomengtiagogomes_: http://paste.openstack.org/show/197072/12:21
Haomengtiagogomes_: we can run tftp client command to get pxelinux.0 by manully to verify if tftp server is working or ont12:22
Haomengtiagogomes_: netstat -an|grep ":69"12:23
tiagogomes_Haomeng, good idea. I don't have that configuration file12:23
tiagogomes_~ #  netstat -an | grep ":69"12:23
tiagogomes_udp        0      0 0.0.0.0:69              0.0.0.0:*12:23
Haomengtiagogomes_: try to tftp download pxelinux.0 by manually12:24
Haomengtiagogomes_: or run dnsmasq with my configuration to check dnsmasq full logs, we can see all the pxe booting actions12:25
*** subscope has joined #openstack-ironic12:25
Haomengtiagogomes_: my log - http://paste.openstack.org/show/197077/12:25
Haomengtiagogomes_: that is the way to debug pxe booting12:26
tiagogomes_Haomeng I'll do, thanks12:28
Haomengtiagogomes_: ok, good luck:)12:28
tiagogomes_Haomeng, thanks for all the help !12:29
Haomengtiagogomes_: that is my pleasure, welcome:)12:30
Haomengtiagogomes_: good luck and enjoy weekend:)12:30
Haomengtiagogomes_: try to tftp command by manually to check if we can get pxelnux.0 by tftp or not12:31
Haomengtiagogomes_: if not working, that is tftp issue12:31
*** atuvenie has quit IRC12:32
TheJuliagood morning ironic12:32
tiagogomes_Haomeng, it worked12:34
tiagogomes_that is, getting pxelinux.0 through tftp12:35
Haomengtiagogomes_: ok12:35
HaomengHaomeng: run dnsmasq process with my conf file and make sure the configuration is changed for your env/case, and try to check dnsmasq log to check more in details why pxe not working12:36
Haomengtiagogomes_: because for baremetal pxe side, there is not enough information to debug/investigation the root cause12:36
Haomengtiagogomes_: suggest to boot a vm to test the pxe/dhcp/tftp env first12:37
Haomengtiagogomes_: dnsmasq --conf-file=dnsmasq.conf12:40
*** yuanying has quit IRC12:42
*** rameshg87 has joined #openstack-ironic12:43
*** kkoski has joined #openstack-ironic12:44
*** jcoufal has joined #openstack-ironic12:46
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Stop console when updating node's driver  https://review.openstack.org/16803012:47
yuriyzhello Ironic12:52
*** atuvenie has joined #openstack-ironic12:52
yuriyzlucasagomes please look at https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/node.py#L1068-L107912:52
lucasagomesyuriyz, hi there12:53
* lucasagomes clicks12:53
*** athomas has joined #openstack-ironic12:53
lucasagomesyuriyz, oh, but that's testing the topic for the old driver12:53
lucasagomesyuriyz, I'm worried about the new one, when the user is updating the driver from A to B12:53
lucasagomeswe should check if there's a conductor that can manage B12:54
rameshg87yuriyz: i think lucasagomes will need the conductor to load the old driver instead12:54
rameshg87yuriyz: to stop the console12:54
lucasagomesyeah, I have to get a lock on the old conductor, so it loads the current driver (prior to update)12:54
lucasagomesstop the console12:55
rameshg87so should we change https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/node.py#L1068-L1079 to get a conductor which old driver ?12:55
rameshg87*which has old driver12:55
lucasagomesrameshg87, yeah12:55
lucasagomesx.x12:55
* lucasagomes mark it all as WIP12:56
lucasagomesrameshg87, I wonder if perhaps we should just check if the conductor has the console enabled and fail update12:58
lucasagomesat the API layer12:58
lucasagomesrameshg87, like, can't change node's <blah> driver because the console is enabled, stop it first12:58
lucasagomessomething like that12:59
rameshg87oh, asking the user to stop the console ?12:59
lucasagomeswell not sure, I think not right? maybe we should be smarter12:59
lucasagomesand just try to stop it12:59
rameshg87hmm..may be..even i am in 2 minds..13:00
lucasagomesyeah13:00
rameshg87it should easy for them to stop the console themselves13:00
rameshg87and how ofter does someone change the driver ? :)13:00
lucasagomesnot often I suppose13:00
rameshg87*often13:00
rameshg87yeah, may be even for it seems fine if we just ask them to stop the console themselves13:01
lucasagomesfair enuff13:01
lucasagomesI will grab some food and update the patches13:01
rameshg87yuriyz: ^^^13:01
rameshg87okay13:01
lucasagomesif you and yuriyz agrees with that13:02
*** lucasagomes is now known as lucas-hungry13:02
lucas-hungrybbl13:02
rameshg87anyone has bug# for usual postgres failures in gate ?13:02
yuriyzlucasagomes ok13:04
*** dlpartain has joined #openstack-ironic13:12
*** dlpartain has left #openstack-ironic13:13
devanandagoing to add a couple bugs that I think were fixed already to the list13:14
devanandarameshg87: didn't you fix this already? https://bugs.launchpad.net/ironic/+bug/141256113:17
openstackLaunchpad bug 1412561 in Ironic "IPA/DIB is not compatible to create the uefi capable images" [Medium,Confirmed]13:17
devanandaalso, I'm bumping https://bugs.launchpad.net/ironic/+bug/1422723 to critical13:18
openstackLaunchpad bug 1422723 in Ironic "Ironic sets instance as active even if bootloader installation fails when boot_option is 'local'" [Critical,Confirmed]13:18
devanandabecause that's a serious failure in Ironic13:18
rameshg87devananda: checking ...13:19
devanandaalso https://bugs.launchpad.net/ironic/+bug/1432761 is a fairly serious issue IMO. the REST API can't be synchronous with respect to hardware like this, and raising an error is silly.13:20
openstackLaunchpad bug 1432761 in Ironic "Cannot perform get_cleaning_steps on powered off node." [Critical,Confirmed]13:20
dtantsurfair13:21
rameshg87devananda: https://bugs.launchpad.net/ironic/+bug/1412561 is only partly true13:21
openstackLaunchpad bug 1412561 in Ironic "IPA/DIB is not compatible to create the uefi capable images" [Medium,Confirmed]13:21
rameshg87devananda: since we added a new element ironic-agent in diskimage-builder13:22
*** ifarkas has quit IRC13:22
rameshg87devananda: we can create uefi-capable agent iso images using ironic-agent in dib13:22
rameshg87devananda: for building ipa with coreos - we had added a script in juno - https://github.com/openstack/ironic-python-agent/blob/master/imagebuild/coreos/iso-image-create13:23
rameshg87devananda: that needs to be updated to generate uefi capable images13:23
*** ifarkas has joined #openstack-ironic13:24
rameshg87devananda: i will take care of that ..13:24
rameshg87devananda: fixing https://bugs.launchpad.net/ironic/+bug/1422723 is a bit hard for kilo-rc113:24
openstackLaunchpad bug 1422723 in Ironic "Ironic sets instance as active even if bootloader installation fails when boot_option is 'local'" [Critical,Confirmed]13:24
rameshg87devananda: the bug is for localboot with dib ramdisk13:25
rameshg87devananda: currently there is no way dib ramdisk can communicate back to ironic the status of the bootloader installation13:25
rameshg87devananda: in my thinking, adding a new vendor passthru to communicate status of boot loader isntallation is the only way13:26
*** atuvenie has quit IRC13:27
*** kkoski has quit IRC13:39
*** kkoski has joined #openstack-ironic13:43
*** stendulker has joined #openstack-ironic13:54
*** r-daneel has joined #openstack-ironic13:58
NobodyCamgood morning Ironic AND T.G.I.F :)14:00
TheJuliagood morning and indeed!14:02
NobodyCam:)14:02
NobodyCammorning TheJulia :)14:02
NobodyCamoh coffee sounds like its ready..brb14:02
dtantsurNobodyCam, TheJulia, morning!14:02
* TheJulia needs coffee horribly14:02
*** dencaval has joined #openstack-ironic14:03
*** Marga_ has joined #openstack-ironic14:06
*** lucas-hungry is now known as lucasagomes14:07
*** Marga_ has quit IRC14:08
*** Marga_ has joined #openstack-ironic14:09
jroll00:23:30       devananda | JayF: however, I should be ashamed that I'm using and talking about the agent, but dont understand it well enough to go review it meaningfully <- I think you overestimate the complexity of the agent, you should be able to grok it in a couple of hours14:10
jrollmorning NobodyCam TheJulia dtantsur devananda lucasagomes rameshg87 and everyone above the fold :)14:10
* jroll highlights half the channel14:10
dtantsurjroll, o/14:10
lucasagomesjroll, NobodyCam TheJulia morning14:10
jrollrameshg87: lucasagomes: funny story about cloud-init using a configdrive on a partition, we patched that over a year ago, before we even started working on ironic :P14:11
rameshg87jroll: morning14:11
rameshg87jroll: oh14:11
lucasagomesjroll, oh damn14:11
lucasagomesjroll, you gotta submit the patch upstream man! heh14:12
lucasagomesbut yeah, I'm glad that f21 has the version that works with partitions14:12
lucasagomesand rhel/centos7 too14:12
jrolllucasagomes: it is upstream, as evidenced by you finding it in newer versions :P14:13
lucasagomesjroll, :) fair enuff14:14
rameshg87lucasagomes: we will start getting f21 with diskimage-create soon ?14:14
NobodyCammorning dtantsur, jroll and lucasagomes14:14
NobodyCamand rameshg8714:14
NobodyCam:)14:14
jrolllucasagomes: something something old packages in fedora :P14:14
rameshg87morning NobodyCam14:14
lucasagomesrameshg87, I hope so, as dtantsur pointed out there's one guy (ian) already working on it14:14
rameshg87okay14:14
NobodyCam:)14:14
lucasagomesjroll, indeed14:14
lucasagomesrameshg87, but I don't know exactly when14:14
rameshg87lucasagomes: i tried to update the cloudinit using easy_install after going into fedora image14:15
rameshg87lucasagomes: and it got screwed :)14:15
jrollheh14:15
lucasagomesx.x14:15
rameshg87lucasagomes: after that when i tried to boot the image, cloudinit was trying to create ubuntu user on fedora and was failing :D14:15
rameshg87supposed to fail btw :)14:16
*** mtanino has joined #openstack-ironic14:16
lucasagomesyeah looks very likely to fail14:16
lucasagomesrameshg87, btw, re installing grub2 on images14:16
lucasagomesdid you get it working on ubuntu14:16
lucasagomesI put a patch upstream on DIB yesterday doing that, seems to fail on ubuntu with DIB14:16
lucasagomesI will take a look later see if I can find the cause14:16
* rameshg87 checks the patch14:17
lucasagomes(it's like one 1 line patch, lemme get the link)14:17
lucasagomeshttps://review.openstack.org/#/c/167929/14:17
lucasagomesrameshg87, ^14:17
rameshg87lucasagomes: for my testing i install grub on the partition image after mounting it with qemu-nbd14:17
NobodyCamlucasagomes: when you have a free minute can take a look at mrda's comments on https://review.openstack.org/#/c/16566614:17
lucasagomesrameshg87, I see, yeha that was what I was doing too14:18
lucasagomesbut it would be nice to be able to generate the image with it installed already14:18
lucasagomesNobodyCam, sure14:18
rameshg87lucasagomes: oh for that i mounted /dev, /proc and /sys after chrooting14:18
jrollbtw, I'm off today, so y'all have a happy weekend :)14:18
lucasagomesjroll, enjoy the weekend!14:18
jrollNobodyCam: ^ super tgif today14:18
lucasagomesand today too :)14:18
NobodyCamoh jroll rub it in .. so early :-p14:18
jrollhehehe14:18
rameshg87lucasagomes: i always do that when i chroot :)14:18
NobodyCamlol14:18
rameshg87jroll: happy weekend ..14:18
NobodyCamhave a great day of PTO jroll :)14:19
jrollthanks :)14:19
lucasagomesNobodyCam, if we merge that code we are intentionally adding a bug in ironic14:19
rameshg87lucasagomes: stendulker had a patch which installs grub2 on the image for copying efi files (and then uninstall it)14:19
lucasagomesNobodyCam, I'm not sure if it's a good idea :/14:20
lucasagomesrameshg87, right, stendulker r u going to propose it upstream?14:21
stendulkerlucasgomes: the patch is already merged into DIB for iso element14:21
lucasagomesNobodyCam, maybe it's better to keep the 63 characters that doesn't comply to FQDN, but at least check if it comply to a valid hostname?14:21
rameshg87lucasagomes: i think we should install grub2, grub2-efi as well14:22
rameshg87lucasagomes: let me try your patch14:22
stendulkerlucasgomes: Its https://review.openstack.org/#/c/153987/14:22
lucasagomesrameshg87, yeah grub-efi sounds good14:22
NobodyCamlucasagomes: :/ also see irc chat http://eavesdrop.openstack.org/irclogs/%23openstack-ironic/%23openstack-ironic.2015-03-26.log14:22
NobodyCamstarting around 22:01:1714:22
stendulkerlucasgomes: Check this review if that is something you are looking for..14:23
lucasagomesNobodyCam, oh that's just the test that doesn't work!?14:23
lucasagomeshmm14:24
lucasagomesthat's odd14:24
stendulkerlucasgomes, rameshg87: But be careful with grub-efi. Fedora and Ubuntu have different implementation, packaging and installation for grub214:24
stendulkeri think grub-efi is valid for only for ubuntu14:25
rameshg87stendulker: okay14:25
*** BadCub_Hiding is now known as BadCub14:25
pshigemorning14:25
rameshg87stendulker: do you remember equivalent in ubuntu ?14:25
rameshg87i mean fedora14:25
BadCubMOrning Folks14:25
rameshg87BadCub: o/14:25
rameshg87morning14:25
BadCubHappy Friday!!!14:25
NobodyCammorning BadCub, and pshige14:26
stendulkerrameshg87: its grub2-efi for fedora14:26
pshigeBadCub: morning14:26
NobodyCamlucasagomes: yep from what I take from mrda it's only tests14:27
rameshg87stendulker: okay14:27
NobodyCammorning stendulker :)14:27
stendulkerrameshg87: grub-efi-amd64 for ubuntu14:27
stendulkerNobodyCam: Morning14:27
NobodyCam:)14:27
pshigerameshg87: morning14:27
lucasagomesNobodyCam, I seem I wonder if it has to deal with the db backend :/14:27
lucasagomeswe use sqlite for tests right? and run mysql on devstack14:28
stendulkerrameshg87: grub-efi is 32-bit and we should not use in uefi14:28
stendulkerNobodyCam :)14:28
lucasagomesNobodyCam, hmm I don't wanna be the one taking the decision to merge it without tests really14:28
lucasagomessounds risky for rc-114:28
pshigeNodyCam: morning14:28
*** athomas has quit IRC14:29
rameshg87pshige: morning :)14:29
*** athomas has joined #openstack-ironic14:29
rameshg87stendulker: yeah, may be we should decide the package name based on architecture and distro ?14:29
rameshg87stendulker: i think we should have a map file14:30
rameshg87wdyt ?14:30
lucasagomesdevananda, r u around? maybe you can take a look at mrda comments on https://review.openstack.org/#/c/165666 ?14:30
NobodyCamlucasagomes: ya, I told mrda I would have you look at it, I think I tend to agree... it's to late, unless we can get the test going is where my head is kinda at14:30
lucasagomesyou know databases better than I. Is it too risky? I'm most wondering if the reasons why tests doesn't work is because of the database backend14:30
lucasagomesNobodyCam, yeah14:31
lucasagomesNobodyCam, I'm afraid we merge something and then boom we break like postgres or other databases14:31
lucasagomes:/14:31
NobodyCam:)14:32
NobodyCamoh and a /shamelessplug for a doc patch.. https://review.openstack.org/#/c/16809514:32
*** stendulker has quit IRC14:32
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: Proper errors handling for client  https://review.openstack.org/16835414:33
*** stendulker has joined #openstack-ironic14:34
BadCubNeed some core reviews on: https://review.openstack.org/#/c/168175/ today too14:34
*** achanda has joined #openstack-ironic14:35
BadCubanyone know devstack folks to help out on ^14:36
NobodyCamJayF: as jroll is on PTO and Josh is not yet on I'm pinging you. why a ten minute timeout?14:37
jrollNobodyCam: who what14:37
NobodyCamlol14:37
NobodyCamoh your still here14:38
jrollwhat's the question?14:38
NobodyCamjroll: on the patch BadCub linked ^^^14:38
jrollyeah, hacking on a side project14:38
jroll:|14:38
NobodyCamjosh bumped the timeout to ten minutes14:38
jrollI have no idea14:38
jrollseems like we shouldn't need to change it14:39
NobodyCamthats going make the gate slower :(14:39
jrolland if we do probably not so much14:39
NobodyCam180 I understood14:39
NobodyCambut 600 seems a bit high for gate testing14:39
NobodyCamesp because ereasing hdd is also turned off with that patch14:40
jrollright, I don't understand why that change is needed14:40
* NobodyCam waits for Josh14:40
NobodyCamlol14:40
*** zz_jgrimm is now known as jgrimm14:41
*** achanda has quit IRC14:42
* BadCub needs more coffee14:44
* TheJulia needs coffee in general14:44
*** stendulker has quit IRC14:44
*** mgoddard1 has joined #openstack-ironic14:45
NobodyCamTheJulia: are you out of coffee?14:45
BadCubhey jroll NobodyCam you guys (and hopefully a few others) up for a bug squash session on MOnday?14:45
NobodyCamsure14:45
*** mgoddard has quit IRC14:45
jrollBadCub: I think I could, later in the week would be better for me14:45
TheJuliaNobodyCam: can't have any until after a medical appointment14:46
BadCubjroll: later in week works too :-) How about we group up on Monday and pick a day for it14:46
NobodyCamTheJulia: :( oh I'm sorry... I hate those tests14:46
jrollBadCub: sounds good14:47
BadCubawesomeness! :-)14:47
*** saripurigopi has joined #openstack-ironic14:47
NobodyCambrb14:48
TheJuliaExcpet to see my hyped up on caffee around 7 PM Eastern :)14:48
TheJuliacaffine14:49
*** rameshg87 is now known as rameshg87-dinner14:54
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: [WIP] Add DevStack plugin for ironic-discoverd  https://review.openstack.org/16478214:55
*** Marga_ has quit IRC14:57
* NobodyCam is back14:58
NobodyCamTheJulia: how long are you excluded from caffine?14:59
TheJuliaNobodyCam: until after my appointment today15:02
NobodyCam:(15:02
* BadCub is back15:07
BadCubTheJulia: my gods, what time is your appointment?15:08
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Prevent updating the node's driver if console is enabled  https://review.openstack.org/16803015:09
TheJuliaBadCub: 4.... I'm already starting to get a headache :(15:10
BadCub:(15:10
*** devlaps has joined #openstack-ironic15:10
NobodyCamTheJulia: will we be seeing a new rev of 168120 today?15:11
NobodyCamjust checking... not pushing...15:11
*** atuvenie has joined #openstack-ironic15:12
TheJuliaNobodyCam: Not likely given the caffine headache, likely over the weekend15:13
*** rameshg87-dinner is now known as rameshg8715:14
NobodyCam:) that works :) thou weekend is personal time. so monday is also a good time :-p15:14
TheJuliaMaybe later tonight after I get to have coffee15:14
NobodyCamwb rameshg8715:14
rameshg87lucasagomes: it goes fine for me for ubuntu15:14
rameshg87thanks NobodyCam :)15:14
NobodyCam:)15:14
rameshg87lucasagomes: will try doing a localboot once for bios and uefi15:15
lucasagomesrameshg87, hmm odd15:16
lucasagomesrameshg87, so it builds the image with grub2 installed?15:16
* lucasagomes lemme try for ubuntu15:16
rameshg87lucasagomes: yeah it does15:16
rameshg87lucasagomes: trying with grub-efi15:17
rameshg87lucasagomes: if it goes through, i will try a deploy with that image with localboot15:18
rameshg87lucasagomes: https://review.openstack.org/#/c/168030/3/ironic/api/controllers/v1/node.py15:18
rameshg87lucasagomes: isn't 409 better ?15:18
rameshg87lucasagomes: 400 - The request could not be understood by the server due to malformed syntax.15:18
rameshg87lucasagomes: 409 - The request could not be completed due to a conflict with the current state of the resource.15:18
lucasagomesrameshg87, oh yeah 409 seems better indeed15:19
lucasagomesrameshg87, will update 1 sec15:19
rameshg87okay15:19
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Prevent updating the node's driver if console is enabled  https://review.openstack.org/16803015:20
lucasagomeshere we go15:20
rameshg87:)15:21
*** kkoski has quit IRC15:23
lucasagomesrameshg87, odd, generating with ubuntu for me stops without any error message15:23
lucasagomesrameshg87, http://paste.openstack.org/show/197176/15:23
rameshg87lucasagomes: has it something to got with the machine you are building ?15:23
rameshg87lucasagomes: i am on Ubuntu 14.04 LTS15:24
lucasagomestesting on my ubuntu vm, so the host is Ubuntu 14.04.1 LTS15:24
* lucasagomes will try on a f21 host15:24
rameshg87:)15:24
rameshg87lucasagomes: i am facing dependency issues when i add grub-efi :)15:24
lucasagomesI thought that installing a package would be like, trivial!15:24
rameshg87hehe15:25
rameshg87seems like it is not15:25
rameshg87lucasagomes: when i add grub-efi, i am getting stranger errors like "grub2 : Depends: grub-pc (= 2.02~beta2-9ubuntu1) but it is not going to be installed"15:25
rameshg87" but it is not going to be installed", wondering why ?15:25
lucasagomesgrub-efi is grub 2 ? or grub legacy (1) ?15:26
lucasagomestho it says 2.02~beta seems like grub215:26
rameshg87lucasagomes: it says it's grub215:26
rameshg87grub-efi - GRand Unified Bootloader, version 2 (dummy package)15:27
lucasagomesright15:28
lucasagomeshmm /me don't know15:29
lucasagomesI'm testing grub2 on f21 now15:29
JayFNobodyCam: I suspect joshnang bumped the timeout so aggressively because we wanted to see howlong it would take15:29
lucasagomestakes a while cause I dpon't have the images cached there15:29
lucasagomesbase images*15:29
*** jjohnson2 has quit IRC15:31
NobodyCamJayF: should it be adjusted down on that patch to land?15:32
*** anderbubble has joined #openstack-ironic15:32
rameshg87lucasagomes: it's going to be more than a simple package-installs.yaml i think15:32
rameshg87lucasagomes: i can't install grub-pc and grub-efi together15:32
rameshg87it conflicts15:32
rameshg87:(15:32
JayFNobodyCam: I don't know until I see the results of the tempest run on the Ironic side15:32
JayFNobodyCam: but realistically, the devstack change shouldn't land until we have tempest passing on the ironic chang15:33
JayF*change15:33
rameshg87makes sense because you cannot have both on the same node15:33
lucasagomesrameshg87, got the same result on f21 http://paste.openstack.org/show/197177/15:33
lucasagomesrameshg87, x.x15:33
NobodyCamJayF: ++15:33
rameshg87lucasagomes: this succeeded no ?15:33
BadCubheya folks. Can I get a non-HP review/+a on https://review.openstack.org/#/c/165559 ? We have two +2s on it already15:33
lucasagomesrameshg87, nop15:34
lucasagomesrameshg87, just exit, no image was created15:34
rameshg87lucasagomes: oh15:34
NobodyCamlol so happy to not be at the seattle office today :-p as its Comicon!15:35
*** JoshNang has joined #openstack-ironic15:36
lucasagomesNobodyCam, oh sounds good actually15:36
NobodyCamlol15:36
NobodyCamthey just sent out a email saying no parking at the office :-p15:36
JayFBadCub: I put a +1 on that, so has mrda, it's proabbly safe for NobodyCam to land :) https://review.openstack.org/#/c/16555915:36
lucasagomesNobodyCam, I see15:37
lucasagomeswell at least you could have lunch with spiderman15:37
NobodyCamlol... JayF awesome !15:37
NobodyCamlol15:37
BadCubJayF: thanks!1 :-)15:37
JayFWe'll use the crap out of that env var too :)15:37
NobodyCamso click the +a will make our client's default 1.615:37
NobodyCamlucasagomes: did you want to have a look at ^^^15:38
JayFYeah, that's fine with me from my perspective; we already pass around files full of environment to setup creds for ironicclient, it's nbd to add an API version to that which we adjust as needed15:38
lucasagomesNobodyCam, what was the consensus on the client?15:39
NobodyCamlucasagomes: what part of the client?15:40
lucasagomesNobodyCam, passing a version >1.115:40
lucasagomesNobodyCam, I remember we had a patch in Nova15:40
lucasagomeswas it merged? /me reads the comments15:40
lucasagomesoh ok it got merged15:42
lucasagomeshttps://review.openstack.org/#/c/149760/15:43
lucasagomes+a15:44
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: [WIP] Add DevStack plugin for ironic-discoverd  https://review.openstack.org/16478215:44
BadCubbrb15:44
*** kkoski has joined #openstack-ironic15:49
*** dencaval has quit IRC15:52
*** jrist has quit IRC15:55
rameshg87lucasagomes: it goes through again for me :)15:57
rameshg87with efi15:57
lucasagomesrameshg87, ouch, how come15:57
lucasagomes:/15:57
lucasagomesthis vm is like almost fresh install15:57
*** kkoski has quit IRC15:58
rameshg87lucasagomes: http://paste.openstack.org/show/197187/15:58
*** kkoski has joined #openstack-ironic15:59
rameshg87lucasagomes: okay, time to go for me ..16:01
rameshg87lucasagomes: i will try to check regarding efi vs bios thing16:01
*** kkoski has quit IRC16:02
rameshg87lucasagomes: please drop me some indication in review if you happen to solve your ubuntu failure16:02
rameshg87lucasagomes: i will try once in fedora as well16:02
rameshg87good night all16:02
rameshg87see you next week .. happy weekend16:03
lucasagomesrameshg87, ok thanks for the tests, have a good night!16:03
rameshg87bye16:03
lucasagomesbye bye16:03
lucasagomesenjoy the weekend16:03
*** rameshg87 has quit IRC16:03
* BadCub goes to hunt breakfast things bbiab16:03
*** foexle has quit IRC16:05
NobodyCamhave a good weekend rameshg8716:06
*** jrist has joined #openstack-ironic16:08
*** jrist has quit IRC16:08
*** jrist has joined #openstack-ironic16:08
*** kkoski has joined #openstack-ironic16:08
*** Marga_ has joined #openstack-ironic16:09
*** atuvenie has quit IRC16:09
*** ChuckC has joined #openstack-ironic16:11
*** kkoski has quit IRC16:19
*** kkoski has joined #openstack-ironic16:20
tiagogomes_ok, I have now my baremetal server having DHCP from Neutron (192.168.100.18), but I seems that he can't contact the TFTP server (10.24.1.113), do I need to add a route somewhere16:24
NobodyCamtiagogomes_: humm is this a flat network?16:27
tiagogomes_NobodyCam, yes16:27
*** ijw has joined #openstack-ironic16:27
*** ijw has quit IRC16:28
tiagogomes_If I set the IP of the tftp server to be on 192.168.100.10 e.g. I get an ARP timeout error16:28
NobodyCamthe addresses seem strange to me, what type of setup are you using, DIB, Devstack or???16:28
*** ijw has joined #openstack-ironic16:28
tiagogomes_I don't know what DIV is16:28
tiagogomes_I am integrating Ironic on baserock16:29
NobodyCamDib == Disk Image Builder == TripleO16:29
tiagogomes_I created a network for 192.168.100.0./24, where I run the DHCP server16:29
tiagogomes_I've have a physical interface with IP 10.24.1.113, which is the IP for the TFTP server passed to the baremetal server16:30
*** kkoski has quit IRC16:31
*** kkoski has joined #openstack-ironic16:32
NobodyCamwhen you got the arp error was the tftp server bound to a 192.168.100 ip?16:32
JayFDoes anyone know how to do a docs build locally?16:33
tiagogomes_NobodyCam yes16:33
NobodyCamJayF: for ironic I do tox -egendocs16:33
JayFsweet, I thought it was something like that but didn't see any ref to it in the tox.ini16:34
NobodyCamcommand is in tox.ini I think16:34
NobodyCamhttps://github.com/openstack/ironic/blob/master/tox.ini#L4516:35
* BadCub updates pad with new bug(s)16:35
NobodyCamtiagogomes_: any firewalls? anything in the log about tftp requests?16:36
openstackgerritZhenguo Niu proposed openstack/ironic: Use node UUID in logs instead of node ID  https://review.openstack.org/16762316:36
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: Add DevStack plugin for ironic-discoverd  https://review.openstack.org/16478216:43
dtantsurfolks, I can barely believe myself, but seems like devstack support for discoverd started working somehow16:43
dtantsurand you can try it by following https://etherpad.openstack.org/p/DiscoverdDevStack16:43
tiagogomes_NobodyCam no firewalls, the tftp server didn't received any request16:44
tiagogomes_on tcpdump: 16:43:19.853798 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has onenode tell 192.168.100.18, length 4616:45
*** subscope has quit IRC16:47
NobodyCamhumm16:48
NobodyCamdtantsur: awesome!!!!!16:48
dtantsurifarkas, re rebooting in power off: there's no such written rule, but IIRC majority of drivers do handle this case properly (aka just power on)16:50
*** alexpilotti has joined #openstack-ironic16:50
dtantsurNobodyCam, devananda, your opinion ^^^16:50
ifarkasdtantsur, yeah, for the sake of consistency it should this way16:50
ifarkasdtantsur, maybe it should also be added somewhere in the docs16:51
dtantsurifarkas, makes sense to me. I will propose the patch, we'll see what people think16:52
ifarkasdtantsur, ack16:52
NobodyCamdtantsur: I'd have to test ipmitool will try and power off a node : https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/ipmitool.py#L67116:56
dtantsurNobodyCam, well, it works for me for some time already :)16:57
dtantsurwe had problems with DRAC driver16:57
JayFWTF? Something I put in the cleaning.rst apparently broke the docs build...16:57
JayFThe traceback is a mile long and includes little/no useful output16:57
NobodyCamdtantsur: ssh driver?16:57
NobodyCamJayF: :(16:58
lucasagomesdtantsur, w00t16:58
dtantsurNobodyCam, works for both ssh and ipmitool in my tests16:58
openstackgerritDmitry Tantsur proposed openstack/ironic: Explictly state that reboot is expected to work with powered off nodes  https://review.openstack.org/16842016:59
dtantsurNobodyCam, ifarkas, ^^^17:00
*** davide has joined #openstack-ironic17:00
NobodyCamcool!17:00
dtantsursmall docstring change to make it the official behavior17:00
NobodyCamya ssh has some funky sutff like: https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/ssh.py#L439-L44017:00
dtantsur(we don't have docs on how to write drivers, do we?)17:00
NobodyCamdtantsur: I think we do17:00
NobodyCamnoe sec17:00
ifarkasdtantsur, thanks!17:00
*** vdrok is now known as vdrok_afk17:02
NobodyCamdtantsur: I was wrong I was thinking about this: http://docs.openstack.org/developer/ironic/dev/vendor-passthru.html#writing-vendor-methods17:02
*** Marga_ has quit IRC17:03
NobodyCambrb17:12
*** anderbubble has quit IRC17:12
*** jerryz_ has quit IRC17:12
*** jistr has quit IRC17:13
devanandazigo_: ping17:13
*** jmccrory has joined #openstack-ironic17:14
devanandazigo_: nvm :)17:14
openstackgerritJay Faulkner proposed openstack/ironic: Add documentation for Cleaning  https://review.openstack.org/16818917:14
devanandadtantsur: yes, reboot of powered-off node should just work17:14
JayFaweeks: ^ that's what I wanted you to review, please17:14
aweeksJayF: looking17:15
*** kkoski has quit IRC17:15
devanandadtantsur: NobodyCam: afaik, no. we have some docs (possibly old) on the driver API and what the design goals of that API were, but not explicitly a "how to write a driver" doc17:15
devanandadtantsur: or if there is, it's recent and I haven't seen it yet17:15
dtantsurat least I haven't found it, so I proposed a change to docstring17:16
devanandaNobodyCam: fwiw, I think diskimage-builder is useful (and is actually being used) outside of tripleo now17:16
*** achanda has joined #openstack-ironic17:16
devanandadtantsur: cool, thanks17:16
*** achanda has quit IRC17:16
*** achanda has joined #openstack-ironic17:17
aweeksJayF: are you looking for just content, or also style comments?17:18
JayFaweeks: I'm looking to make the best doc possible17:19
dtantsurand now calling it a day/week! have a nice weekend17:19
*** dtantsur is now known as dtantsur|afk17:19
JayFaweeks: any suggestions that involve "rewrite most of it" will be ignored :P17:19
aweekslol17:19
* aweeks has a tendency to heavily rewrite anything he edits, so be warned17:19
JayFNote this is a review, not an edit :P17:19
aweekstouché17:20
JayFJoshNang: you probably want to look at https://review.openstack.org/#/c/168189/ to look over my changes17:20
*** ijw has quit IRC17:22
*** ndipanov has quit IRC17:25
NobodyCammorning devananda17:26
NobodyCam:-p17:26
NobodyCamdevananda: oh cool!17:26
devanandaNobodyCam: good afternoon17:26
NobodyCam:)17:26
BadCubheya devananda17:26
*** anderbubble has joined #openstack-ironic17:27
NobodyCamhave a good weekend dtantsur|afk17:28
*** ijw has joined #openstack-ironic17:30
*** bauzas is now known as bauwser17:30
*** anderbubble has quit IRC17:33
openstackgerritMerged openstack/python-ironicclient: Send version header by default  https://review.openstack.org/16555917:34
NobodyCamdevananda: ^^^^^ :)17:34
devanandawooot!17:34
devanandadid someone test that with stable/juno nova?17:35
lucasagomesdevananda, nop, but adam_g has a patch there17:35
lucasagomesto reset the version to 1.017:35
lucasagomesI think that was the plan no?17:35
devanandano17:35
devanandahttps://review.openstack.org/#/c/167038/17:35
NobodyCamadam_g: have this for stable juno https://review.openstack.org/#/c/167038/17:35
*** Marga_ has joined #openstack-ironic17:35
devanandai mean, yes, that's the plan17:35
devanandabut it hasn't merged yet17:35
lucasagomesyeah, becasue that was waiting #165559 to merge first17:36
devanandaso I still can't tag a release of the client without breaking stable/juno :(17:36
lucasagomesyeah :/17:36
NobodyCamdevananda: adam_g wip'd that waiting to see the outcome of https://review.openstack.org/#/c/16436917:36
lucasagomesthere's some stuff that needs to get merged first17:36
devanandaugh. no. that's NOT the right fix.17:36
lucasagomeshttps://review.openstack.org/#/c/164369/17:36
devanandait will work. but we'll still break any *existing* installations of Nova17:37
devanandaif they somehow update the version of python-ironicclient17:37
devanandaI'm not thrilled by that, but we need to move forard17:37
devanandaforward17:37
lucasagomes:/17:37
lucasagomesyeah it doesn't sounds good17:37
* devananda starts compiling changelog for the client17:37
lucasagomeswe should merge the dependent stuff soonish17:38
NobodyCamlucasagomes: got a free minute to take a look at 164369?17:38
lucasagomesNobodyCam, yup17:39
lucasagomesdevananda, hmm will that be equivalent to juno? I'm thinking about the JSON fields of the API17:40
lucasagomesthat merged in kilo17:40
lucasagomesthat wasn't supported by juno17:40
lucasagomesI thought we would kept the 1.1 to indicate that17:40
NobodyCamdevananda: if you could also take a quck look just to make sure my changes are still in line with what you had in mind.17:40
NobodyCamoh also while your still up! JayF found a issue with target_provision_state yesterday17:41
NobodyCamJayF: I've lost the link.. do you still happen to have the link for target_provision_state thing you found yesterday17:42
JayFhttp://logs.openstack.org/96/165496/2/check/check-tempest-dsvm-ironic-agent_ssh/4d11e22/console.html#_2015-03-24_19_33_03_04617:42
JayFNobodyCam: I was already fishing through my logs :D17:43
NobodyCamTY :)17:43
NobodyCamlol17:43
BadCubbrb17:44
aweeksJayF: commented17:47
JayFty17:47
devanandalucasagomes: which dependent stuff?17:47
*** spandhe has joined #openstack-ironic17:47
lucasagomesdevananda, https://review.openstack.org/#/c/137762/17:47
lucasagomesdevananda, if we meant Kilo 1.0 to be exactly like Juno17:47
lucasagomesthat won't be true17:47
lucasagomesbecause in Kilo we added support for other types of value on some attributes in our api17:48
lucasagomesthat is not supported by Juno17:48
*** pelix has quit IRC17:49
lucasagomesso one still can put a dict or a list in the Node.extra attribute for e.g with Kilo 1.017:49
lucasagomesbut not with Juno17:49
devanandalucasagomes: meh. it's not going to raise new or different errors for things that worked in Juno17:49
*** htrmeira has joined #openstack-ironic17:49
devanandalucasagomes: someone who thinks they're talking to Juno will get the results they expect17:49
lucasagomesdevananda, it will raise 200 if you try with Kilo 1.0 and 400 Juno17:49
devanandaright?17:49
lucasagomesno for things that worked with Juno it will work fine17:50
lucasagomesbecause juno just worked with strings and ints for those fields17:50
lucasagomesand those types still supported17:50
devanandayah. so it's not breaking17:50
lucasagomeswe just added more17:50
devanandaright17:50
lucasagomesyeah it's not breaking17:50
devanandaSO17:50
lucasagomesbut I wanted to point out that it's not 100% the same17:50
*** rsalevsky has left #openstack-ironic17:50
devanandawe collectively need to decide whether the right thing is a) only bump microversions for breaking changes, b) bump for any API change, c) something in between these17:50
JayFaweeks: great review, ty17:51
devanandalucasagomes: thanks. i htink it's fine17:51
aweeksJayF: my pleasure17:51
lucasagomesdevananda, yeah, to be honest. At first I thought it would be only for breaking changes17:51
lucasagomesbecause things like adding a new endpoint shouldn't break old versions17:51
lucasagomesit's just an addon17:52
lucasagomesbut apparently we are doing it for any API change17:52
lucasagomesso if we get to vote I'm more inclined to go with A)17:52
*** kbs has quit IRC17:52
*** kbs1 has joined #openstack-ironic17:53
devanandalucasagomes: see, adding a new endpoint without bumping it kinda bothers me, if I can't discover that it's there17:53
devanandalucasagomes: one of the things that some REST APIs do is actually return the whole schema from eg, /v1/schema17:54
devanandalucasagomes: so that a client can actually discover what end points are there17:54
devanandaI think we should do that. will make me much happier about going with (A)17:54
NobodyCamdevananda: lucasagomes: should we add that question to the agenda for the next meeting?17:55
lucasagomesdevananda, yeah the schema is a good idea17:55
lucasagomeswe should add support for tht17:55
devanandaNobodyCam: probably to the summit discussion on APIs17:55
lucasagomesthat*17:55
NobodyCamdevananda: ack17:55
devanandathe next few meetings should continue to focus on bugs and summit planning17:55
lucasagomesNobodyCam, hmm wouldn't do any harm17:55
lucasagomesbut it's really something that we need to discuss deep17:55
lucasagomesAPI is something that if you break it's very annoying17:55
NobodyCamya so summit is best17:55
lucasagomesand users will hate us17:55
*** derekh has quit IRC17:56
NobodyCamdevananda: added to https://etherpad.openstack.org/p/liberty-ironic-design-summit-ideas17:57
devanandaNobodyCam: ty17:57
NobodyCamoh devananda did you see lucasagomes question ealier?17:58
NobodyCam14:30 | lucasagomes > devananda, r u around? maybe you can take a look at mrda comments on https://review.openstack.org/#/c/165666 ?17:58
lucasagomesand folks I will call it a day17:58
NobodyCamhave a great weekend lucasagomes17:58
lucasagomesoh yeah17:58
jlvillallucasagomes: Good night17:58
lucasagomesdevananda, specially because u understand dbs very well17:58
* devananda looks17:58
NobodyCammorning jlvillal :)17:59
jlvillalNobodyCam: Thanks :)17:59
openstackgerritJay Faulkner proposed openstack/ironic: Add documentation for Cleaning  https://review.openstack.org/16818917:59
JayFaweeks: ^17:59
lucasagomesjlvillal, night :)17:59
lucasagomessee y'all later, enjoy the weekend17:59
* jlvillal wonders if NobodyCam has a WeeChat script that says good morning ;)17:59
devanandalucasagomes: ciao!17:59
NobodyCamnope.. lol17:59
jlvillalNobodyCam: Your very fast!17:59
*** lucasagomes is now known as lucas-beer17:59
devanandaNobodyCam, lucas-beer: what's the db concern on 165666?18:00
lucas-beerdevananda, AFAIUI the tests doesn't work18:00
NobodyCamjust basic irssi with only a changed theme otherwise stock out of the box18:00
lucas-beerbut the migration script does18:00
devanandaoh18:00
lucas-beerwhich makes me wonder, whether it's because of the tests itself18:00
devanandathere's no migration test18:00
lucas-beeror some different db backend18:00
lucas-beerit's sounds risky to me18:00
lucas-beerdevananda, yeah that's my -1 there18:01
lucas-beercause there's no tests18:01
devanandajenkins passed the unit test changes18:01
devananda but yah. no db migration test18:01
*** andreykurilin_ has joined #openstack-ironic18:02
lucas-beeralright I'll step out18:02
lucas-beersee y'all!18:02
NobodyCamdevananda: also see also see irc chat http://eavesdrop.openstack.org/irclogs/%23openstack-ironic/%23openstack-ironic.2015-03-26.log starting around 22:01:1718:03
NobodyCamg'night lucas-beer18:03
devanandaI see18:04
aweeksJayF: reviewed18:13
JoshNangaweeks: thanks!18:14
aweeksnp18:14
NobodyCamoh hey JoshNang18:14
NobodyCamwanted to ask about the 600 second time out on 16817518:15
NobodyCamis that needed for gate tests :(18:15
JoshNangNobodyCam: no no no18:15
NobodyCamphew :-p18:16
JoshNangNobodyCam: i was just trying to find if it was an error in the code and/or what the proper timeout would be18:16
devanandaNobodyCam: patch tested and reviewed18:16
JoshNangtrying to run tempest locally to do more testing18:16
openstackgerritJay Faulkner proposed openstack/ironic: Add documentation for Cleaning  https://review.openstack.org/16818918:16
NobodyCamack... :)18:16
NobodyCamTY devananda :)18:17
devanandaNobodyCam: looks like it needs a tiny bit more work; i'm fine landing it soon and fixing the migration test situation following that18:17
JayFaweeks: fixed 2, disagreed about having the info about how to add steps to drivers, as that doc is currently targeted at deployers/operators and not developers18:17
NobodyCamack :)18:17
aweeksJayF: yeah, that's reasonable18:17
JayFaweeks: IMO if drivers want to document how to add steps, they can (and I will add that when we get agent docs)18:17
*** ijw has quit IRC18:17
NobodyCamTy devananda :)18:17
NobodyCamwe'll make it happen while you running all over the EU :-p heheheh j/k18:18
NobodyCams/you/your/18:18
NobodyCam:-p18:18
aweeksJayF: giving it one final read over18:18
JayFaweeks: you should also review it in it's rendered form if you haven't18:18
aweeksJayF: ah, where would I find that?18:19
JayFaweeks: either wait a while for tests to run or tox -egendocs on that branch and file:///path/to/ironic/doc/build/18:19
aweekskk18:19
JayFaweeks: where, given the time and how many patchsets I've pushed "a while" can be a REALLY LONG TIME18:19
devanandasomething ya'll may be interested in (one of the outputs from this week of running all over the EU :P ) -- https://github.com/devananda/python-redfish18:19
aweeksheh, ok18:19
devanandaall hail our new RESTful BMC overlords18:20
NobodyCamoh cool beans18:21
* NobodyCam has to read 18:21
* devananda drops offline to give a presentation to the local meetup group18:21
NobodyCamenjoy the weekend devananda :)18:21
NobodyCambrb18:22
*** hp-hj has joined #openstack-ironic18:23
*** hj-hp has quit IRC18:24
*** ifarkas has quit IRC18:25
*** hp-hj has quit IRC18:26
*** hp-hj has joined #openstack-ironic18:27
aweeksJayF: +1ed18:28
JayFwoo18:28
*** penick has joined #openstack-ironic18:31
*** enikanorov has quit IRC18:32
*** Sukhdev has joined #openstack-ironic18:32
SukhdevIronic folks, I have a need to access the ironic DB from the Neutron ML2 driver - any suggestion as to what is the best way to go?18:33
JayFThat's not reasonable at all, I don't think18:34
JayFI would never give Ironic DB creds to my Neutron driver18:34
JayFWhat are you trying to do? There should be a way to make it work using API calls18:34
*** penick_ has joined #openstack-ironic18:35
SukhdevJayF: I need to get the port information (the mac address and extra dict) from the Ironic port18:35
openstackgerritJay Faulkner proposed openstack/ironic: Add documentation for Cleaning  https://review.openstack.org/16818918:35
JayFSukhdev: that can be gotten with an API call18:35
SukhdevJayF: can you please suggest the cleanest way?18:36
JayFjlvillal: JoshNang aweeks ^ Fixed jlvillal and aweeks's comments, would love to get your votes back18:36
*** ijw has joined #openstack-ironic18:36
*** penick has quit IRC18:36
*** penick_ is now known as penick18:36
JayFSukhdev: on an Ironic node object, there are ports attached. Query the node, get the ports for the node, then query the ports18:36
JayFyou'll get the port information returned18:36
*** htrmeira has quit IRC18:37
jlvillalJayF: done18:37
JayFty18:37
SukhdevJayF: I do not have node Id. All I have is mac address of the port - I saw in the models.py, there is method to get get_port_by_address() - wanted to use this method to get the extra dict info18:38
JayFAh, so you have a MAC address, you need to map it back to a node18:38
JayFhm.18:38
SukhdevJayF: correct18:38
*** ijw_ has joined #openstack-ironic18:39
NobodyCamcan port filter by mac?18:39
JayFNobodyCam: it totally exists as a vendor_passthru18:39
JayFbecause this is how Agent looks up its node18:39
NobodyCam:)18:39
JayFSukhdev: would an API call that gave you a node for a mac work?18:39
JayFSukhdev: you give the macs, get the node back, then query the port object from there?18:39
JayFhttps://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/ironic_api_client.py#L9318:40
SukhdevJayF: In neutron ML2 driver, I have mac address of the port of the BM server, want to get the connectivity information - which lives in extra dict18:40
NobodyCamJayF: seems like that a useful thing, are there plans U.S. it?18:40
JayFYeah, so what you do is call vendor_passthru lookup like IPA does in that code ^ I just linked18:40
JayFthen query the node object returned, it'll have the port objects attached, then just get those18:40
JayFNobodyCam: U.S. ?18:41
JayFNobodyCam: that is upstream18:41
NobodyCamya18:41
NobodyCamjust saw that18:41
JayFlol18:41
NobodyCam:-p18:41
NobodyCamits friday18:41
* NobodyCam is slow18:41
JayFthat's actually one thing we should think about18:41
JayFI guess it doesn't matter though, only API call IPA makes is lookup18:41
JayFso microversioning doesn't matter, because lol vendor passthru18:42
* BadCub adds cleaning doc to review-day pad & slaps it with a +118:42
JayFthat's likely something that can be upgraded out of passhtru and just added to the API18:42
SukhdevJayF: in order to use iornic API - I was trying to use client_wrapper class - is that a wrong way to go?18:42
*** ijw has quit IRC18:42
NobodyCamJayF: ya in L :)18:42
JayFSukhdev: I don't know what you're talking about, but when I've needed to talk to Ironic API I've used ironicclient.18:42
JayFpython-ironicclient18:42
SukhdevJayF: this is what I was trying to use - https://github.com/openstack/nova/blob/master/nova/virt/ironic/client_wrapper.py#L3418:44
JayFPerfect, that uses the ironicclient under the hood18:44
JayFand has all the code to cache tokens and do reasonable retries18:45
SukhdevJayF: would I have issue with the credentials for using python-ironicclient, when I am using it from neutron driver?18:46
JayFYou'd have to have valid credentials to use Ironic if auth is enabled, yes18:46
JayFWhether or not you can reuse whatever creds Neutron uses for other things seems like an operational config question18:46
SukhdevJayF: Is there a utility in ironic that will give me the admin credentials?18:47
JayFThis is typical openstack auth; we use keystone18:47
JayFSo you'd just have to have a keystone user with the proper role18:48
SukhdevJayF: Is there admin role contex available in Ironic - something similar to Neutron18:50
Sukhdev^context^18:51
JayFhttps://github.com/openstack/ironic/blob/master/etc/ironic/policy.json18:51
SukhdevJayF: as an example, this is how I access Neutron DB without going through API and avoiding the whole credential issue - https://github.com/stackforge/networking-arista/blob/master/networking_arista/common/db_lib.py#L31518:52
SukhdevJayF: the link which you gave me will not give the current admin context - I do not think so18:53
JayFYou have to make calls to Ironic; it's a separate API service. Your code won't even be running on the same machines as Ironic.18:53
JayFNobodyCam: ^ do you know a basic guide for OpenStack SOA that could help Sukhdev18:53
SukhdevJayF: I am assuming Ironc DB will be on the controller - and If I can peek into it, that would do the job18:54
JayFThat's a terrible assumption18:54
JayFand as someone who runs Neutron and Ironic in production, there's no way I'd ever give direct access to my Ironic DB to Neutron or a neutron plugin18:55
JayFthat's just not how service oriented things work18:55
SukhdevJayF: Understood -18:55
NobodyCamhummm18:57
NobodyCamJayF: maybe https://github.com/openstack/api-site19:00
NobodyCam???19:00
JayFmaybe19:01
NobodyCamSukhdev: take a look at ^^^^19:01
NobodyCamalso https://wiki.openstack.org/wiki/Documentation/HowTo/FirstTimers19:01
SukhdevNobodyCam: Will do - thanks19:02
NobodyCammay be a starting point19:02
NobodyCam:)19:02
* NobodyCam is going to step away for a bit for a hairs cutting :-p19:02
SukhdevNobodyCam: I am familiar with Neutron and Nova APIs and their DB models and I am able to pull the admin credentials and access the DB.19:03
* BadCub does too19:03
NobodyCamSukhdev: i would recamend not going direct to the DB19:04
NobodyCamback in a bit..19:04
SukhdevNobodyCam: can you suggest a painless way to get the credentials to be able to use Ironic API (I want to do it from the driver)19:05
SukhdevNobodyCam: NP - thanks19:05
*** tiagogomes_ has quit IRC19:06
*** alexpilotti has quit IRC19:07
*** kkoski has joined #openstack-ironic19:15
*** jmccrory has quit IRC19:26
*** andreykurilin__ has joined #openstack-ironic19:35
*** andreykurilin_ has quit IRC19:35
*** igordcard_ has joined #openstack-ironic19:35
clif_hfor the agent driver, it looks like deploy_kernel and deploy_ramdisk control which images get loaded for the agent19:36
*** devlaps has quit IRC19:36
clif_hcan I manually change those on a created node and then ironic will pull the images I want?19:37
clif_hor will it still use value from node creation time? I'm sure I can do an experiment and find out, but if someone knows off the top of their head..19:37
JayFI think you should change it, stop conductor and remove pxe configs, start conductor19:38
JayFthere are likely ways that are ... less brutal ... to get it to pull down the other ramdisk19:38
JayFbut I don't know them :)19:38
clif_hremove pxe configs?19:39
JayFthe ones Ironic writes19:40
JayFlikely in /tftpboot/, but I'm not 100% sure for devstack19:40
JoshNang/opt/stack/data/ironic/tftpboot19:41
clif_hJoshNang: thanks19:41
JoshNangclif_h: np. if you figure out an easier way to get a new agent image in than restacking, i'll be grateful19:42
clif_hwhat format are the agent images in that ipa creates?19:42
JayFthink of them as like a kernel/initrd19:42
JayFbasically a kernel + a CPIO archive that holds the root fs19:42
clif_hwell, when I create an image in glance, don't I have to tell it?19:43
clif_hor will it detect on its own?19:43
JayFclif_h: I got it for you, 1s19:44
JayFhttps://github.com/openstack-dev/devstack/blob/master/lib/ironic#L72319:44
JayFthat's the method in devstack that builds + uploads the images to glance19:44
JayFyou should be able to glean the command to run from there19:44
clif_haha19:45
clif_hyep, thanks19:45
JayFline 771 looks like exactly what you want19:45
clif_hI should've looked at devstack19:45
JayFIt's fine, we should have all this stuff documented19:45
JayFJoshNang: any success with agent tempest?19:45
JoshNangJayF: got distracted working on/testing nits19:46
JayFah.19:46
JayFJust curious if you want to parlay this conversation about how agent things happen into starting on agent doc19:46
JayFthat's what I'm going to do after lunch19:46
JoshNangi'm gonna keep cranking on this19:47
JoshNangdeadlines and such19:47
JayFyeah igi19:47
*** andreykurilin__ has quit IRC19:57
*** jmccrory has joined #openstack-ironic19:58
*** jmccrory1 has joined #openstack-ironic20:01
*** jmccrory has quit IRC20:03
*** jmccrory1 has quit IRC20:06
*** jmccrory has joined #openstack-ironic20:06
jrollSukhdev: curl $IRONIC_API_URL/v1/ports/detail?address=00:11:22:33:44:5520:07
*** mjturek1 has quit IRC20:08
*** achanda has quit IRC20:08
JayFjroll: we added a real API endpoint for that? nice20:08
jrollwe've had it for a while iirc20:09
JayFwin 4020:09
JayFoops20:09
jrollheh, this is 40 for me20:10
JayFyou can use timing to guess which one is 40 for me20:11
JayFthis is 7 for me20:11
jroll:P20:12
*** achanda has joined #openstack-ironic20:12
openstackgerritPierre Riteau proposed openstack/python-ironicclient: Add support for filtering nodes by chassis UUID  https://review.openstack.org/16796420:13
*** mjturek1 has joined #openstack-ironic20:17
*** priteau has quit IRC20:20
*** lucas-beer has quit IRC20:24
openstackgerritJohn L. Villalovos proposed openstack/python-ironicclient: Add unittests for resrource_fields  https://review.openstack.org/16847620:32
*** Sukhdev has quit IRC20:32
openstackgerritJohn L. Villalovos proposed openstack/python-ironicclient: Add unittests for resource_fields  https://review.openstack.org/16847620:32
*** athomas has quit IRC20:34
*** achanda has quit IRC20:43
*** achanda has joined #openstack-ironic20:50
*** spandhe has quit IRC21:00
-openstackstatus- NOTICE: Gerrit maintenance commences in 1 hour at 22:00 UTC http://lists.openstack.org/pipermail/openstack-dev/2015-March/059948.html21:00
*** spandhe has joined #openstack-ironic21:02
*** pas-ha has quit IRC21:03
*** dprince has quit IRC21:06
*** achanda has quit IRC21:07
*** absubram has quit IRC21:11
*** absubram has joined #openstack-ironic21:12
jlvillalBadCub: Is https://review.openstack.org/#/c/157602/ being tracked?21:18
jlvillalBadCub: I was just curious if that was one that has to wait for Liberty or not.21:19
* BadCub looks21:19
BadCubjlvillal: it doesn't appear to be a new feature. I tend to agree with the notes21:20
*** Marga_ has quit IRC21:21
jlvillalBadCub: Thanks.  Seems like a good fix to me :)21:21
*** trown is now known as trown|outttypeww21:21
BadCubjlvillal: it does to me as well21:21
*** achanda has joined #openstack-ironic21:27
*** saripurigopi has quit IRC21:31
*** jcoufal has quit IRC21:41
*** spandhe has quit IRC21:44
*** Marga_ has joined #openstack-ironic21:46
*** ChuckC has quit IRC21:56
*** kkoski has quit IRC21:57
*** sambetts has quit IRC22:01
-openstackstatus- NOTICE: Gerrit is offline for maintenance, ETA 22:30 UTC http://lists.openstack.org/pipermail/openstack-dev/2015-March/059948.html22:04
*** ChanServ changes topic to "Gerrit is offline for maintenance, ETA 22:30 UTC http://lists.openstack.org/pipermail/openstack-dev/2015-March/059948.html"22:04
*** sambetts has joined #openstack-ironic22:04
JayFAnyone around in channel who knows things about our doc build?22:06
JayFTrying to port the Ironic sphinx build to IPA (to build dev docs) and not having any success22:06
NobodyCami know we have a thing that does it22:07
JayFI have the build running in IPA, but it's erroring out in a ... unhelpful way22:07
NobodyCamwhat are you getting?22:08
JayFI think I may just need an index.rst22:09
NobodyCamyour doing somehting like python setup.py build_sphinx ?22:09
JayFlet me try this and if it doesn't work I'll push up my WIP and gist the output22:09
JayF  gendocs: commands succeeded22:10
JayF\o/22:10
JayFnow to see if it's readable at all22:10
JayFgive me about 5m and I'll have something useful to post and wip, I got the build working and I think I understand what it's doing... maybe.22:11
NobodyCamwoo hoo22:12
JayFI was just thinking, agent docs shoudl be in the agent, re: docs on how to build hardware managers and similar22:12
JayFagent *driver and config* docs should go in Ironic22:12
JayFso first real step to agent docs == build the dev docs we already have22:13
NobodyCam:) yay for docs...22:13
NobodyCamlol if I understand BadCub will be looking into our docs to see what needed. ;p22:14
NobodyCamI.e. I don't think we have anything writtend down on the iboot powerdriver22:14
*** spandhe has joined #openstack-ironic22:16
* BadCub thinks everyone needs docsw just because22:17
JayFdoh22:17
JayFI can't push my docs wip[22:17
JayFbecause gerrit22:17
BadCubdocs even lol22:17
NobodyCamdoh22:18
NobodyCamlol22:18
BadCubdocs are good for the soul! *WG*22:18
*** ChuckC has joined #openstack-ironic22:20
*** kkoski has joined #openstack-ironic22:23
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: WIP: Initial commit of support for docs build  https://review.openstack.org/16850322:24
NobodyCamoh gerrit back?22:24
JayFthey just said "gerrit is back, lets start zuul" in -infra, so I tried git-review again22:24
BadCubnice22:25
NobodyCam:)22:25
*** ChuckC has quit IRC22:25
*** ChuckC has joined #openstack-ironic22:26
*** spandhe has quit IRC22:28
*** anderbubble has joined #openstack-ironic22:29
*** achanda_ has joined #openstack-ironic22:31
JayFNobodyCam: question for you bro, proxying for clif_h22:32
NobodyCamlol really:  It's an agent! Hooray! "-p22:32
NobodyCamhehehe22:32
JayFNobodyCam: We need a console in one of the devstack vm-baremetal-nodes22:32
JayFNobodyCam: note the "WIP" part of that :P22:32
NobodyCamlol22:32
*** ChanServ changes topic to "Bare Metal Provisioning | Status: http://bit.ly/ironic-whiteboard | Docs: http://docs.openstack.org/developer/ironic/ | Bugs: https://bugs.launchpad.net/ironic"22:33
NobodyCamI tend to just open the local kvm mgnt tool and click console22:33
NobodyCambut I expect your looking for more then that22:33
JayFWell most of us rackers run our devstacks in the cloud22:34
JayFso there's not a local kvm management tool :)22:34
NobodyCamahh I have my taco laptop22:34
*** achanda has quit IRC22:34
clif_hNobodyCam: I try to use say, virsh console <bm_vm_name>, and it says error: internal error: character device <null> is not using a PTY22:34
NobodyCamso shellnabox stuff?22:34
NobodyCamahh22:35
NobodyCamdib build image?22:35
clif_hdib?22:35
NobodyCamhttp://wiki.libvirt.org/page/Error_%22internal_error_cannot_find_character_device%22_when_trying_to_connect_a_domain's_console22:36
*** achanda_ has quit IRC22:36
NobodyCamdisk image builder?22:36
clif_hit shows a serial port on port 122:37
clif_hcan I not just use that22:37
*** jcoufal has joined #openstack-ironic22:38
NobodyCamthe tripleo scripts do this: https://github.com/openstack/tripleo-incubator/blob/master/scripts/configure-vm#L120-L12822:38
JayFThere's def a way built-in to devstack to get the consoles22:39
JayFwith no modification needed beyond that which is done in devstack-gate22:39
JayFadam_g: don't happen to be around, do you? ^ I feel like this is a question you know the answer to immediately22:39
*** spandhe has joined #openstack-ironic22:44
NobodyCamJayF: lol http://docs.openstack.org/user-guide/content/instance_console.html22:44
* NobodyCam *ducks*22:45
JayFhonestly, it never occurred to me to think to use the api for the console22:46
JayFheh22:46
JayFclif_h: ^ maybe try that? Get the console URL from nova and tunnel to ti?22:46
clif_hvnc?22:47
clif_hwow22:47
clif_hthrough nova?22:48
clif_hI'm not provisioning nodes through nova22:48
JayFYep, Ironic got support for it22:48
JayF...22:48
JayFoh, that's right :(22:49
clif_hI'm making calls to cache the image directly to ironic22:49
clif_hwhich does the pxe boot stuff22:49
JayFthere's an Ironic API endpoint to get the console working, but it occurs to me it might not be implemented by the ssh driver22:49
JayFyou're right, bah, nevermind the crummy advice22:49
clif_hit's ok, thanks for trying22:49
clif_hmy motivation meter for the day is almost toast though, so I'll probably hang it up until monday22:50
*** kbs1 has quit IRC22:51
NobodyCam:)22:52
*** mark-lk has joined #openstack-ironic22:55
*** kbs has joined #openstack-ironic23:01
*** jmccrory has quit IRC23:06
*** kkoski has quit IRC23:25
openstackgerritJosh Gachnang proposed openstack/ironic: Add agent cleaning reboot and fix nits  https://review.openstack.org/16819723:30
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Add sphinx build + basic documentation  https://review.openstack.org/16850323:33
JayF^ that is potentially landable23:33
*** mark-lk has quit IRC23:33
JayFuntil someone figures out the long list of things I did wrong with the build23:33
JayFheh23:33
*** mark-lk has joined #openstack-ironic23:34
NobodyCam:-p23:35
openstackgerritHaomeng,Wang proposed openstack/ironic: Fix UnicodeEncodeError issue when the language is not en_US  https://review.openstack.org/16826823:38
openstackgerritJosh Gachnang proposed openstack/ironic: Enable cleaning by default  https://review.openstack.org/16549623:40
*** anderbubble has quit IRC23:47
*** andreykurilin_ has joined #openstack-ironic23:47

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