Thursday, 2015-12-10

*** aginwala has quit IRC00:01
openstackgerritSinval Vieira Mendes Neto proposed openstack/ironic: Improving capabilities_to_dict and adding helpful tests  https://review.openstack.org/25497200:03
*** alexpilotti has joined #openstack-ironic00:03
openstackgerritNisha Agarwal proposed openstack/ironic: Add documentation for Swiftless deploy  https://review.openstack.org/24189300:05
NobodyCamyes00:06
*** Sukhdev_ has joined #openstack-ironic00:06
*** aginwala has joined #openstack-ironic00:06
*** ChubYann has quit IRC00:07
*** naohirot has joined #openstack-ironic00:07
*** chlong has quit IRC00:09
NobodyCamI like #1 contrib dir :)00:11
NobodyCamI feel it help keep the community as a whole in touch with how their work is being used,00:13
NobodyCamhelps*00:13
*** ijw has joined #openstack-ironic00:14
devanandajroll: a comment on lucas-dinner' "indexable JSON fields" spec just made me think of something scheduler / claims related00:15
*** rajathagasthya has quit IRC00:15
devanandajroll: scheduling based on compute capabilities filter00:16
devanandahave I already brought this up?00:16
NobodyCam++++00:16
jrolldevananda: I believe so?00:16
jrollwe're planning on allowing capabilities00:17
jrollwe even talked abuot making that filter a library in tokyo00:17
devanandajroll: making it a library implies using it across projects00:20
jrollwell, the point was the incomprehensible code00:20
*** ChubYann has joined #openstack-ironic00:21
devanandajroll: https://github.com/openstack/nova/blob/master/nova/scheduler/filters/compute_capabilities_filter.py#L3300:22
devanandait's incomprehensible -- but its inputs are not things that Ironic has00:23
jrolldevananda: right, we make it take arguments and pass in what we need00:24
devanandajroll: except no one wants to change that code in nova00:25
jrolldevananda: surely it's refactorable00:26
devanandai mean, no one is willing to take the risk of changing it00:26
devanandanope00:26
devanandaI'm not00:26
devanandaI'm not going to try refactoring it again00:26
jrollsigh00:27
openstackgerritYuiko Takada proposed openstack/ironic: Migrate Tempest tests into Ironic tree  https://review.openstack.org/25398200:31
jrolldevananda: so what are you trying to say then?00:31
devanandajroll: dunno. that it's cider-o'clock?00:39
jrolls/cider/whiskey00:41
jroll:)00:41
devananda++00:41
openstackgerritNisha Agarwal proposed openstack/ironic: Add documentation for user inputs as HTTPS URLs  https://review.openstack.org/24277100:42
*** rajathagasthya has joined #openstack-ironic00:53
*** aginwala has quit IRC00:56
*** garthb has quit IRC00:57
*** sinval has quit IRC01:01
*** chlong has joined #openstack-ironic01:05
*** aginwala has joined #openstack-ironic01:06
JayFWriting some downstream hardware manager tests when I discover ipa.extensions.get_clean_steps doesn't always return clean steps in a consistent order01:08
JayF:(01:08
JayFis that something we'd consider a bug and want to fix?01:08
*** yuanying_ has joined #openstack-ironic01:09
*** yuanying_ has quit IRC01:09
*** yuanying has quit IRC01:11
*** zhenguo has joined #openstack-ironic01:13
*** Sukhdev_ has quit IRC01:15
*** rajathagasthya has quit IRC01:17
*** chlong has quit IRC01:23
*** mtanino has quit IRC01:23
*** yuanying has joined #openstack-ironic01:23
*** rajathagasthya has joined #openstack-ironic01:24
*** rajathagasthya has quit IRC01:28
*** Sukhdev has joined #openstack-ironic01:30
*** chenke__ has quit IRC01:40
*** chenke__ has joined #openstack-ironic01:41
*** smoriya has joined #openstack-ironic01:42
*** alexpilotti has quit IRC01:47
*** jamielennox|away is now known as jamielennox01:48
*** aginwala has quit IRC01:48
*** zhenguo has quit IRC01:54
*** boris-42_ has quit IRC01:54
*** dolphm has quit IRC01:54
*** johnthetubaguy has quit IRC01:54
*** dolphm has joined #openstack-ironic01:54
*** zhenguo has joined #openstack-ironic01:55
*** boris-42_ has joined #openstack-ironic01:56
*** rajathagasthya has joined #openstack-ironic01:56
*** johnthetubaguy has joined #openstack-ironic01:57
*** Sukhdev has quit IRC01:58
*** rcernin has quit IRC02:01
*** aginwala has joined #openstack-ironic02:03
*** davidlenwell has quit IRC02:10
*** jdk has joined #openstack-ironic02:13
openstackgerritRuby Loo proposed openstack/ironic: Add FSM.is_stable() method  https://review.openstack.org/25564002:13
*** davidlenwell has joined #openstack-ironic02:13
*** rloo has quit IRC02:13
jdkTheJulia: I found this on ipxe.org http://ipxe.org/howto/chainloading#uefi   I think that explains why chainloading wasn't working today in UEFI mode.02:14
jdkTheJulia: I suggest that you make some mention of this in the readme02:14
openstackgerritRuby Loo proposed openstack/ironic: Add FSM.is_stable() method  https://review.openstack.org/25564002:18
*** jdk has left #openstack-ironic02:19
*** hoangcx has joined #openstack-ironic02:24
*** links has joined #openstack-ironic02:33
*** thanhnt-z has joined #openstack-ironic02:37
*** aginwala has quit IRC02:38
*** baoli has joined #openstack-ironic02:43
*** chlong has joined #openstack-ironic02:44
*** aginwala has joined #openstack-ironic02:44
openstackgerritZhenguo Niu proposed openstack/ironic-specs: Console ports allocation management  https://review.openstack.org/24987602:46
*** praneshp has quit IRC02:55
*** aginwala has quit IRC03:02
*** rajathagasthya has quit IRC03:03
*** boris-42_ has quit IRC03:03
*** aginwala has joined #openstack-ironic03:06
*** aginwala has quit IRC03:10
*** ijw has quit IRC03:13
jlvillalnaohirot, I just commented in the patch03:15
jlvillalnaohirot, Basically asking if your development environment might be named 'localhost'03:16
*** yuanying has quit IRC03:19
*** Haomeng|2 has quit IRC03:28
*** Haomeng|2 has joined #openstack-ironic03:28
*** Sukhdev has joined #openstack-ironic03:31
*** yuanying has joined #openstack-ironic03:37
*** baoli has quit IRC03:39
*** praneshp has joined #openstack-ironic03:50
*** praneshp has quit IRC03:57
*** praneshp has joined #openstack-ironic03:58
*** kkoski has quit IRC03:59
*** yuanying has quit IRC04:02
*** changzhi has joined #openstack-ironic04:03
*** davidlenwell has quit IRC04:06
*** yuanying has joined #openstack-ironic04:06
naohirotjlvillal: Hi, I was out for lunch.04:07
*** praneshp_ has joined #openstack-ironic04:08
*** davidlenwell has joined #openstack-ironic04:09
*** praneshp has quit IRC04:11
*** praneshp_ is now known as praneshp04:11
jlvillalnaohirot, Hey there04:13
jlvillalnaohirot, I hope your lunch was good :)04:13
naohirotjlvillal: Yeah, it was good, and started sleepy noon :)04:14
jlvillalnaohirot, :)04:14
jlvillalnaohirot, Did my comments make sense?04:14
jlvillalnaohirot, Is your development environment named 'localhost'?04:14
naohirotjlvillal: Yes, I'm just writing reply to you and tan.04:15
jlvillalOkay, thanks04:15
jlvillalnaohirot, I'm going to go to sleep. Thanks for working on this!04:15
naohirotjlvillal: My env, hostname is ubuntu and fqdn is localhost04:15
jlvillalnaohirot, That would cause the issue :)04:16
jlvillalI think my suggested fix will work.04:16
naohirotjlvillal: My dev is in the private network, so I don't use dns.04:16
* jlvillal thinks that for all of his suggested fixes :)04:16
jlvillalnaohirot, Makes sense.04:16
jlvillalnaohirot, I think this is not unusual. So I think a fix would be good too.04:17
naohirotjlvillal: did you already submit a patch?04:17
jlvillalnaohirot, If you do the fix for 'localhost' please update the commit message.04:17
jlvillalnaohirot, No. I just think my proposed fix will work.04:17
jlvillalnaohirot, I'll let you test it, if you like :)04:17
jlvillalnaohirot, Proposed as in I put a comment with an idea in your patch.04:18
*** praneshp_ has joined #openstack-ironic04:18
jlvillalnaohirot, Have a good day.04:18
naohirotjlvillal: Oh, I just read your comment in generator.py04:18
jlvillalnaohirot, That's the one! :)04:19
* jlvillal gets ready for bed.04:19
jlvillalnaohirot, Good night04:19
naohirotjlvillal: I think your suggestion certainly fix so as not to generate 'ironic'.04:19
*** praneshp has quit IRC04:19
*** praneshp_ is now known as praneshp04:19
jlvillalnaohirot, Great. I think using 'localhost' is not that unusual with development environments. So I think a good thing to fix04:20
jlvillalnaohirot, bye04:20
naohirotjlvillal: wait, but do you have any idea why the current code generate 'ironic'?04:20
jlvillalnaohirot, Yes04:20
jlvillalnaohirot, Because your system is named 'localhost'04:20
naohirotjlvillal: No no04:21
jlvillalAnd the default value is 'localhost'04:21
jlvillalfqdn is localhost04:21
jlvillalThat also works04:21
jlvillalIf either is localhost then it matches04:21
naohirotjlvillal: why does the current specification of this generator need to set 'ironic' as a host name?04:21
jlvillalnaohirot, It is trying to fix things if the user had set it to their current system name.04:22
jlvillalnaohirot, I wouldn't change that part of the logic.04:22
naohirotjlvillal: why does the author of this code choose 'ironic' as a host name?04:22
jlvillalnaohirot, I don't know the history.04:22
jlvillalnaohirot, I was going with the simplest solution.04:23
jlvillalnaohirot, I have to go now.04:23
naohirotjlvillal: that's the reason I hesitate to change 'ironic' to just 'localhost'04:23
jlvillalnaohirot, I need sleep.... :)04:23
jlvillaljlvillal, That is not what I suggested04:23
jlvillalnaohirot, I suggested adding an 'elif' statement04:23
naohirotjlvillal: Yeah, thanks!! have a good night, I'll reply to you in the gerrit :)04:24
jlvillalnaohirot, So it would perform the same on a system with a real FQDN/hostname as it does if the system has either a FQDN/hostname of 'localhost'04:24
jlvillalCiao04:25
naohirotjlvillal: gn :-)04:25
*** amotoki has quit IRC04:25
changzhihi, all. I boot a vm by using "nova boot --image xx --flavor xx --nic net-id=xx --key-name new test3". when the machine boot up, i want to login the machine. I use the command "ssh -i ~/.ssh/id_rsa.pub root@10.0.0.205" why it let me input password??04:32
changzhithe nova keypair named "new" is generated by "nova keypair-add --pub-key ~/.ssh/id_rsa.pub new"04:33
*** kozhukalov_ has joined #openstack-ironic04:37
*** hoangcx has quit IRC04:43
openstackgerritvinay kumar muddu proposed openstack/proliantutils: Made changes to avoid creating objects every time a RIBCL/RIBS operation is requested  https://review.openstack.org/25567004:44
openstackgerritvinay kumar muddu proposed openstack/proliantutils: Made changes to avoid creating objects every time a RIBCL/RIBS operation is requested  https://review.openstack.org/25567104:44
*** hoangcx has joined #openstack-ironic04:45
*** kkoski has joined #openstack-ironic05:00
*** ijw has joined #openstack-ironic05:01
*** ijw_ has joined #openstack-ironic05:03
*** ijw has quit IRC05:03
*** kkoski has quit IRC05:04
*** kozhukalov_ has quit IRC05:28
*** amotoki has joined #openstack-ironic05:30
openstackgerritMerged openstack/bifrost: Correct DHCP configuration examples  https://review.openstack.org/25552405:42
openstackgerritSyed Ismail Faizan Barmawer proposed openstack/ironic: Refactor disk partitioner code from ironic and use ironic-lib.  https://review.openstack.org/18444305:42
*** ijw_ has quit IRC05:51
*** yonglihe has quit IRC05:51
*** saripurigopi has joined #openstack-ironic05:57
*** greghayn1 has joined #openstack-ironic05:57
saripurigopimorning all05:57
*** greghaynes has quit IRC05:58
*** greghayn1 is now known as greghaynes05:58
*** greghaynes has quit IRC05:59
*** greghaynes has joined #openstack-ironic06:00
*** aginwala has joined #openstack-ironic06:00
*** links has quit IRC06:01
*** links has joined #openstack-ironic06:01
*** Sukhdev has quit IRC06:04
*** greghaynes has quit IRC06:05
*** greghaynes has joined #openstack-ironic06:06
*** ChubYann has quit IRC06:21
*** HimanshuGarg has joined #openstack-ironic06:23
openstackgerritTan Lin proposed openstack/python-ironicclient: Add --uuid to port-create  https://review.openstack.org/25276206:27
*** chlong has quit IRC06:28
openstackgerritTan Lin proposed openstack/python-ironicclient: Add --uuid to chassis-create  https://review.openstack.org/25275106:33
*** links has quit IRC06:49
*** chlong has joined #openstack-ironic06:49
*** praneshp_ has joined #openstack-ironic06:54
*** Fdaisuke_ has joined #openstack-ironic06:55
*** Fdaisuke has quit IRC06:57
*** praneshp has quit IRC06:58
*** praneshp_ is now known as praneshp06:58
openstackgerritTan Lin proposed openstack/ironic: Follow-up Patch on 1ab3c9217edc8ebed7643f8ded7b16c39dd4bc70  https://review.openstack.org/25288307:01
*** chlong has quit IRC07:04
*** links has joined #openstack-ironic07:05
*** aginwala has quit IRC07:05
*** ukalifon has joined #openstack-ironic07:10
*** rcernin has joined #openstack-ironic07:11
*** ukalifon has joined #openstack-ironic07:19
*** chlong has joined #openstack-ironic07:20
*** dims_ has joined #openstack-ironic07:27
*** kozhukalov_ has joined #openstack-ironic07:32
openstackgerritHaomeng,Wang proposed openstack/python-ironicclient: support multi-nodes operation for node-set-power-state command  https://review.openstack.org/22830107:34
*** aginwala has joined #openstack-ironic07:38
*** Fdaisuke_ has quit IRC07:42
*** kozhukalov_ has quit IRC07:48
*** Fdaisuke_ has joined #openstack-ironic07:48
*** wshao has joined #openstack-ironic07:52
*** Haomeng|2 has quit IRC07:54
*** Haomeng|2 has joined #openstack-ironic07:54
*** wshao has quit IRC07:57
*** mkovacik has joined #openstack-ironic07:58
*** hoangcx has quit IRC08:00
*** kkoski has joined #openstack-ironic08:01
*** dansmith has quit IRC08:05
*** chlong has quit IRC08:05
*** sirushti has quit IRC08:05
*** kkoski has quit IRC08:06
*** thanhnt-z has quit IRC08:06
*** praneshp has quit IRC08:06
*** dansmith has joined #openstack-ironic08:07
*** dansmith is now known as Guest1777908:07
*** praneshp has joined #openstack-ironic08:08
*** sirushti has joined #openstack-ironic08:11
*** aginwala has quit IRC08:13
*** links has quit IRC08:14
*** ionutbalutoiu has joined #openstack-ironic08:17
*** athomas has quit IRC08:22
*** mbound_ has joined #openstack-ironic08:23
*** athomas has joined #openstack-ironic08:23
openstackgerritMilan Kováčik proposed openstack/ironic-inspector-specs: High Availability for Ironic Inspector  https://review.openstack.org/25367508:27
*** praneshp has quit IRC08:27
*** smoriya_afk has quit IRC08:27
*** MattMan has quit IRC08:31
*** MattMan has joined #openstack-ironic08:31
*** ionutbalutoiu has quit IRC08:32
*** e0ne has joined #openstack-ironic08:32
openstackgerritTan Lin proposed openstack/ironic: Add a config option [upgrade_levels]/conductor  https://review.openstack.org/25335508:33
*** ionutbalutoiu has joined #openstack-ironic08:33
openstackgerritNaohiro Tamura proposed openstack/ironic: Add oslo_config.Opt support in Ironic config generator  https://review.openstack.org/25349808:34
*** ifarkas has joined #openstack-ironic08:39
*** ifarkas has quit IRC08:39
*** ifarkas has joined #openstack-ironic08:40
openstackgerritTan Lin proposed openstack/ironic: Remove extra space in 'host' config comment  https://review.openstack.org/25573308:41
*** Marga_ has quit IRC08:44
*** smoriya_afk has joined #openstack-ironic08:47
openstackgerritNaohiro Tamura proposed openstack/ironic: Update ironic.conf.sample for oslo.messaging (3.1.0)  https://review.openstack.org/25573808:49
*** e0ne has quit IRC08:52
*** links has joined #openstack-ironic08:52
*** Marga_ has joined #openstack-ironic09:03
*** Marga_ has quit IRC09:03
*** Marga_ has joined #openstack-ironic09:03
*** Marga_ has quit IRC09:04
*** Marga_ has joined #openstack-ironic09:05
*** jamielennox is now known as jamielennox|away09:09
*** yuanying has quit IRC09:10
*** ndipanov has joined #openstack-ironic09:14
*** Fdaisuke_ has quit IRC09:14
openstackgerritNaohiro Tamura proposed openstack/ironic: Update ironic.conf.sample for oslo.messaging (3.1.0)  https://review.openstack.org/25573809:18
*** ndipanov has quit IRC09:20
aarefievmorning!09:21
*** openstackgerrit has quit IRC09:32
*** openstackgerrit has joined #openstack-ironic09:33
*** ndipanov has joined #openstack-ironic09:33
*** links has quit IRC09:42
*** _degorenko|afk is now known as degorenko09:43
*** athomas has quit IRC09:51
*** jcoufal has joined #openstack-ironic09:51
*** e0ne has joined #openstack-ironic09:51
*** naohirot has quit IRC09:54
*** links has joined #openstack-ironic09:55
*** athomas has joined #openstack-ironic09:56
*** kozhukalov_ has joined #openstack-ironic09:57
*** igordcard_ has quit IRC09:58
*** igordcard_ has joined #openstack-ironic09:58
*** jistr has joined #openstack-ironic09:59
*** igordcard_ has quit IRC09:59
*** links has quit IRC10:04
*** zhenguo has quit IRC10:06
*** mkovacik has quit IRC10:12
*** saripurigopi has quit IRC10:16
*** links has joined #openstack-ironic10:17
*** electrofelix has joined #openstack-ironic10:19
*** kozhukalov_ has quit IRC10:20
*** sambetts-afk is now known as sambetts10:27
*** dtantsur|afk is now known as dtantsur10:30
dtantsurMorning Ironic10:30
sambettso/ dtantsur10:30
dtantsuro/10:30
*** kozhukalov_ has joined #openstack-ironic10:33
*** rkharya has joined #openstack-ironic10:33
*** Fdaisuke has joined #openstack-ironic10:37
*** alexpilotti has joined #openstack-ironic10:48
*** igordcar1_ has joined #openstack-ironic10:50
*** igordcar1_ has quit IRC10:50
*** igordcar1_ has joined #openstack-ironic10:50
*** igordcar1_ has quit IRC10:50
openstackgerritAnton Arefiev proposed openstack/ironic-inspector-specs: Ironic node auto-discovery  https://review.openstack.org/25294610:51
*** chenke_ has joined #openstack-ironic10:52
aarefievdtantsur, sambetts : morning, I've updated spec ^^, please take a look way you have free min10:52
aarefievs/way/when10:52
*** alexpilotti has quit IRC10:53
dtantsursure, will try10:53
*** chenke__ has quit IRC10:55
aarefievdtantsur: btw, what do you think about `Ironic python agent impact` in spec?10:56
dtantsuraarefiev, good idea10:57
aarefievdtantsur: ok, I'll propose it :)10:58
dtantsurthanks10:58
*** changzhi has quit IRC11:01
openstackgerritDmitry Tantsur proposed openstack/ironic: Explicitly depend on WebTest>=2.0  https://review.openstack.org/25579311:01
openstackgerritDmitry Tantsur proposed openstack/ironic: Explicitly depend on WebTest>=2.0  https://review.openstack.org/25579311:02
*** dims_ has quit IRC11:04
*** alexpilotti has joined #openstack-ironic11:06
*** kozhukalov_ has quit IRC11:07
dtantsuraarefiev, see on the ML, we've decided to switch from blueprints to bugs, please adjust your spec accordingly11:13
aarefievdtantsur: sure11:13
*** igordcard_ has joined #openstack-ironic11:20
*** mkovacik has joined #openstack-ironic11:21
*** kozhukalov_ has joined #openstack-ironic11:22
openstackgerritDmitry Tantsur proposed openstack/ironic-specs: Use launchpad bugs instead of blueprints  https://review.openstack.org/25580711:27
dtantsurjroll, ^^11:27
*** lucas-dinner is now known as lucasagomes11:28
lucasagomesmorning all11:29
dtantsurmorning lucasagomes11:31
openstackgerritPavlo Shchelokovskyy proposed openstack/ironic-specs: Allow specifying bug ref instead of BP  https://review.openstack.org/25581111:32
openstackgerritAnton Arefiev proposed openstack/ironic-inspector-specs: Add Ironic python agent impact to template  https://review.openstack.org/25581311:35
openstackgerritDmitry Tantsur proposed openstack/ironic-specs: Driver composition reform spec  https://review.openstack.org/18837011:37
dtantsurjroll, how it looks for a spec ^^11:37
*** Marga_ has quit IRC11:38
*** Marga_ has joined #openstack-ironic11:38
*** sinval-afk is now known as sinval11:40
sinvalgood morning everyone11:40
dtantsurmorning sinval11:42
sinvalhey dtantsur, please take a look when you have time: https://review.openstack.org/#/c/255591/, it's the follow up patch about exception message assurance11:43
dtantsursure-sure, lemme finish some urgencies first :)11:44
sinvaldtantsur, no problem11:47
*** mgoddard has joined #openstack-ironic11:49
openstackgerritVasyl Saienko proposed openstack/ironic: Introduce libvirt dirver  https://review.openstack.org/25309611:49
jrolldtantsur: nice, thanks11:54
sambettso/ HenryG11:55
sambettso/ jroll11:55
sambettssigh I can't type today...11:55
jrollmorning sambetts :P11:55
sinvalmorning jroll sambetts11:56
sambettshey sinval11:56
sambettsjroll: I don't know if I11:56
sambetts've hit a weird race condition on the context.auth_token11:57
sambettsreally randomly I get an error from neutronclient saying that auth_strategy = None is not valid, but the only way for that to happen seem to be if the auth token is set initally and then unset after calling out to neutronclient11:58
openstackgerritSinval Vieira Mendes Neto proposed openstack/ironic: Improving capabilities_to_dict and adding helpful tests  https://review.openstack.org/25497212:00
*** nicodemos has joined #openstack-ironic12:00
jrollsambetts: ooo, I feel like I've seen this before12:01
jrollis that in dhcp code?12:02
sambettsI've had it happen in there, and also in my network provider I'm working on12:02
sambettsI've now stoped passing the token into get_client to avoid this in my network provider12:03
*** kkoski has joined #openstack-ironic12:03
openstackgerritAnton Arefiev proposed openstack/ironic-inspector-specs: Ironic node auto-discovery  https://review.openstack.org/25294612:03
jrollsambetts: https://bugs.launchpad.net/ironic/+bug/132378312:03
openstackLaunchpad bug 1323783 in Ironic "Neutron client doesn't properly honor noauth" [Medium,Fix released]12:03
jrollbut that's long fixed12:04
*** mgoddard_ has joined #openstack-ironic12:05
jrollyou sure the token is initially set?12:06
jrolloh actually, I see the bug12:06
sambettsyeah, because otherwise auth_token would equal "keystone"12:06
sambettsoh?12:06
jrollif auth_strategy is keystone and token is not None: https://github.com/openstack/ironic/blob/master/ironic/dhcp/neutron.py#L9012:06
jrollso the auth_strategy we're passing in there needs to change12:07
sambettsin neutron client they have if not token: authenticate() and its running authenticate though12:07
*** kkoski has quit IRC12:08
sambettsthats were the error is coming from12:08
*** caiobo has joined #openstack-ironic12:08
*** mgoddard has quit IRC12:08
sambettshttp://git.openstack.org/cgit/openstack/python-neutronclient/tree/neutronclient/client.py#n12112:09
sambettsit shouldn't run authenticate if token exists12:09
jrollO_o12:11
jrollunless the token expires and it tries to re-auth for you maybe?12:11
sambettsisn't token a string?12:11
jrollsure12:12
jrollso I'm thinking12:12
jrollhe tries to do a request with your token, and it fails, so it re-auths12:13
jrollhe/it12:13
jrollbut that can't be it because it doesn't have creds :|12:13
sambettsyeah :/12:13
jrollalthough, it doesn't need creds to try12:13
jrollhttps://github.com/openstack/python-neutronclient/blob/master/neutronclient/client.py#L17312:13
jrollBAM12:13
jrollI bet that's it12:14
jrollcheck out neutron logs, I bet you see a 404 right before it happens12:14
jroller, 40112:14
*** kozhukalov_ has quit IRC12:14
smoriyamorning ironic12:16
smoriyadtantsur: If you have a change, would you take a look at https://review.openstack.org/#/c/200496/ ?12:16
smoriyadtantsur: I answered your comments and updated the spec12:16
dtantsuryeah, sure12:17
smoriyadtantsur: thank you :)12:17
dtantsursmoriya, btw, linking DeployInterface to a specific BMC is unacceptable IMO. so if you do that (as you said in the comment) - please don't :)12:17
smoriyadtantsur: Hmm.... it seems that I couldn't explain well what I thought...12:19
openstackgerritJohn L. Villalovos proposed openstack/ironic: genconfig: Fix issue when hostname/FQDN is 'localhost'  https://review.openstack.org/25583412:20
sambettsjroll: http://paste.openstack.org/show/481469/ spot on12:21
jrollfun!12:22
*** raildo-afk is now known as raildo12:22
sambettsyup... so we should be providing the token, and all the auth creds etc at the same time12:22
sambettsand let neutronclient pick which one ?12:23
jrollI guess so?12:23
jrollseems like that's the client's intent12:23
*** kozhukalov_ has joined #openstack-ironic12:27
sambettsjroll: https://bugs.launchpad.net/ironic/+bug/152477912:28
openstackLaunchpad bug 1524779 in Ironic "Neutron client will fail to re-authenticate if token expires because no credentials are provided" [Undecided,New]12:28
jrollsambetts: cool, ty12:28
sambettsjroll: I can put a patch up for it too, just ditching the else and else if, and just passing the token and the all the creds together, but I'm wondering if there is a reason behind having them separated?12:30
jrollsambetts: I'm not aware of any reason, probably was just "only pass creds if we aren't auth'd yet"12:30
jrollbut I don't know everything so take that with a grain of salt12:31
jroll:)12:31
sambetts:) well I'm sure it'd get picked up in the patch comments if there is something like that12:31
*** rkharya has quit IRC12:32
amotokisambetts: regarding bug 1524779, is there a way to renew a token without credential?12:32
openstackbug 1524779 in Ironic "Neutron client will fail to re-authenticate if token expires because no credentials are provided" [Undecided,New] https://launchpad.net/bugs/1524779 - Assigned to Sam Betts (sambetts)12:32
openstackgerritDmitry Tantsur proposed openstack/ironic-inspector: Enable ramdisk log collection in devstack plugin  https://review.openstack.org/25584212:33
sambettsamotoki: in the neutron client it doesn't appear that it will be able to do it12:35
sambettshttps://github.com/openstack/python-neutronclient/blob/master/neutronclient/client.py#L17312:35
*** thrash|g0ne is now known as thrash12:35
sambettshttps://github.com/openstack/python-neutronclient/blob/master/neutronclient/client.py#L19412:35
amotokisambetts: I know that. btw, is there a way to do so in general? trust?12:36
lucasagomesjroll, ping re 3rd party CI, what you think about the options devananda put in the review?12:37
lucasagomesjroll, since the spec is merged, the 2# seems the most viable IMO12:37
amotokisambetts: I think nova does re-authenticate when a token expires and neutronclient raises Unauthorized exception.12:37
*** kozhukalov_ has quit IRC12:37
lucasagomesif we agree in having another project under ironic umbrealla for the oot drivers12:37
jrolllucasagomes: they're good options, I'm not terribly opinionated12:37
jrolllucasagomes: *but* I don't want to move all drivers we drop to a contrib thing12:38
lucasagomescause that's better because at least all (or most) drivers will be there. And people don't have to go to many sites to find them all12:38
jrolljust the dev ones and such we care about as a community12:38
jrolllike, seamicro should be on its own imo12:38
lucasagomesjroll, right12:38
lucasagomesjroll, contrib thing you mean in ironic tree?12:38
lucasagomesor that applies also for a separated repo?12:38
jrolllucasagomes: contrib thing meaning #1 or #212:39
lucasagomesright12:39
jrollwhichever we end up with12:39
lucasagomesfair enuff12:39
pas-hasambetts, jroll https://review.openstack.org/#/c/236982/ re how we should do Keystone stuff12:39
jrollI think I do prefer #2 but I haven't had much coffee12:39
lucasagomesjroll, yeah no worries we have time12:40
jrollpas-ha: awesome!12:40
*** sambetts has quit IRC12:40
pas-hanot sure if it solves the bug in question right away though. will take a look12:40
jrollpas-ha: oh, no, this is authing to neutron client, I think it's unrelated12:40
jrolllucasagomes: yeah, maybe we start working on the driver facade thing we talked about at the beginning of N, and get it to a usable point by middle of cycle, and start working on moving the drivers we care about12:41
pas-hawell, all the client will be using new session stuff, so it might still be related12:41
jrollah12:41
*** sambetts has joined #openstack-ironic12:41
jrollmight be worth a try12:41
lucasagomesjroll, I have to read again what we've agreed there12:42
jrollsambetts: 12:39:31          pas-ha | sambetts, jroll https://review.openstack.org/#/c/236982/ re how we should do Keystone stuff12:42
* lucasagomes short memory12:42
jrolllucasagomes: line 30-40 or so https://etherpad.openstack.org/p/summit-mitaka-ironic-driver-api12:42
lucasagomeswill do12:42
openstackgerritYuriy Zveryanskyy proposed openstack/ironic-specs: Add power and thermal limits support  https://review.openstack.org/25195712:45
lucasagomesjroll, ++12:45
*** mbound_ has quit IRC12:45
*** baoli has joined #openstack-ironic12:45
sambetts jroll: Thanks for the link, I'm looking at https://review.openstack.org/#/c/236982/14/ironic/dhcp/neutron.py L9712:47
*** baoli_ has joined #openstack-ironic12:47
sambettsand won't this suffer from the same issue?12:47
sambettspas-ha: ^12:47
*** openstackgerrit has quit IRC12:47
pas-hasambetts, left some comments in the bug12:47
jrollsambetts: yeah, looks like it12:48
*** openstackgerrit has joined #openstack-ironic12:48
jrollprobably need to pass the session in there12:48
pas-hathis might be related to Keystone V2 vs v312:48
jrollbut really...12:48
jrollwe can just combine those two cases right?12:48
jrollif it's keystone, pass in token + creds12:48
jrollneutronclient will handle if token is None or not12:48
pas-hawe have keystone_authtoken configured to use Keystone v2 explicitly, and reusing its options for clients12:49
pas-haso when Keystone v3 token comes in, i suspect there might be some problems12:50
*** baoli has quit IRC12:50
dtantsurlucasagomes, jroll, no, like seriously: every time we fix a crash in conductor we bump RPC API version?12:51
jrollwat12:51
dtantsurI suspect we landed plenty of bug fixes without doing that..12:51
dtantsurjroll, https://review.openstack.org/#/c/253365/3/ironic/conductor/rpcapi.py12:52
lucasagomesdtantsur, if it affects the consumer of the API we should bump AFAIUI12:52
lucasagomeschanging the exception raised by the methods is one of those cases12:52
jrolldtantsur: is NotImplemented an exception that exists?12:53
dtantsurno12:53
lucasagomesit will raise a TypeError12:53
dtantsurraising NotImplemented gives TypeError12:53
*** kozhukalov_ has joined #openstack-ironic12:53
jrollheh12:53
lucasagomesI'm not sure either if we should bump or not12:53
lucasagomesbut hmm12:53
jrollwe *should* bump it, by the rules12:53
jrollhowever, I don't think anything expects that error12:54
dtantsurit's like whether we bump API version when we fix internal server error (HTTP 500)12:54
dtantsurI think we should be more clear on it12:54
jrollwell, it IS an rpc api change12:54
jrollwe should bump it12:55
jrollI don't think not bumping it will break anything12:55
jrollbut I don't see any good reason not to bump it12:55
dtantsurthen we should do it when fixing a failure in any sync method in conductor, right?12:57
dtantsurit's not immediately obvious, I think we should communicate it better12:57
jrollit's not about the failure12:57
lucasagomesit's about API12:57
jrollthe exception raised is part of the api12:57
jrollwhether intentional or not12:57
jrollwe do need to document it here, because it's not: http://docs.openstack.org/developer/ironic/dev/code-contribution-guide.html12:57
dtantsurjroll, failure == unexpected exception12:57
*** crinkle has quit IRC12:57
jrollah, true12:57
* lucasagomes can argue both sides...12:57
dtantsurso if we have a sync method in driver, and we fix some unexpected exception (TypeError, etc), we bump API version in conductor, right?12:57
lucasagomesthe change is safe, whether bumping or not12:57
lucasagomesbut yeah would be good to clarify12:57
* dtantsur also does not have a strong opinion, but wants to be clear on it12:57
jrollwait12:57
jrollthis is the client side, no?12:58
*** crinkle has joined #openstack-ironic12:58
jrollwe don't bump for changes in the client side12:58
lucasagomesjroll, that's a good point12:58
dtantsuroh yeah, you're right in this case12:58
lucasagomesmaybe only for manager.py12:58
dtantsurRPC is not involved at all here12:58
jrollright12:58
jrollcarry on!12:58
lucasagomescool12:58
dtantsurbut still it's a good question to raise12:58
* lucasagomes retract his vote12:58
lucasagomesdtantsur, ++12:59
*** smoriya has quit IRC12:59
*** smoriya_afk is now known as smoriya12:59
jrolldtantsur: totally12:59
* dtantsur gets more coffee12:59
*** mgoddard__ has joined #openstack-ironic13:01
openstackgerritAndre Aranha proposed openstack/ironic: Just a test  https://review.openstack.org/25585913:01
*** mgoddard has joined #openstack-ironic13:02
*** mgoddard_ has quit IRC13:03
*** mgoddard__ has quit IRC13:05
*** mgould has joined #openstack-ironic13:05
lucasagomesdevananda, re fact table... it seems possible to re-use the same fact tables to more than one field13:07
lucasagomess/fact tables/fact table*13:07
sambettsdamn it who added pillow to the requirements for running ironic tests, now I have to go an install libjpeg libjpeg-dev13:09
*** dprince has joined #openstack-ironic13:21
jrollsambetts: our state machine generator did :/13:21
jrollit was actually fine until some version of pillow started requiring libjpeg instead of an optional dep13:22
*** trown|outttypeww is now known as trown13:24
openstackgerritYuriy Zveryanskyy proposed openstack/ironic-specs: Intel Node Manager policies support  https://review.openstack.org/21465713:24
*** mkovacik_ has joined #openstack-ironic13:27
*** mkovacik has quit IRC13:29
*** kozhukalov_ has quit IRC13:37
openstackgerritDmitry Tantsur proposed openstack/ironic: Explicitly depend on WebTest>=2.0  https://review.openstack.org/25579313:43
*** dims has joined #openstack-ironic13:43
*** derekh has joined #openstack-ironic13:45
*** [1]cdearborn has joined #openstack-ironic13:47
openstackgerritJim Rollenhagen proposed openstack/ironic: Copy devstack code to ironic tree  https://review.openstack.org/25587913:47
openstackgerritJim Rollenhagen proposed openstack/ironic: Add devstack plugin  https://review.openstack.org/25588013:47
*** kozhukalov_ has joined #openstack-ironic13:48
*** dims has quit IRC13:48
*** rloo has joined #openstack-ironic13:51
*** kozhukalov_ has quit IRC13:54
*** dims_ has joined #openstack-ironic13:57
*** openstackstatus has quit IRC13:57
*** mariojv has quit IRC13:57
*** links has quit IRC13:57
*** sc68cal has quit IRC13:58
openstackgerritSam Betts proposed openstack/ironic: Always pass keystone credentials to neutronclient  https://review.openstack.org/25588513:58
*** mariojv has joined #openstack-ironic14:00
*** sc68cal has joined #openstack-ironic14:01
*** sc68cal has quit IRC14:01
*** sc68cal has joined #openstack-ironic14:01
openstackgerritJim Rollenhagen proposed openstack/ironic: Add devstack plugin  https://review.openstack.org/25588014:04
openstackgerritDmitry Tantsur proposed openstack/ironic-inspector: Enable ramdisk log collection in devstack plugin  https://review.openstack.org/25584214:05
openstackgerritJulia Kreger proposed openstack/bifrost: Add VM creation support on Debian jessie  https://review.openstack.org/25317114:11
jrollthis devstack plugin actually works O_o14:11
lucasagomesw00t14:12
openstackgerritJulia Kreger proposed openstack/bifrost: Adjust primary bifrost settings for Debian jessie support  https://review.openstack.org/25533114:12
*** [1]cdearborn has quit IRC14:12
openstackgerritJulia Kreger proposed openstack/bifrost: Support to wait for node deployment to complete  https://review.openstack.org/25424514:13
jrollyeah. that totally just worked.14:15
* jroll is shocked14:15
* jroll finishes the patch series14:15
dtantsurjroll, it's an awesome thing, we've been using it for a while for inspector14:17
dtantsurthe best feature is gating on devstack changes14:17
rloohi dtantsur, lucasagomes, jroll, TheJulia and everyone else this fine Thursday morning14:19
lucasagomesrloo, hi there!14:19
dtantsurmorning rloo14:19
mgouldrloo, morning!14:19
rlooif anyone has some time (not a quick one), I'm finally happy with the ironic-lib refactoring: https://review.openstack.org/#/c/184443/14:19
dtantsur\o/14:19
jrollrloo: good morning, woot!14:19
jrolldtantsur: wait, gating on devstack changes?14:19
dtantsurjroll, well, if you have devstack plugin in tree, then any change to it will have to pass all project gates, right?14:20
jrolldtantsur: oh yeah, that, I thought you meant devstack core changes :)14:20
jrollbut yeah ++14:20
dtantsurno, sorry for confusion :)14:20
dtantsurjroll, wdyt about pas-ha's comment on https://review.openstack.org/#/c/255807/1/tests/test_titles.py ?14:21
jrolldtantsur: it's a good question14:22
dtantsuryeah14:22
jrollbut I can't imagine a spec for either of those projects, really14:22
jrollor at least one that doesn't require major ironic changes as well14:22
dtantsurI think all specs more or less target ironic itself.. e.g. if we change something in ironic-lib, we probably expect something to change in ironic14:22
jrollyep14:22
jrollI think it's fine as is14:22
TheJuliagood morning everyone14:24
mgouldTheJulia, morning!14:24
jrollmorning TheJulia, mgould :)14:25
dtantsurmorning TheJulia14:25
mgouldjroll, morning :-)14:27
rloomorning mgould14:33
*** jcoufal has quit IRC14:34
*** jcoufal has joined #openstack-ironic14:34
lucasagomesmorning all :-)14:35
*** lucasagomes is now known as lucas-hungry14:35
* lucas-hungry brb go grab some lunch14:35
*** Guest17779 is now known as dansmith14:36
*** dansmith is now known as Guest1812414:37
*** Guest18124 is now known as dansmith14:37
NobodyCamgood morning Iornicers14:38
jrollhey, morning NobodyCam :)14:38
*** cdearborn has joined #openstack-ironic14:38
dtantsurmorning NobodyCam14:39
NobodyCammorning dtantsur lucas-hungry mgould rloo sambetts jroll jlvillal sinval devananda and all others not listed here14:39
NobodyCam:)14:39
mgouldmorning NobodyCam dtantsur lucas-hungry sambetts jlvillal sinval devananda and everyone else I've missed :-)14:40
dtantsuro/14:42
rloohi, morning NobodyCam14:43
*** garthb has joined #openstack-ironic14:46
*** mgoddard has quit IRC14:46
NobodyCam:)14:46
openstackgerritJim Rollenhagen proposed openstack/ironic: Add devstack plugin  https://review.openstack.org/25588014:46
openstackgerritJim Rollenhagen proposed openstack/ironic: Remove override-defaults  https://review.openstack.org/25591414:46
*** garthb_ has joined #openstack-ironic14:47
*** mtanino has joined #openstack-ironic14:48
*** garthb has quit IRC14:50
sinvalmorning NobodyCam and mgould14:54
*** mgoddard has joined #openstack-ironic14:55
*** sinval is now known as sinval-afk14:56
jrolldtantsur: oh, I have the enable_service things in local.conf heh14:57
jrollI think devstack-gate currently does that for us though14:58
dtantsurjroll, maybe it's right, dunno...14:58
*** boris-42_ has joined #openstack-ironic14:59
*** amotoki has quit IRC15:02
*** kozhukalov_ has joined #openstack-ironic15:04
*** wuhg has joined #openstack-ironic15:04
jrollvsaienko: thanks for the idea on is_ironic_hardware, I was wondering what to do about that :)15:04
*** kozhukalov_ has quit IRC15:08
*** yonglihe has joined #openstack-ironic15:08
aarefievsambetts: have a min?15:10
*** mgould has quit IRC15:10
dtantsurwhich user is the default on the coreos ramdisk? aka how to I ssh to it?15:20
*** UForgotten has quit IRC15:21
*** UForgotten has joined #openstack-ironic15:21
openstackgerritJim Rollenhagen proposed openstack/ironic: Add devstack plugin  https://review.openstack.org/25588015:23
openstackgerritJim Rollenhagen proposed openstack/ironic: Copy devstack code to ironic tree  https://review.openstack.org/25587915:23
openstackgerritJim Rollenhagen proposed openstack/ironic: Clean up variables in plugin.sh  https://review.openstack.org/25593615:23
NobodyCam::15:23
NobodyCamgah15:23
NobodyCam:)15:23
jrolldtantsur: I promise I'm done now15:23
*** HimanshuGarg has quit IRC15:23
jrolldtantsur: it's 'core'15:23
* NobodyCam need lots of coffee this morning15:23
*** trown is now known as trown|brb15:23
openstackgerritRuby Loo proposed openstack/ironic: Add FSM.is_stable() method  https://review.openstack.org/25564015:23
dtantsurjroll, thanks, I would not guess :)15:24
jrollyeah, it's kinda annoying15:24
dtantsurwow, the coreos ramdisk builder just stripped away 2 setuptools entry points15:24
dtantsurOo15:24
dtantsuroO15:24
dtantsurO___O15:25
jrollx.x15:25
jrollwat, how15:25
dtantsuris it really not Monday today?15:25
dtantsurno idea..15:25
jrollmust be friday :P15:25
*** mgould has joined #openstack-ironic15:25
NobodyCamI wish it was friday15:25
dtantsurhmmm, how came I got some ancient IPA there...15:26
dtantsurit's like liberty version or even older15:26
dtantsurwhat. the. hell. is. going. on.15:26
*** kkoski has joined #openstack-ironic15:27
*** trown|brb is now known as trown15:27
dtantsur0.1.0.dev763 is in the tar.gz, but the output says it installed 1.1.0.dev64. WUT??15:30
dtantsurJayF, hi! could you build IPA with https://review.openstack.org/#/c/254896/ and post somewhere for me to grab? something mad is going on for me and I want to check it..15:33
* dtantsur rebuilds everything15:37
*** cdearborn has quit IRC15:37
*** HimanshuGarg has joined #openstack-ironic15:37
sambettsaarefiev: hi15:38
openstackgerritJim Rollenhagen proposed openstack/ironic: Add devstack plugin  https://review.openstack.org/25588015:38
openstackgerritJim Rollenhagen proposed openstack/ironic: Copy devstack code to ironic tree  https://review.openstack.org/25587915:38
openstackgerritJim Rollenhagen proposed openstack/ironic: Clean up variables in plugin.sh  https://review.openstack.org/25593615:38
jrollok NOW I am done15:38
dtantsurlol15:38
jrollso15:38
openstackgerritDmitry Tantsur proposed openstack/ironic-inspector: Enable ramdisk log collection in devstack plugin  https://review.openstack.org/25584215:38
jrollsince plugin gets turned on with project-config15:38
aarefievsambetts: hi, thanks for review, I'll update spec due your suggestions, about new action15:38
jrolland that has to be applied to jenkins before it can be used15:39
aarefievThe idea was to fetch node info in case of different credentials, etc, instead of having multiple rules.15:39
jrollthere's no way to ensure this works before landing that change15:39
jrollso, gate may break when that happens15:39
dtantsurjroll, we can start with one non-voting job, check, then switch all jobs. if infra agrees to fast-track our patches15:39
jrollwe could, it could still break things :D15:40
jrolland the way we template them, it may be painful15:40
openstackgerritJulia Kreger proposed openstack/bifrost: Support to wait for node deployment to complete  https://review.openstack.org/25424515:41
dtantsurjroll, yeah, but chances of breakage are much lower then..15:41
jrollright15:42
*** kkoski has quit IRC15:44
*** cdearborn has joined #openstack-ironic15:45
*** yarkot has joined #openstack-ironic15:45
jrolldtantsur: other option is run devstack-gate locally and trust15:46
jrollrun the exact script from project config that is15:46
jrollstepping away for a while and then I'll hack on that15:46
dtantsurjroll, I would do both actually :)15:46
jrolldtantsur: that template makes it hard-ish, but yeah15:46
jrollwill do15:47
dtantsurmaybe, dunno.. we can hard code "if ipxe, then use plugin"15:47
dtantsur(ipxe job is not voting yet, right?)15:47
*** lucas-hungry is now known as lucasagomes15:51
lucasagomesdtantsur, I think it's now, it was approved yesterday15:51
lucasagomesthe patch to make it voting15:51
* lucasagomes checks15:51
dtantsurwell, damn..15:51
dtantsurnononononoNONONONONOOOOOOO...... I've rebuilt everything from scratch and I still get ancient IPA embedded >_<15:52
dtantsurwhat am I doing so terribly wrong?15:52
lucasagomesdtantsur, yeah ipxe is not voting15:55
lucasagomesdtantsur, rebuilt the IPA image? coreos? dib?15:55
dtantsurlucasagomes, coreos.. something terrible stale is somewhere on my system15:55
sambettsaarefiev: if you've already got a mapping of addresses to credentials, why don't you just enroll the ironic nodes using a bash script and then trigger bulk inspection on them, the way you've defined it you'll have to manually power on a node you already have the remote power credentially for?15:55
* dtantsur kills everything in docker with fire15:56
* sambetts *coughs* tiny *cough* ipa 15:56
sambetts;)15:56
*** genago has joined #openstack-ironic16:00
zer0c00lping rloo16:01
rloozer0c00l: ?16:01
dtantsursambetts++16:01
zer0c00lrloo: was about to ask whether you are joining16:01
rloozer0c00l: :)16:02
openstackgerritSinval Vieira Mendes Neto proposed openstack/ironic: Improving capabilities_to_dict and adding helpful tests  https://review.openstack.org/25497216:02
NobodyCamsambetts: :)16:02
sambettsaarefiev: perhaps making the value field of set-attribute more flexible, so it can retreive data from different places that would leave it open for both possiblity16:03
sambettss16:03
aarefievsambetts: in your case we don't need discovery at all:) , yeah I can extend set-attributte16:05
openstackgerritMilan Kováčik proposed openstack/ironic-inspector-specs: High Availability for Ironic Inspector  https://review.openstack.org/25367516:06
*** dtantsur is now known as dtantsur|brb16:08
*** Haomeng|2 has quit IRC16:14
dtantsur|brbjroll, JayF, only 'make docker_clean' actually forced the coreos builder to pick new IPA code.. I'd say it's a bug16:14
*** devananda has quit IRC16:15
aarefievcould somebody take a look, please: https://review.openstack.org/#/c/229286/16:17
*** dprince has quit IRC16:19
*** e0ne has quit IRC16:20
*** devananda has joined #openstack-ironic16:21
*** dprince has joined #openstack-ironic16:21
jrolldtantsur|brb: sounds like docker layer caching... this is upstream docker file?16:25
*** Marga_ has quit IRC16:27
*** genago has quit IRC16:32
*** kkoski has joined #openstack-ironic16:34
*** dprince has quit IRC16:41
*** rcernin has quit IRC16:42
*** pas-ha has quit IRC16:44
openstackgerritAnton Arefiev proposed openstack/ironic-inspector-specs: Ironic node auto-discovery  https://review.openstack.org/25294616:45
JayFdtantsur|brb: there's lots and lots of caching built into the build process. IDK if that's  a bug or not16:46
JayFI certainly don't feel like it's a bug when I know which pieces of cache to invalidate and it makes my testing go faster :)16:47
jrolldtantsur|brb: also, https://review.openstack.org/#/c/255981/16:50
lucasagomescache invalidation is hard16:50
lucasagomesJayF, btw I saw ur question this morning re the order of clean_steps16:50
lucasagomesI think that's fine because in python dicts are not ordered anyway16:51
lucasagomesthat's why we have the "priority" field right?16:51
JayFlucasagomes: well basically, we have multiple extensive downstream hardware managers16:51
JayFand I'm trying to write a giant unit test that loads all the managers, mocks out evaluate_hw_support, and tests the sets of steps are correct16:52
JayFso lack of ordering in the steps was a bit ... frustrating in that context :)16:52
*** yarkot has quit IRC16:52
jrollhttps://rackhd.readthedocs.org/en/latest/16:53
jroll^ another bare metal provisioning system16:53
*** cemason has joined #openstack-ironic16:53
*** david-lyle has quit IRC16:53
NobodyCamhttps://github.com/RackHD/RackHD16:55
NobodyCamsaw that and thought it was reackerlab at first... but I've only have one cup of coffee16:57
jrollright?16:58
*** dtantsur|brb is now known as dtantsur17:01
*** dprince has joined #openstack-ironic17:02
lucasagomesNobodyCam, nice17:04
sambettsjroll: https://review.openstack.org/#/c/25588517:04
lucasagomestho it's node.js x.x17:04
sambettsoh god JS17:04
* sambetts runs and hides 17:04
lucasagomesheh17:05
sambettsI did my final project at Uni in node.js ... never again ... *shudders*17:05
*** dims_ has quit IRC17:06
openstackgerritMerged openstack/ironic: Correct NotImplemented to NotImplementedError in rpcapi.py  https://review.openstack.org/25336517:09
lucasagomesJayF, oh yeah for testing it sucks... you may want to use assertEqual(sorted(<expected_steps>), sorted(<steps>)) when testing it17:10
*** ig0r_ has joined #openstack-ironic17:11
*** dims has joined #openstack-ironic17:12
JayFlucasagomes: well the data model for that whole command result from the agent is {'17:13
JayF{'clean_steps': {'some_hw_mgr':[list of dicts containing steps]}}17:14
JayFso gotta sort it deep inside17:14
lucasagomesJayF, oh right, yeah that can be a bit more tricky17:16
*** dims has quit IRC17:16
JayFyeah, I think I have it figured out17:16
lucasagomeslike using sorted(... key=lambda)17:16
JayF        for manager, steps in expected['clean_steps'].items():17:16
JayF            steps.sort(key=lambda x: x['priority'])17:16
JayFdoing that on both the expected and the results has it working now17:16
* JayF credits jroll for the PM python tutoring17:16
JayFI was falling back into my bad habit of writing half python half ruby which is zero working17:17
JayFlol17:17
*** dims has joined #openstack-ironic17:17
lucasagomes:-)17:17
lucasagomesw00t!17:17
*** Sukhdev has joined #openstack-ironic17:17
dtantsurJayF, jroll, I thought it's a bug because of this comment: https://github.com/openstack/ironic-python-agent/blob/master/Dockerfile#L3-L517:20
dtantsurmaybe I misunderstood it though17:20
dtantsurJayF, +2 on the chroot patch17:21
JayFdtantsur: hmm.17:22
JayFdtantsur: that builder is a bit different upstream than down, I'll try to take a look today if I have time17:22
*** dprince has quit IRC17:22
dtantsurthanks17:22
JayFdtantsur: the chroot change is one of a few patches needed to upstream all our changes to it. Am going to try to get the rest up17:22
*** vishwanathj has quit IRC17:23
dtantsurcool17:23
*** vishwanathj has joined #openstack-ironic17:23
*** Sukhdev has quit IRC17:23
*** [1]cdearborn has joined #openstack-ironic17:23
dtantsurI expect the chroot patch to fix quite a few things17:24
*** dims has quit IRC17:24
jrolldtantsur: yeah, so I wonder if docker now caches ADD commands17:25
dtantsurjroll, https://github.com/docker/docker/issues/880 ?17:26
jrolldtantsur: yep, good eye https://github.com/docker/docker/pull/280917:28
*** wuhg has quit IRC17:28
jrollthat's fun17:29
*** Walts has joined #openstack-ironic17:30
WaltsHI all, just wondering if someone could help me with a quick question about Ironic17:30
TheJuliaWalts: we gladly answer questions :)17:31
WaltsI have it installed and its provisioning servers nicely17:31
WaltsI was just wondering about the tftp directory17:31
Waltsdo I need to back it up17:31
Waltsif I lost the data in there would ironic recreate it17:32
Waltsit creates folders for each instance17:32
Waltswith booting configuration17:32
Waltsits this stuff I am worried about17:32
jrollif ironic fails over to a different ironic-conductor host, it will re-create it, but I don't believe it will recreate it if it just disappears17:32
jrollI could be wrong though :)17:32
TheJuliaIdeally you should back it up, but it will get re-created as-needed17:32
TheJuliawhat jroll said17:32
TheJuliathe odd case is if your netbooting, you have no other conductor, and you rebooted your machine17:33
TheJuliahence why its handy to have the tftpboot folder contents17:33
Waltsjroll: TheJulia: thanks thats good to know17:33
*** mkovacik_ has quit IRC17:33
devanandaI just realized that the state machine on_[enter,exit] logging hooks are useless because they do not indicate which Node is changing state17:34
TheJuliadoh17:34
jrollnice :/17:34
*** Marga_ has joined #openstack-ironic17:35
lucasagomesWalts, yeah back it up... A possible workaround you can do in case you lose it17:35
lucasagomesis to bring down the ironic-conductor you're currently running17:35
lucasagomesand start another one with a diff hostname17:35
devanandajroll: we should probably test that the conductor correctly rebuilds that directory17:36
lucasagomesthat will take over the nodes and it will reconstruct the files (tho it's a workaround)17:36
devanandalucasagomes: what is it a workaround for?17:36
lucasagomesdevananda, in case someone lose the PXE configuration files from the TFTP dir17:36
*** openstackstatus has joined #openstack-ironic17:37
*** ChanServ sets mode: +v openstackstatus17:37
*** athomas has quit IRC17:37
* sambetts is calling it a day 17:37
lucasagomesdevananda, take_over() will reconstruct that17:37
NobodyCamnight sambetts17:37
*** Nisha has joined #openstack-ironic17:37
TheJuliagoodnight sambetts17:37
NobodyCammorning devananda17:37
jrolloh, this is going to be fun to unwind: 2015-12-10 16:53:39.386 | /opt/stack/new/grenade/upgrade-tempest: line 54: /opt/stack/new/devstack/lib/ironic: No such file or directory17:37
TheJuliagood morning Nisha17:37
sambettsnight all o/17:37
*** ukalifon has quit IRC17:37
jrollgrenade depends on ironic in devstack's tree17:37
jrollwheeeeeeeeeee17:37
Nishagood morning TheJulia :)17:37
lucasagomesjroll, x.x17:37
devanandalucasagomes: oh, gotcha. if it's the same hostname, it wont trigger take_over()17:37
devanandajroll: ugh17:37
lucasagomesdevananda, exactly!17:38
jrollI didn't want to move grenade yet :|17:38
devanandajroll: depends-on17:38
*** cdearborn has quit IRC17:38
devanandabut yea, now there's a 3-way (or is it 4-way) dependency?17:38
jrolldevananda: I've already got like 4 depends-on in this tree, I'm well aware17:38
jroll:P17:38
lucasagomeslol17:38
devanandahaha17:38
jrollcontext https://review.openstack.org/#/q/status:open+branch:master+topic:ironic-devstack-plugin,n,z17:38
Waltslucasagomes: thanks for the tip17:38
lucasagomesdevananda, btw, not sure you saw the last ping... but having the same fact table for multiple join tables works17:39
devanandalucasagomes: awesome17:39
lucasagomesdevananda, hard is to find a name for it now17:39
lucasagomesdevananda, node_keys ?17:39
lucasagomesnode_facts?17:39
devanandalucasagomes: names are hard. how about 'labels' or 'property_names'17:40
lucasagomesdevananda, labels seems good17:41
devanandait's a table of names of things that are referenced in other tables17:41
lucasagomesproperty_names not much cause we may confuse that it's only for properties (but it will be used for other stuff too, driver_info and future maybe capabilities)17:41
*** dprince has joined #openstack-ironic17:41
lucasagomesdevananda, yeah17:41
devanandait could be used by tags, too17:42
lucasagomesoh yeah tags too!17:42
lucasagomeslabels seems good17:42
lucasagomesit's generic17:42
devanandayea17:42
Waltsactually I had not considered running more than one conductor node, can I run them HA or does it have to be a failover?17:42
devanandaWalts: active-active17:42
jrollWalts: you can run as many as you like at the same time, ironic will shard node resources between them17:42
lucasagomesWalts, it has HA embeeded in the ironic-conductor so you don't actually need to care about it17:43
devanandaWalts: all Nodes will get distributed between the active conductors, and as conductors join/leave the cluster, they rebalance17:43
devananda:)17:43
lucasagomesyeah active-active as deva said17:43
Waltsnice!17:43
*** cemason has quit IRC17:44
openstackgerritMerged openstack/bifrost: Add VM creation support on Debian jessie  https://review.openstack.org/25317117:44
openstackgerritMerged openstack/bifrost: Adjust primary bifrost settings for Debian jessie support  https://review.openstack.org/25533117:44
*** dims has joined #openstack-ironic17:47
*** garthb_ has quit IRC17:47
* TheJulia sits back and watches the merges17:47
*** trown is now known as trown|lunch17:49
*** degorenko is now known as _degorenko|afk17:49
*** Sukhdev has joined #openstack-ironic17:49
Waltsthe tftpboot server address gets passed to the neutron port of each bare-metal server, how is this handled when there are multiple conductors each with a tftp server. Or is this the wrond way to do it17:50
Walts*wrong17:50
devanandaWalts: each conductor knows its IP, and passes that to neutron when deploying to a node17:50
jroll(or when taking over a node from a conductor that goes down)17:51
Waltsah i see so if that node fails and a bare-metal server has to re-boot is this not a issue as the conductor node that takes over will update neutron17:52
devanandaWalts: each Node is associated to a specific conductor, though that association can change over time (and when it does, it updates Neutron and /tftp/, etc)17:52
Waltsdevananda: jroll: thanks you so much this has been very helpful17:53
jrollsure thing :)17:53
*** dims has quit IRC17:53
devanandaWalts: np!17:54
*** praneshp has joined #openstack-ironic17:54
openstackgerritMerged openstack/bifrost: Follow up to 251527  https://review.openstack.org/25269517:56
openstackgerritMerged openstack/bifrost: Added jessie under Debian versions  https://review.openstack.org/25300717:56
openstackgerritMerged openstack/bifrost: Added jessie under Debian versions  https://review.openstack.org/25302117:56
openstackgerritMerged openstack/bifrost: Added jessie under Debian versions  https://review.openstack.org/25302617:56
lucasagomesdevananda, you know if alembic allow me to use the models to migrate the data?17:56
NobodyCamTheJulia: bam ^^^17:57
devanandalucasagomes: I think so?17:57
lucasagomesdevananda, somehow it would map already the stuff to the right tables? Or will have to do the logic in python?17:57
jrolllucasagomes: we don't want to do the migration in alembic, right?17:57
devanandalucasagomes: we did that with sqla-migrate back in the day17:57
jrollbecause that will force it at upgrade time, rather than "when the deployer wants to"17:57
devanandalucasagomes: no, it'll do it in python17:57
*** dims has joined #openstack-ironic17:57
lucasagomesjroll, idk...17:58
*** athomas has joined #openstack-ironic17:58
* lucasagomes is not familiar with those bits17:58
devanandaif you use alembic to transform the data, then it does it in python IIRC17:58
jrollyeah, alembic is all python17:58
jrollbut iirc we didn't want to force this huge migration at upgrade time17:58
devanandaif we do ^ then we can do it on the fly, when nodes are accessed17:58
devanandaotoh, if we did an UPDATE, we would have to do it at migration time17:58
lucasagomesjroll, devananda right... you have any example of how we want it to work then17:59
lucasagomesI was thinking migration time... but seems we don't wanna do that17:59
devanandalucasagomes: I think nova hasn't even done this before, but it's a good way to do no-downtime data migrations17:59
jrolllucasagomes: on save() / load(), transform as needed in the objects and/or model layer17:59
jrollnova has done this, with their big flavor migration17:59
*** ifarkas has quit IRC18:00
devanandaI put details in the scheduler spec draft that I posted a while back18:00
lucasagomesjroll, but I will have to drop the column from the properties table no?18:00
lucasagomesthe properties column from the node table18:00
devanandajroll: you removed the db specifics fromthat spec, and I was supposed to recreate it, right?18:00
devanandalucasagomes: don't drop the column -- use a placeholder value to indicate that a record has been converted18:00
jrolllucasagomes: then we provide a script that forces everything to migrate *now*, that ops need to run before the next cycle18:00
jrolland drop columns the next cycle18:00
devanandajroll: oh, right. with flavors.18:01
jrolldevananda: I did, lucas has that spec going18:01
devanandaugh. too many specs ...18:01
*** maratoid has quit IRC18:02
jrolllucasagomes: so you set node.properties = None (or even {}) when you migrate a node (at save() time). at load() time, if node.properties == None, load them from the new table. otherwise load from old table.18:02
jrolldoes that make sense?18:02
lucasagomesjroll, trying to grasp18:04
lucasagomesand what about downgrade ?18:04
jrollheh, so18:05
jrolljust don't18:05
lucasagomesso when we save() we then migrate to the new table and set the properties to {}18:05
jrollfunny enough, I saw this recently http://specs.openstack.org/openstack/openstack-specs/specs/no-downward-sql-migration.html18:05
lucasagomeson load we check it to know where we should load the data from18:05
jrollwhich we haven't done the work for but we can not support downgrade here18:05
jrollyep, that's exactly right18:06
lucasagomesok18:06
lucasagomesthen the filter api will only come next cycle?18:07
lucasagomesbecause until there we have no guarantees that all the data is now indexable18:07
lucasagomeswell maybe it can be documented...18:07
jrollso my plan is to have an experimental one this cycle18:07
*** cemason has joined #openstack-ironic18:07
jrolltell people it's slow until they run that migration18:07
jrollor something like that18:07
jrollthat's a good point18:07
lucasagomesright18:08
lucasagomesor to run that script to migrate all data if they want to use that api18:08
dtantsurgoing now, see you tomorrow!18:08
lucasagomesdtantsur, g'night18:08
jrollyeah, I'm struggling to figure out how we decide if the migration is done or not18:08
jrollnight dtantsur18:08
*** dtantsur is now known as dtantsur|afk18:08
jrollbut maybe we just only filter on the new table, and nodes not in it end up excluded18:08
lucasagomesright18:10
lucasagomesyeah well this will come later right?18:10
lucasagomeswhat we can do is to check if the node id is in the node_properties table18:11
lucasagomesthat means it migrated18:11
lucasagomesand properties is {}/None18:11
*** dims has quit IRC18:12
devanandajroll: so if we tie it into object load(), we'll have a stampeding herd in the first 60 seconds after conductors are upgraded18:13
devanandaperiodic power state check18:13
lucasagomesx.x18:13
lucasagomestrue18:13
devanandaevery node not in maintenance mode will get migrated right away18:13
NobodyCamnight dtantsur|afk18:14
devanandadtantsur|afk: g'night!18:14
lucasagomesdevananda, even a heartbeat can migrate the node18:14
jrolldevananda: no, don't migrate data in load()18:14
jrollload() just loads differently depending on if data is migrated18:14
devanandamigrate on save()?18:14
lucasagomesjroll, but save's same no ? We update the node quite often18:14
*** amit213 has quit IRC18:14
lucasagomeswell not that often, but maintenance, the power state sync etc18:15
*** amit213 has joined #openstack-ironic18:15
jrollwe don't maint often18:15
jrollpower state sync only saves on change18:15
jrollheartbeat in most deployments is only during deploy/clean18:15
jrollI think save() shouldn't be too bad18:15
openstackgerritMerged openstack/bifrost: Fix dhcp range for static inventory  https://review.openstack.org/25518218:17
*** nicodemos has quit IRC18:19
lucasagomesjroll, ack I will try to figure how it's going to work18:20
*** aginwala has joined #openstack-ironic18:20
jrolllucasagomes: cool, dansmith gave me some of those ideas so he may be able to help out too18:21
lucasagomesack18:21
lucasagomesjroll, last thing, so in the spec I will mention that downgrade won't be done18:22
lucasagomeswon't be possible*18:22
jrollyep18:22
lucasagomesfair enuff18:22
jrollwell, we shouldn't be doing them anymore now anyway18:22
jrollbecause  http://specs.openstack.org/openstack/openstack-specs/specs/no-downward-sql-migration.html18:22
lucasagomesack18:22
lucasagomesthanks18:22
jrollnp, thank you for working on this18:23
*** trown|lunch is now known as trown18:24
*** garthb has joined #openstack-ironic18:28
*** rajathagasthya has joined #openstack-ironic18:28
openstackgerritChris Krelle proposed openstack/bifrost: add check for genisoimage  https://review.openstack.org/25603018:32
*** dims has joined #openstack-ironic18:36
*** jdk has joined #openstack-ironic18:37
*** jistr has quit IRC18:38
jdkhi TheJulia18:38
*** ionutbalutoiu has quit IRC18:39
jdkTheJulia: switching to legacy mode worked, now the ipa ram disk loads but it is getting an error trying to post back to ironic saying network is unreachable18:39
*** aginwala has quit IRC18:39
jdkTheJulia: looking at troubleshooting.rst , it says to add ssh keys in order to login to coreos ipa ramdisk18:40
jdkthat is what i'm doing now18:40
*** aginwala has joined #openstack-ironic18:43
rajathagasthyalucasagomes: Your suggestion of using CoreOS upstream ramdisk worked partially yesterday. I don't see "failed to initialize RDMA" error. But I see a weird issue where I see login prompt for CoreOS and not my user image Ubuntu. And Ironic status is all messed up. It shows power off and deploying, and after a while reports deploy failed.18:43
jdkTheJulia: network is unreachable, is there a way to login to coreos ipa ramdisk from console?18:45
lucasagomesrajathagasthya, you will see the prompt while deploying right?18:46
lucasagomesdoes the node even goes to active?18:46
mtaninodtantsur|afk: Sorry for my interrupt, if you have a chance, could you revisit smoriya's spec? https://review.openstack.org/#/c/200496/ To get Nova's exception, this needs to be merged within tomorrow.18:46
*** Marga_ has quit IRC18:46
*** aginwala has quit IRC18:47
rajathagasthyalucasagomes: Yeah, I see the prompt during deploy. Node never goes to active.18:47
lucasagomesrajathagasthya, ok so the image didn't get deployed18:47
*** Marga_ has joined #openstack-ironic18:47
lucasagomesrajathagasthya, in the prompt you only see the console? You don't actually see any errors ?18:47
rajathagasthyalucasagomes: Right, no errors.18:48
rajathagasthyalucasagomes: I built a new Ubuntu deploy ramdisk and I now see a Ubuntu 14.04 prompt, but Ironic still shows deploy failed and power off.18:48
lucasagomesright, you may not be seeming errors because we are not redirecting it to the console tho18:48
lucasagomesrajathagasthya, can you edit the pxe_append_params config opt in Ironic and add (/me one sec lemme find the systemd option for that)18:49
lucasagomesrajathagasthya, "systemd.journald.forward_to_console=yes"18:49
rajathagasthyalucasagomes: Is it possible that the pxe_ucs driver is not reporting correct power state state?18:49
lucasagomesrajathagasthya, right probably the deployment timeout due some error18:49
rajathagasthyalucasagomes: Okay, will add that.18:49
lucasagomesrajathagasthya, right, it's possible but... Ironic would fail straight away if it can set the power state to on when the deployment starts18:50
*** cemason has quit IRC18:50
*** mgoddard has quit IRC18:51
rajathagasthyalucasagomes: Okay, will try a deploy and let you know how it goes.18:51
lucasagomesack18:51
*** mgoddard has joined #openstack-ironic18:52
*** aginwala has joined #openstack-ironic18:56
jlvillal Sukhdev, jroll: When getting the service url from keystone. Shouldn't the 'service_type' be 'network' and not 'neutron'?18:56
*** harlowja has quit IRC18:56
* jlvillal learned about keystone recently...18:56
*** harlowja has joined #openstack-ironic18:56
jrollsounds right18:56
jlvillaljroll, https://review.openstack.org/#/c/255885/1/ironic/dhcp/neutron.py18:57
jlvillaljroll, That is why I asked. My comment18:57
jrolljlvillal: heh18:57
jlvillaljroll, If you think it is wrong, I can spin a patch.18:57
jlvillalAfter my meeting....18:57
jrolljlvillal: I have no clue, honestly18:58
jrollit's been there for at least a year...18:58
jrollso don't panic :P18:58
*** jcoufal has quit IRC18:58
jlvillal:) Yeah, I think it almost always use the CONF value, I think.18:58
jlvillalI will put it on my TODO list. Thanks!18:58
jrollthank you :)18:58
*** dprince has quit IRC18:58
* jlvillal goes to team brown-bag session.18:58
*** kkoski has quit IRC18:59
* jroll takes a break for a while18:59
jrolljlvillal: oh btw, I'm working on the devstack and grenade plugin stuff18:59
*** dprince has joined #openstack-ironic18:59
*** Sukhdev has quit IRC19:00
*** kkoski has joined #openstack-ironic19:00
*** Sukhdev has joined #openstack-ironic19:00
rajathagasthyalucasagomes: Okay, I see "cannot create /var/lib/cloud/data/no-net" and "/bin/sh: 1: cloud-init not found". Then "booting system without full network configuration" after which I see Ubuntu 14.04 login prompt.19:00
rajathagasthyalucasagomes: Ironic says power off and deploying, Nova says spawning.19:01
lucasagomesrajathagasthya, that's after the deployment? What's the provision state of the ne?19:01
lucasagomesoh19:01
lucasagomesrajathagasthya, are you sure you are not using the tenant image as the deploy ramdisk19:02
lucasagomesrajathagasthya, if you look at the node's driver_info/deploy_ramdisk=<glance uuid>19:02
lucasagomesthat glance uuid is pointing to which image?19:02
rajathagasthyalucasagomes: I built a new ramdisk using "disk-image-create ironic-agent ubuntu -o ironic-deploy".19:03
lucasagomesoh right so ur not using the upstream one anymore?19:03
rajathagasthyalucasagomes: deploy_ramdisk points to ubuntu-deploy-initrd.19:03
rajathagasthyalucasagomes: No, but I still got the same error for upstream ramdisk.19:04
lucasagomesrajathagasthya, same error re cloud-init not found?19:05
lucasagomesI thought you couldn't see any error with the upstream ramdisk, that's why we added that systemd line there19:05
*** jaybeale has joined #openstack-ironic19:05
lucasagomes<rajathagasthya> lucasagomes: Right, no errors.19:05
rajathagasthyalucasagomes:Same error as in Ironic reporting deploying and power off.19:05
lucasagomesah19:05
rajathagasthyalucasagomes: You want me to try upstream ramdisk once?19:05
lucasagomesrajathagasthya, yes please19:06
rajathagasthyalucasagomes: Cool, will do now.19:06
lucasagomesstill the power off/deploying is very weird19:06
lucasagomeshaven't seem that before19:06
SpamapSlucasagomes: hey didn't you recently add an element to dib to help debug things on ironic agent?19:07
devanandalucasagomes: I noticed today that I see (poweroff, cleaning) + (poweron, clean wait) + (poweroff, cleaning) + (poweroff, available)19:07
rajathagasthyalucasagomes: That's wierd and it seems to be in sync with "Desired power state" in UCS Manager, not the actual power state. Hence I suspect that it's UCS driver problem.19:07
lucasagomesSpamapS, yup! Good point we can use that19:07
SpamapSjdk: ^^19:07
jdkSpamapS: hi19:07
SpamapSlucasagomes: jdk is also looking for some debug support in IPA, what's it called again?19:07
lucasagomesrajathagasthya, when building a ramdisk with DIB, you can use a dynamic-login element. That will allow you to log-in the node19:08
rajathagasthyaBTW, I'm using Kilo. Very sorry if I haven't mentioned this before.19:08
lucasagomesSpamapS, dynamic-login19:08
rajathagasthyalucasagomes: No, I didn't use dynamic-login. How do I use that? Is there an example?19:08
*** ukalifon1 has joined #openstack-ironic19:09
lucasagomesrajathagasthya, https://github.com/openstack/diskimage-builder/tree/master/elements/dynamic-login19:09
rajathagasthyalucasagomes: Thanks, that's helpful.19:09
lucasagomesdevananda, right... hmm it kinda makes sense tho... cause cleaning == conductor executing clean steps, cleanwait == clean steps being executed in the node19:10
lucasagomesso if it's cleaning and powered off it should be fine19:10
lucasagomesprobably it's a oob clean step19:10
devanandajroll, Sukhdev: do you know of any commodity switches that will support the ML2 integration work, like, for testing at home?19:11
devanandalucasagomes: yea, I agree that that is what happens. I think it's poor UX though19:11
lucasagomesindeed19:11
lucasagomesthose distinctions are not very user friendly19:11
lucasagomesat least it's consistent with deploying/deploywait19:12
Sukhdevdevananda: nothing comes to mind19:12
*** e0ne has joined #openstack-ironic19:13
Sukhdevdevananda : mirantis guys wrote a generic switch implementation for Ironic_neutron testing - perhaps you can play with it - let me look for the link19:13
*** maratoid has joined #openstack-ironic19:13
devanandalucasagomes: indeed. "clean wait" is displayed during the time that the disks are being shredded ...19:14
devanandasame for "deploy wait" while the image is being written19:14
Sukhdevdevananda : check out this - https://github.com/jumpojoy/generic_switch19:15
lucasagomesdevananda, yeah, and we allow abort/delete on the *wait states19:15
*** Marga_ has quit IRC19:15
* mgould -> home; good night!19:15
*** mgould has quit IRC19:15
*** ukalifon1 has quit IRC19:16
*** Nisha has quit IRC19:18
*** yarkot has joined #openstack-ironic19:19
*** aginwala has quit IRC19:19
*** ijw has joined #openstack-ironic19:20
*** Sukhdev has quit IRC19:20
*** ijw has quit IRC19:24
*** ijw has joined #openstack-ironic19:24
*** aginwala has joined #openstack-ironic19:24
*** Marga_ has joined #openstack-ironic19:25
*** ukalifon has joined #openstack-ironic19:26
*** r-daneel has joined #openstack-ironic19:27
rajathagasthyalucasagomes: I used upstream deploy ramdisk and see "Error heartbeating to agent API" errors.19:27
NobodyCamnight mgould19:29
openstackgerritMerged openstack/ironic: Always pass keystone credentials to neutronclient  https://review.openstack.org/25588519:35
*** electrofelix has quit IRC19:39
lucasagomesrajathagasthya, hmm you know if the node you're booting can access the ironic api?19:41
lucasagomesrajathagasthya, what you can do it is19:41
rajathagasthyalucasagomes: Oh yeah, it can.19:41
lucasagomesrajathagasthya, in the pxe parameters add "coreos.autologin"19:41
lucasagomesthat will give a prompt in the upstream coreos ramdisk19:41
lucasagomesso you can troubleshoot it, ping, check the network etc19:42
JayFlucasagomes: turns out the bug I found ... was in an unmerged patch that we carried downstream19:42
rajathagasthyalucasagomes: Ah, okay. But wouldn't I get the same heartbeat error again? Or does allow me to login with that option?19:43
JayFlucasagomes: so I'm fixing it in the patch and getting it back up19:43
JayFafter playing about 30 minutes of "where's that code?"19:43
lucasagomesrajathagasthya, you will get the same eror again, but right now you can't log in the ramdisk to troubleshoot it can you?19:43
lucasagomesJayF, oh boomer! At least you found it, so it's good :D19:44
JayFwell it's code that should be merged in the agent19:44
JayFreally almost a requirement for cleaning19:44
JayFhttps://review.openstack.org/#/c/189969 I'm about to put up a fresh patchset of it19:44
* lucasagomes looks19:45
lucasagomesoh right19:45
rajathagasthyalucasagomes: I can't now, after I enabled the systemd.journald.forward_to_console option. I don't see the login prompt at all. But let me see what happens with auto login.19:46
lucasagomesrajathagasthya, ack, you can add both19:47
lucasagomesthis will give you a prompt19:47
lucasagomesand redirect errors to the console19:47
rajathagasthyalucasagomes: So 'ack' is another option?19:47
lucasagomesrajathagasthya, no sorry... ack == understood19:48
lucasagomesit's a slang19:48
rajathagasthyalucasagomes: Lol, sorry. What was I thinking? ;)19:48
lucasagomeslike SYN-ACK from tcp19:48
rajathagasthyalucasagomes: Yes, yes, yes.19:48
jdkSpamapS: the problem yesterday was that undionly.kpxe is for legacy mode; you need to use ipxe.efi for uefi mode19:50
*** Marga_ has quit IRC19:50
SpamapSjdk: OH, so I was dead wrong about UEFI not mattering. Thanks. :)19:50
SpamapSjdk: (I told you this isn't really my area. ;)19:50
JayFCan someone confirm for me that tests on IPA master are not broken?19:51
JayFLocally, I see a very leaky test that's failing trying to mess with my local /dev/sdb19:52
*** jaybeale has quit IRC19:52
JayFhttps://gist.github.com/jayofdoom/aa510056f73aa8b64c1c is the error I'm getting in both py27 and py3419:52
*** baoli_ has quit IRC19:53
*** rajathagasthya has quit IRC19:55
*** kkoski has quit IRC19:56
lucasagomesjroll, seems I got some migration going on by changing update_node, and the get_node_by_X in the sqlalchemy/api.py19:57
lucasagomesjroll, I'm only migrating when properties is updated19:57
*** rajathagasthya has joined #openstack-ironic19:57
lucasagomesso other save()'s update()'s wont' interfere19:58
*** ChubYann has joined #openstack-ironic19:58
JayFdtantsur|afk: lucasagomes: I'm like 90% sure b569e37d065910cb25e4817951fa75937b7ef357 broke tests as noted ^ above19:59
JayFtests will only pass on machines that have a /dev/sdb device actually on them19:59
JayFwhich my VM does not19:59
JayFleaky test = scary test when we're talking about a rest API to erase a computer :P19:59
lucasagomesJayF, lemme clone the repo and create the test env19:59
lucasagomesfrom scratch and see19:59
lucasagomesJayF, py27 and 34?20:00
JayFlucasagomes: yep, but make sure your test box doesn't have a /dev/sdb at all20:00
JayFlucasagomes: if it does the bad test will pass, which is why it passes in the gate20:00
lucasagomesJayF, only sda20:00
JayFjust looking at the test, it only mocks out utils.execute20:01
JayFwhen it uses pyudev now to do a lot of that stuff20:01
lucasagomeswill tell u in a bit... (internet in the country side of brazil is kinda poor, so takes me a while to build stuff)20:01
JayFthe pyudev stuff is not mocked out at all20:01
*** rcernin has joined #openstack-ironic20:01
JayFhttps://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/hardware.py#L94 will have to be mocked out to make that test stop failing20:02
JayFwait20:02
JayF...20:02
JayFis this rebase fail?20:02
* JayF wonders suddenly why his hardware.py isn't hte same as master20:03
lucasagomesJayF, http://paste.openstack.org/show/481549/20:03
* lucasagomes looks at the patch20:03
*** mgoddard_ has joined #openstack-ironic20:03
*** mgoddard has quit IRC20:03
JayFlucasagomes: it's all my fault20:04
JayFlucasagomes: I was syncing up and rebasing on our very not-up-to-date master20:05
JayFinstead of upstream20:05
lucasagomesoh20:05
lucasagomeshah, happens20:05
JayFthat's what happens when you read code in the browser20:05
JayFand assume it's the same as on disk20:05
NobodyCam:p20:05
JayFthat test /is/ still leaky though, I think20:06
JayFbecause pyudev is actually checking on /dev/sdb in my local sysrtem20:06
lucasagomesyeah we should mock it for sure20:06
*** ionutbalutoiu has joined #openstack-ironic20:06
openstackgerritChris Krelle proposed openstack/bifrost: add check for genisoimage  https://review.openstack.org/25603020:07
*** kkoski has joined #openstack-ironic20:07
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Allow hardware managers to override clean step priority  https://review.openstack.org/18996920:09
JayFrloo: ^ You put comments on that months ago. I just came across a bug in it downstream to discover it was never pushed through. I'd love a re-review on it and I'll make sure it gets completed20:10
rlooJayF: oh. will try to get to it next week. i have been dragging my feet on the OSC CLI stuff and i really want to look into that one today.20:11
*** Marga_ has joined #openstack-ironic20:12
jrolllucasagomes: ++ that sounds good20:14
lucasagomesjroll, I will continue tomorrow and then update the spec20:14
lucasagomesbut so far so good, seems quite simple20:14
lucasagomesI just need refactor some of the get_node_by_* because so they use the same function to pull the properties from the right place20:14
jrollawesome, good stuff :)20:15
jrollyep20:15
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Fix iPXE template for whole disk image  https://review.openstack.org/25536220:18
lucasagomesrloo, ^ updated the release note with ur suggestion20:18
lucasagomesif folks have a time please take a look at ^, it's a simple patch20:18
lucasagomesand with that I will call it a day20:18
lucasagomeshave a great night everyone!20:18
*** lucasagomes is now known as lucas-beer20:19
NobodyCamnight lucas-beer20:20
rloothx lucas-beer20:20
jroll\o lucas20:20
* rloo had a thought about raffling off a +2. 20:20
* rloo goes back to work20:20
*** rajathagasthya has quit IRC20:22
jrollrloo: I have things you can +2!20:22
jlvillaljroll, The devstack plugin stuff sounds great! Thanks20:22
jrollhttps://review.openstack.org/#/c/255879/20:22
jrollhttps://review.openstack.org/#/c/255880/20:22
*** Sukhdev has joined #openstack-ironic20:22
jroll^ need eyes on those, dtantsur|afk had +2s earlier20:22
rloojroll: is that something we urgently want or can it wait til next week?20:23
jrolljlvillal: np. it needs to get done. I was going to save grenade for later, but it's a blocker to finishing the devstack plugin stuff20:23
jrollrloo: I'd prefer sooner than later as it's just the beginning of the work (and it's pretty much copy paste), but it isn't urgent20:23
jlvillaljroll, Sorry that all this training came up. I had no idea it was going to be so long....20:23
jrollrloo: it's devstack plugin so that we can move faster on devstack changes20:23
jrolljlvillal: it's fine20:24
jrollnothing you could do about it20:24
jrollhope you learned a thing or 5 :D20:24
*** rajathagasthya has joined #openstack-ironic20:24
jlvillaljroll, I did! A lot more about OpenStack for sure.20:24
rloojroll: I feel bad about this spec: https://review.openstack.org/#/c/247539/. was going to look/think about it today (and am procrastinating about it)20:24
jrollawesome, then it's worth it20:25
jrollrloo: yeah, that's been lagging, go for it20:25
jrollrloo: hit my patches when you need a mental break, because it's copy/paste and doesn't actually change anything until we make gate changes :)20:25
jrollso if it doesn't work yet it's ok20:25
rloojroll: oh. ok. might not be so bad then. will see...20:26
jrolljlvillal: if you get curious, I'm using this topic for everything https://review.openstack.org/#/q/status:open++branch:master+topic:ironic-devstack-plugin,n,z20:26
rloowhat's NobodyCam up to? Maybe he has a few minutes? ^^20:26
jlvillaljroll, Looking at the patches now...20:26
jlvillalstarting with https://review.openstack.org/#/c/255879/20:26
jrollcool20:27
jrollthanks!20:27
*** rajathagasthya has quit IRC20:27
NobodyCamI was making soup :020:28
rlooNobodyCam: no worries. If you have time, jroll has those devstadck plugin patches.20:29
NobodyCamlookin now()20:30
*** alex_xu has quit IRC20:30
*** athomas has quit IRC20:32
jlvillaljroll, +2 on https://review.openstack.org/#/c/255879/  I compared every file added to what is in devstack and perfect match :)20:32
*** yarkot has quit IRC20:32
jrollcool, thanks man20:32
*** alex_xu has joined #openstack-ironic20:33
*** lucas-beer has quit IRC20:34
jrolljlvillal: oh, and as a note, plugin.sh in the next one is basically the same as extras.d/50-ironic20:34
jrollone minor change20:34
*** dims has quit IRC20:35
*** dims has joined #openstack-ironic20:35
jlvillalOkay20:36
*** dprince has quit IRC20:37
jlvillaljroll, I assume the doc files were left behind intentionally.20:39
jlvillalIn 1st patch20:39
*** lucasagomes has joined #openstack-ironic20:40
jrolljlvillal: there weren't any ironic-specific doc files in devstack, just bits in existing docs20:40
jrollwe should totally add a readme20:40
jrollbut I haven't done it yet20:40
*** e0ne has quit IRC20:41
jlvillaljroll, I was thinking these docs: http://paste.openstack.org/show/481552/20:41
jlvillaldocs/*20:41
jlvillals/docs/doc/20:42
NobodyCamjroll: have you seen this: http://logs.openstack.org/98/255898/5/check/gate-grenade-dsvm/5950b6f/logs/grenade.sh.txt.gz#_2015-12-10_16_53_39_38620:42
jlvillalLooks like at most it would have been one doc file: ./doc/build/html/lib/ironic.html20:43
jrollNobodyCam: yeah, that's further down the road right?20:43
jrollwhere we remove the devstack code20:43
jrollNobodyCam: yeah, so that one needs some work yet - need to finagle grenade20:44
jrollit's on my list20:44
NobodyCam:)20:44
* jroll needs to go get a sandwich, bbiab20:45
NobodyCam:) I have a all hands meeting in 15 too20:45
*** yarkot has joined #openstack-ironic20:46
jlvillaljroll, Ignore my doc comment. Those aren't in git.20:47
*** cdearborn has joined #openstack-ironic20:49
*** jaybeale has joined #openstack-ironic20:58
*** Sukhdev has quit IRC21:01
*** cemason has joined #openstack-ironic21:02
*** Walts has quit IRC21:03
*** [1]cdearborn has quit IRC21:03
*** cemason has quit IRC21:07
*** raildo is now known as raildo-afk21:07
*** baoli has joined #openstack-ironic21:09
jdkSpamapS: which distribution should I use for the IPA ramdisk? it has to support the x710 intel nics with a recent i40e driver21:10
*** rajathagasthya has joined #openstack-ironic21:10
*** mgoddard has joined #openstack-ironic21:11
*** mgoddard_ has quit IRC21:12
*** ukalifon has quit IRC21:13
*** rajathagasthya has quit IRC21:14
devanandaharlowja: just saw your reply on the ironic claims spec21:17
harlowjadevananda :-P21:17
harlowjaya, not trying to start a fire, just trying to understand a few thigns21:17
devanandaharlowja: i'm writing a lenghthy email now ... but ... i want to clarify / get clarification on a few things21:17
harlowjauh ohs21:17
* harlowja runs away21:17
harlowjalol21:17
harlowja:)21:17
devanandaharlowja: it sounds like you're proposing that nova and ironic both write to the same db table21:18
devanandabut that's crazy talk :)21:18
harlowjalets not call it a db table21:18
harlowjalet's call it something else21:18
devanandaharlowja: will the nova team accept such a change?21:18
*** Sukhdev has joined #openstack-ironic21:18
harlowjadb table has to many connotations21:18
harlowjawill they21:18
harlowjathat is the question21:19
harlowjathe million dollar question, ha21:19
devanandawell21:19
*** Sukhdev has quit IRC21:19
devanandaall of my past discussions/interactions with them leads me very much to avoid that21:19
devanandabut hey, let's ask them :)21:20
harlowja;)21:20
*** Sukhdev has joined #openstack-ironic21:20
*** baoli has quit IRC21:20
harlowjadepends on how much flake u feel like taking around xmas, ha21:21
*** baoli has joined #openstack-ironic21:21
devanandaharlowja: zero21:21
harlowja:)21:21
harlowja*i guess its flak, not flake, lol21:27
harlowjawhatever21:27
rlooharlowja: lots of snowflakes would be good!21:27
harlowja;)21:27
mordredTheJulia: you might want to double-check this patch: https://review.openstack.org/#/c/254399/21:28
mordredTheJulia: it changes how the None auth type works, which I know you use in bifrost21:28
mordredTheJulia: it SHOULD work for you21:28
mordredTheJulia: (it turns out that we've been making that much too hard this whole time, and an auth plugin value of None does what you want all this time)21:29
BadCubhey mordred long time no see!21:30
NobodyCamhey hey mordred :)21:31
*** rajathagasthya has joined #openstack-ironic21:31
*** baoli has quit IRC21:32
*** baoli has joined #openstack-ironic21:33
*** kkoski has quit IRC21:33
*** vishwanathj has quit IRC21:34
*** vishwanathj has joined #openstack-ironic21:34
*** caiobo has quit IRC21:34
BadCubmordred: TheJulia asked us to relay that she is away for a while at an appointment21:37
*** baoli has quit IRC21:44
*** baoli has joined #openstack-ironic21:45
jlvillaljroll, Darn, you stole my thunder. I thought I found a valid issue ;)21:48
*** baoli has quit IRC21:52
*** baoli has joined #openstack-ironic21:53
*** Sukhdev has quit IRC21:54
jroll:P21:56
*** Sukhdev has joined #openstack-ironic21:56
JayFjroll.append_to_review_queue(https://review.openstack.org/#/c/189969/, https://review.openstack.org/#/c/254896/) :P21:59
*** baoli has quit IRC22:00
jrollAttributeError: 'NoneType' object has no attribute 'append_to_review_queue'22:00
*** baoli has joined #openstack-ironic22:01
JayFjroll: Hey, apparently I didn't do this right but I'd love a review on 189969 and 254896 </exception_handler>22:01
JayFlol22:01
jrollheh22:01
* jroll appends to queue22:01
*** ionutbalutoiu has quit IRC22:04
*** jdk has quit IRC22:04
*** aginwala has quit IRC22:04
*** alex_xu has quit IRC22:07
*** derekh has quit IRC22:07
*** rajathagasthya has quit IRC22:08
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Add command metrics to IPA API  https://review.openstack.org/11998122:08
*** alex_xu has joined #openstack-ironic22:09
*** praneshp has quit IRC22:11
*** shakamunyi has quit IRC22:12
*** penick has joined #openstack-ironic22:12
*** yarkot has quit IRC22:12
*** spandhe has joined #openstack-ironic22:12
*** baoli has quit IRC22:13
*** baoli has joined #openstack-ironic22:13
*** yarkot has joined #openstack-ironic22:13
*** aginwala has joined #openstack-ironic22:14
*** trown is now known as trown|outttypeww22:14
*** shakamunyi has joined #openstack-ironic22:15
penickhey, so I was chatting with melwitt and she pointed out some problems with my plan to drop resource tracker and go straight to the ironic DB. Really one problem now, but I could see it growing. If I drop the RT and go direct to ironic nodes, then we’ll lose out on host aggregates22:15
*** praneshp has joined #openstack-ironic22:15
penickso, new plan is to look into whether or not we can either a: make RT smarter and event driven for everything, or B: see if at least we can make a smarter ironic RT22:16
harlowjadevananda ^22:16
penickOops, truncated that on accident. Thanks JOsh22:16
penicks/O/o22:16
harlowjanp22:16
*** yarkot has quit IRC22:17
*** david-lyle has joined #openstack-ironic22:20
*** jamielennox|away is now known as jamielennox22:22
*** derekh has joined #openstack-ironic22:24
*** baoli has quit IRC22:24
*** baoli has joined #openstack-ironic22:25
*** kkoski has joined #openstack-ironic22:26
devanandapenick: completely dropping the RT seems like you'll lose a lot more than that22:28
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Add command metrics to IPA API  https://review.openstack.org/11998122:28
devanandaquotas?22:28
devanandapenick: how about RPC? which compute host will the scheduler send a given job to?22:29
*** caiobo has joined #openstack-ironic22:33
*** maratoid has quit IRC22:36
*** baoli has quit IRC22:36
*** baoli has joined #openstack-ironic22:37
penickQuota would be fine, and selecting a compute host could be done by round robining through the hosts, if they’re no longer needed for any scheduling or “ownership” constraints.22:37
*** thrash is now known as thrash|g0ne22:38
penickBut, the primary point being that RT probably needs to be kept, but improved and that moving away from the nova scheduler is the wrong thing to do22:38
penickdevananda: ^22:41
devanandapenick: has there been a discussion of this with the nova-core team yet?22:42
penickNot yet, that’s next. I was going to wait for the midcycle in jan, since that’s coming up22:42
devanandawhy wait?22:43
*** alexpilotti has quit IRC22:43
penickdevananda: It’s a little over a month from the midcycle, so I was going to wait until then.22:43
devanandayes, well, the current solution was discussed at the last midcycle and approved in october22:44
penickdevananda: higher bandwidth discussion seemed better for this22:44
devanandaso waiting two more moths is kinda annoying22:44
penickOk, well, I can fire off an email to the list and we can try to start something sooner22:44
devanandapenick: see PM. I already have an email drafted.22:45
*** rcernin has quit IRC22:45
*** baoli has quit IRC22:48
*** baoli has joined #openstack-ironic22:49
*** alexpilotti has joined #openstack-ironic22:49
*** ndipanov has quit IRC22:52
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Allow hardware managers to override clean step priority  https://review.openstack.org/18996922:54
*** david-lyle has quit IRC22:55
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Allow hardware managers to override clean step priority  https://review.openstack.org/18996922:57
*** baoli has quit IRC23:01
*** baoli has joined #openstack-ironic23:01
*** openstackstatus has quit IRC23:01
*** baoli has quit IRC23:07
*** baoli has joined #openstack-ironic23:11
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Allow hardware managers to override clean step priority  https://review.openstack.org/18996923:13
*** baoli has quit IRC23:17
*** yuanying has joined #openstack-ironic23:18
*** aginwala has quit IRC23:21
mordredBadCub: coolio. and thanks! and hiya!23:24
*** mgoddard has quit IRC23:24
BadCubmordred: you are welcome sir!23:26
NobodyCamhey hey mordred :) hope all is good and well23:26
*** aginwala has joined #openstack-ironic23:26
mordredNobodyCam: you know it!23:26
NobodyCam:)23:26
NobodyCamwow havent seen this name in along while: Creates baremetal poseur nodes for ironic testing purposes23:31
*** Sukhdev has quit IRC23:32
*** rajathagasthya has joined #openstack-ironic23:35
*** derekh has quit IRC23:35
*** cdearborn has quit IRC23:45
NobodyCamjroll: any benifet to removing the devstack review dependicy on 255879. so we can start making changes? its got two +2's already :p23:48
jrollNobodyCam: I'd rather have it there to be sure23:50
jrollwe can approve it, it just won't merge until the devstack change lands23:50
NobodyCamok :)23:50
jrollthanks though!23:51
NobodyCamgreat stuff :)23:51
*** Haomeng has joined #openstack-ironic23:56

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