Tuesday, 2013-10-29

*** anniec has quit IRC00:03
*** matsuhashi has joined #openstack-ironic00:18
*** nosnos has joined #openstack-ironic00:34
*** datajerk has quit IRC00:35
*** datajerk has joined #openstack-ironic00:38
*** anniec has joined #openstack-ironic00:41
*** lnxnut has joined #openstack-ironic01:20
*** anteaya has quit IRC01:43
*** anniec has quit IRC01:51
openstackgerritHaomeng,Wang proposed a change to openstack/python-ironicclient: Support port-list by node_id  https://review.openstack.org/5406501:56
*** rloo has quit IRC02:01
*** anniec has joined #openstack-ironic02:05
*** jianingy has joined #openstack-ironic02:12
*** anniec has quit IRC02:34
*** anniec has joined #openstack-ironic02:35
*** anniec has quit IRC02:48
*** anniec has joined #openstack-ironic03:11
*** matsuhashi has quit IRC03:20
*** matsuhashi has joined #openstack-ironic03:21
*** matsuhashi has quit IRC03:25
*** anniec has quit IRC03:30
*** lnxnut has quit IRC03:43
*** lnxnut has joined #openstack-ironic03:43
*** lnxnut has quit IRC03:48
*** dguitarbite has joined #openstack-ironic04:24
*** dguitarbite has quit IRC04:27
*** dguitarbite has joined #openstack-ironic04:28
*** openstackgerrit has quit IRC04:36
*** openstackgerrit has joined #openstack-ironic04:36
*** matsuhashi has joined #openstack-ironic04:42
*** matsuhashi has quit IRC05:02
*** matsuhashi has joined #openstack-ironic05:03
*** matsuhashi has quit IRC05:08
*** rameshg87 has quit IRC05:53
*** sjing has joined #openstack-ironic06:22
*** r-mibu has quit IRC06:28
*** GheRivero has quit IRC06:28
*** GheRivero has joined #openstack-ironic06:30
*** r-mibu has joined #openstack-ironic06:33
*** prekarat has joined #openstack-ironic06:38
*** prekarat has quit IRC06:42
*** prekarat has joined #openstack-ironic06:56
*** bauzas has joined #openstack-ironic07:39
*** martyntaylor has joined #openstack-ironic07:52
*** martyntaylor has left #openstack-ironic07:52
*** nick_long has joined #openstack-ironic08:04
*** nick_long has quit IRC08:04
*** ndipanov has joined #openstack-ironic08:04
*** jianingy_ has joined #openstack-ironic08:22
*** jianingy has quit IRC08:24
openstackgerritHaomeng,Wang proposed a change to openstack/python-ironicclient: Enable created_at/updated_at for port-show/chassis-show  https://review.openstack.org/5399108:25
*** romcheg has joined #openstack-ironic08:27
*** nosnos_ has joined #openstack-ironic08:29
*** nosnos has quit IRC08:30
openstackgerritHaomeng,Wang proposed a change to openstack/python-ironicclient: Support port-list by node_id  https://review.openstack.org/5406508:51
*** jistr has joined #openstack-ironic08:57
*** nosnos has joined #openstack-ironic09:02
*** nosnos_ has quit IRC09:03
*** prekarat has quit IRC09:04
*** derekh has joined #openstack-ironic09:09
*** prekarat has joined #openstack-ironic09:12
*** sjing has quit IRC09:18
*** lucasagomes has joined #openstack-ironic09:24
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add wrapper for keystone service catalog  https://review.openstack.org/5260109:25
openstackgerritA change was merged to openstack/ironic: Add mailmap file  https://review.openstack.org/5409009:33
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add wrapper for keystone service catalog  https://review.openstack.org/5260109:49
*** epim has joined #openstack-ironic09:52
*** epim has quit IRC09:56
*** prekarat has quit IRC09:59
*** jianingy has joined #openstack-ironic10:06
*** jianingy_ has quit IRC10:08
*** prekarat has joined #openstack-ironic10:12
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Register API options under the 'api' group  https://review.openstack.org/5427710:29
*** nosnos has quit IRC10:31
*** nosnos has joined #openstack-ironic10:32
*** prekarat has quit IRC10:35
*** nosnos has quit IRC10:36
*** prekarat has joined #openstack-ironic10:38
*** prekarat has quit IRC11:11
*** anniec has joined #openstack-ironic11:32
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Expose /drivers on the API  https://review.openstack.org/5315711:35
*** romcheg1 has joined #openstack-ironic11:36
*** romcheg has quit IRC11:41
*** anniec has quit IRC11:45
openstackgerritHaomeng,Wang proposed a change to openstack/python-ironicclient: Enable created_at/updated_at for port-show/chassis-show  https://review.openstack.org/5399112:20
*** jdob has joined #openstack-ironic12:23
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Required fields on nodes  https://review.openstack.org/5366412:23
*** lucasagomes is now known as lucas-hungry12:27
*** romcheg has joined #openstack-ironic12:29
*** jbjohnso has quit IRC12:31
*** romcheg1 has quit IRC12:33
*** linggao has joined #openstack-ironic12:57
*** jdob has quit IRC12:57
*** jdob has joined #openstack-ironic12:57
*** romcheg has left #openstack-ironic12:59
*** anteaya has joined #openstack-ironic13:09
*** romcheg has joined #openstack-ironic13:10
*** jdob has quit IRC13:11
*** jdob has joined #openstack-ironic13:12
*** jbjohnso has joined #openstack-ironic13:28
*** rloo has joined #openstack-ironic13:34
*** dguitarbite has left #openstack-ironic13:52
*** jianingy_ has joined #openstack-ironic13:57
*** jianingy_ is now known as jianingy_afk13:58
*** lucas-hungry is now known as lucasagomes13:59
*** jianingy has quit IRC14:00
NobodyCamgood mornining iRonic14:28
*** lnxnut has joined #openstack-ironic14:30
*** blamar has quit IRC14:30
*** blamar has joined #openstack-ironic14:34
lucasagomesNobodyCam, morning14:35
NobodyCammorning lucasagomes :) how was your holiday14:35
lucasagomesNobodyCam, ah was great! I mostly tried to sorted out the things for HK14:36
NobodyCam:) I have to do that14:36
lucasagomeslike buying a bag cause my last trip to seattle they broke my wheels on the airport14:37
lucasagomesyea14:37
lucasagomesso was productive I'd say :)14:37
lucasagomeshow was ur weekend?14:37
max_loburmorning Ironic! :)14:38
NobodyCamwas good.14:38
lucasagomesmorning max_lobur :)14:44
lucasagomesNobodyCam, nice!14:44
NobodyCammornig max_lobur14:45
NobodyCamhp has a 1 hour call at 8 so I may be slow to respond14:46
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Register API options under the 'api' group  https://review.openstack.org/5427714:49
devanandamorning, all14:54
romchegMorning devananda14:55
NobodyCammorning devananda14:55
NobodyCamdevananda: you doing the hp call?14:56
devanandaya14:56
NobodyCammorning romcheg :)14:56
romchegMorning NobodyCam and everyone else14:56
lucasagomesmorning devananda romcheg14:56
NobodyCam:)14:56
*** openstackgerrit has quit IRC15:00
*** openstackgerrit has joined #openstack-ironic15:01
openstackgerritA change was merged to openstack/ironic: Implement /nodes/UUID/vendor_passthru in the API  https://review.openstack.org/5376115:03
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Expose /drivers on the API  https://review.openstack.org/5315715:28
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Required fields on nodes  https://review.openstack.org/5366415:32
openstackgerritA change was merged to openstack/ironic: Add context to TaskManager  https://review.openstack.org/5314515:32
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Fix test node manager  https://review.openstack.org/5387715:33
openstackgerritA change was merged to openstack/ironic: Update mailmap for Joe Gordon  https://review.openstack.org/5409115:34
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Fix test node manager  https://review.openstack.org/5387715:35
*** yuriyz has joined #openstack-ironic15:39
openstackgerritA change was merged to openstack/ironic: Expose /drivers on the API  https://review.openstack.org/5315715:40
NobodyCamcall over15:45
openstackgerritKevin McDonald proposed a change to openstack/python-ironicclient: Fixes Auth Token being sent as lambda function  https://review.openstack.org/5396315:47
*** jianingy_afk is now known as jianingy_16:26
lucasagomesNobodyCam, devananda any thoughts on squashing things into one like: https://review.openstack.org/#/c/53683/1/ironicclient/tests/v1/test_driver.py16:27
lucasagomesthe fixtures one I agree, the second one I could argue both sides...16:28
lucasagomesI personally like the current style, but I also think that less lines of code is important16:29
*** jianingy_ is now known as jianingy_afk16:29
NobodyCamI like that I can follow the fixture quite easly in its current form16:29
NobodyCamoh bbt and make mo coffee brb16:31
*** romcheg has quit IRC16:32
*** rloo has quit IRC16:38
linggaoHi everyone, one question, can we deploy both vm and baremetal nodes in the same cloud? I thought there was restriction before, not sure about havana.16:38
NobodyCamcurrent compute nodes can not do both.16:40
NobodyCambut youcould have >1 compute16:40
NobodyCamnode16:40
openstackgerritKevin McDonald proposed a change to openstack/python-ironicclient: Fixes Auth Token being sent as lambda function  https://review.openstack.org/5396316:40
linggaoHi NobodyCam, by compute node do you mean the controller?16:41
*** yuriyz has quit IRC16:41
NobodyCamnova compute node16:41
openstackgerritKevin McDonald proposed a change to openstack/python-ironicclient: Fixes Auth Token being sent as lambda function  https://review.openstack.org/5396316:42
linggaoNobodyCam, like for using nova_baremetal, you have to specify compute_driver = nova.virt.baremetal.driver.BareMetalDriver in the nova.conf file16:43
linggaodoes that mean this compute node cannot deploy vm nodes any more?16:43
NobodyCamyes that is the compute node. so that node can only do baremetal16:44
lucasagomesNobodyCam, thanks, yea me too, the fixture one I think even packing it into one line seems looks alright. Now the second one hmmm I personally like the current form16:44
NobodyCamcoluds are made up of many compute nodes16:44
linggaogot it. thanks.16:44
NobodyCam:)16:44
lucasagomeslinggao, NobodyCam I think there's also a problem with the scheduler when mixing both drivers in the same cloud16:51
lucasagomescause we need to use a diff nova scheduler for nova bm in the moment, to pick 100% of the resources when allocating it16:52
devanandalucasagomes: i agree with max' comment -- it's readable as is, and lower delta if we add more tests16:53
devanandaalso, afaik, lucasagomes is correct ^^ there's still problems with >1 scheduler per AZ16:54
devanandabut I believe it's possible to mix bm & vm hypervisors in the same cloud by using separate AZs (though I haevn't done it myself)16:55
linggaodevananda, what is AZ ?16:56
lucasagomesdevananda, great, yea I see the benefits on both sides, having it "expanded" or in one line. And personally I also like more the way the expanded version looks like16:56
devanandaavailability zone16:56
linggaook, thanks guys.16:57
devanandaanyone seen rloo lately, or know if she's working on the power state stuff? I haven't seen a reply on the bug in some days16:59
lucasagomesdevananda, she commented in one of my patches today17:02
lucasagomesnot sure about the power state implementation tho17:02
devanandak17:03
NobodyCamshe was on a while ago17:03
NobodyCam09:41 |-INFO > yuriyz [~yuriyz@194.213.110.71] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]17:03
NobodyCam09:41 |-INFO > yuriyz [~yuriyz@194.213.110.71] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]17:03
NobodyCam09:41 |-INFO > yuriyz [~yuriyz@194.213.110.71] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]17:03
lucasagomes?17:03
NobodyCamgah17:03
NobodyCamkey stuck17:04
NobodyCam09:38 |-INFO > rloo [~rloo@nat/yahoo/x-isdfgtetbdntrsqg] has quit [Quit: Leaving...]17:04
NobodyCamthats what I wanted to past17:04
NobodyCampaste17:04
devanandaty17:04
*** blamar has quit IRC17:19
NobodyCamreboot brb17:19
*** blamar has joined #openstack-ironic17:20
openstackgerritlinggao proposed a change to openstack/ironic: Supports get node by instance uuid in API  https://review.openstack.org/5326217:31
*** ndipanov has quit IRC17:32
*** ndipanov has joined #openstack-ironic17:35
*** rloo has joined #openstack-ironic17:36
NobodyCamHi rloo17:36
rloohi NobodyCam17:36
NobodyCamrloo: devananda was looking for you awhile ago17:37
rloook, i'm around now. thx.17:37
*** derekh has quit IRC17:38
*** rloo has quit IRC17:41
*** rloo has joined #openstack-ironic17:42
*** jistr has quit IRC17:46
openstackgerritA change was merged to openstack/python-ironicclient: Fixes Auth Token being sent as lambda function  https://review.openstack.org/5396317:47
devanandarloo: hi! was wondering if you've made any progress on the powerstate bug. i haven't seen a reply in a bit17:55
linggaoHi max_lobur17:57
max_loburHi linggao17:57
rloohi devananda. Yeah, got bogged down with non-ironic stuff. and also, my tripleo/ironic env doesn't seem to be working, and wanted to test some stuff out.17:57
linggaoI am glad that you reviewed my patch 53485.17:57
rloodevananda. do you have a few cycles? I am thinking of breaking it down into two issues. 1. handle power_state/errors; 2. add reset api17:58
linggaomax_lobur, can we discuss the CLI here so that we can get input from folks here?17:58
NobodyCamrloo: I'm working on the official tripleo element right now17:58
rlooNobodyCam: great. let me know when it works!17:59
max_loburlinggao, sure! any input is welcome =)17:59
max_loburhttps://review.openstack.org/#/c/53485/5/ironicclient/v1/node_shell.py18:00
devanandarloo: i've got to jump on a conf call, but maybe in an hour i can18:00
max_loburhere are the comments18:00
linggaomax_lobur, let me get attendtion from devananda, NobodyCam.18:00
rloook devananda, that's fine.18:00
linggaomax_lobur, devananda, NobodyCam, this is for showing associated nodes from CLI.18:01
linggaoThe current syntax that I have implemented is:18:01
* NobodyCam looks18:02
linggaoironic show <uuid>18:02
linggaoor ironic show --instance-uuid <uuid>18:03
linggaomax_lobur suggested that it is changed to:18:03
linggaoironic show --node-id <uuid>18:03
linggaoironic show --instance-id <uuid>18:04
linggaoany preference from you guys?18:04
linggaoI am ok either way18:04
NobodyCamlinggao: the comand is ironic node-show uuid --instance-id18:04
NobodyCam?18:04
max_loburironic node-show18:04
max_loburyeah18:04
NobodyCam--node-id seems unclear to me18:05
NobodyCam--nova-instance-id?18:05
NobodyCambut for us it is just a instance18:06
linggaothat's a lot of typing for user :)18:06
NobodyCami like --instance-uuid18:07
max_loburI suggested this because changing the behavior of ID arg by the separate flag seems tricky to me18:07
max_loburby default it's considered as node id18:07
max_loburand if flag is mentioned then it's instance id18:07
max_loburthats it18:07
NobodyCammax_lobur: ironic has it's own node-id that is not associated with nova at all18:08
NobodyCamso our node-id is not the instance id18:09
NobodyCamthey are different fields in the db18:09
linggaocurrently "ironic node-show <id>"  takes node id (like 1) or node's uuid.18:09
linggaowhen --instance-uuid is specified, then the <id> is the instance uuid. this is the part that bothers max.18:10
max_loburyea, I know, I'm talking just about comment. I have no questions to relation with nova18:10
max_loburyes, thanks linggao18:10
NobodyCamI have been trying to use only uuid's18:11
rloocan you take an instance id, or only an instance uuid?18:12
NobodyCamlol no18:12
NobodyCamI just try and use only uuid's and not the "id18:13
NobodyCam"18:13
rlooit is aasymetric (sp) no matter how you look at it, unless you want to add a new ironic XX command.18:13
max_loburironic node-show <some_uuid>  --instance-id  -> showing node by an instance-id18:13
rlooand I'm assuming we don't want to modify the existing ironic node-show <id>18:13
max_loburironic node-show <some_uuid>   -> showing node by the node-id18:14
max_loburthats what I found tricky, and proposed to have two separate args for instance and node18:14
NobodyCamnode-show is a detalied look at a single node18:14
rlooironic node-show <id> --instance ?18:15
NobodyCamironic node-list --instance-id=blah18:15
rloopresumably the help will indicate that --instanceXX means that the <id> is an instance uuid or whatever18:15
NobodyCamget back list18:15
linggaouser would use it this way: ironic node-show --instance-uuid <id>18:16
NobodyCamnode-show node id18:16
max_loburironic node-show --instance-uuid <id> -> In that way this clear to me18:16
linggaoyes, it does.18:16
linggaousage: ironic node-show [--instance-uuid] <id>18:17
linggaoShow a node.18:17
linggaoPositional arguments:18:17
linggao  <id>             ID, UUID or instance UUID of node18:17
linggaoOptional arguments:18:17
linggao  --instance-uuid  The id is an instance UUID18:17
max_loburI agree that ironic node-show [--instance-uuid] <id> is OK18:17
NobodyCamnow /me is lost18:18
max_loburI just thought of ironic node-show <id> [--instance-uuid] when wrote those comment =)18:18
linggaook. Let's move to node-list18:18
max_loburyes18:18
max_loburso18:19
linggaousage: ironic node-list [--associated] [--unassociated]18:19
linggaoList nodes.18:19
linggaoOptional arguments:18:19
linggao  --associated    Show the nodes that have instance UUID associated18:19
linggao  --unassociated  Show the nodes that do not have instance UUID associated18:19
max_loburwhat would you expect to see when both args are specified? =)18:20
NobodyCamerror18:20
NobodyCam:-p18:20
max_loburagree, as an option =)18:20
max_loburanother - to see all nodes. But this is too tricky =)18:20
max_loburso I proposed to switch to a single argument18:21
linggaook, I'll add that.  I hope there is a way to specify that these flags are mutual exclusive.18:21
linggaodoes anyone know how?18:21
rlooso in nova, they tend to do something like --associated=1, so you could do --associated=0 to mean unassociated?18:21
max_loburyep - the third option is to make those flags mutual exclusive18:21
linggaoyes, that's also okay with me.18:21
NobodyCam+1 on exclusive18:22
max_loburyeah, I saw that flags like  --associated=0 or  --associated=118:22
max_loburbut18:22
NobodyCam--associated set error you can not set --unass..18:22
max_loburI we decide to go that way18:22
max_loburWhy don't we have a 'null', 'notnull' instead of 0, 118:23
rloomax_lobur, not sure what you mean. --associated=null?18:23
NobodyCamrloo: was there not a issues with 0 as a value?18:23
rlooNobodyCam. I have no idea. I only jumped into this discussion now. Isn't associated just a flag thing?18:24
rloo0/1, true/false. whatever.18:24
max_loburcurrently is18:25
max_loburand I proposed to take sting argument18:25
rloowhy a string arg?18:25
linggaoif we have 2 mutual exclusive flages, then we do not have to worry about values ;-)18:25
rloobtw, --associated w/o specifying a value, would default to 1/on/True.18:25
max_loburlinggao, agree =)18:26
rlooso you want to go back to --associated and --unassociated?18:26
linggaothen, how about this, if both flags are there, I'll add an error messages.18:26
max_loburIf it's hard to explain then it will be more hard to understand this to the user =)18:27
max_loburlinggao, I like that too18:27
rloothe nice thing about an option/arg that takes values, is that it makes it easy to programmatically generate the command.18:27
linggaoI just hope we have exclution  built in the arg structure.18:27
rloothe other thing we should note is that we ought to be consistent. so if we go with two mutually exclusive flags here, we should do that in all other cases where there is some sort of binary choice for a command.18:28
max_loburrloo, good point18:28
rlooi am not familiar enough with ironic/api to know which way to go.18:29
NobodyCamlucasagomes: you around still?18:31
linggaoFor API, I have added /nodes/?instance_uuid=null  or notnull18:31
linggaothat's why max_lobur suggest we use thoese values for the CLI.18:32
max_loburyes, the API approach seems more obvious to me than two flags18:33
NobodyCamya now I'm kinda leaning to --associated=18:33
linggaobut on the other hand, --assoicated is like a switch.18:34
max_loburthe problem is that this is an optional switch18:35
linggao0 or 1 makes more sense.  unless we do thisL ironic nodelist instance_uuid=null18:35
rloo--instance_uuid=null?18:35
max_loburif this switch wasn't specified it doesn't mean that it's False. It means that it should not be used at all18:35
max_loburso if we go with a single arg18:36
linggaobrb, you guys keep talking.18:36
lucasagomesNobodyCam, hey yea18:36
max_loburwe can have --associated=1 -> get all associated18:36
max_lobur-- associated=0 -> get all which are not associated18:37
max_lobur[-- associated not specified] - get all nodes18:37
max_loburor, if we swich to a string arg18:37
max_loburlike in comment18:37
max_lobur--instance_association = 'notnull' -> get all associated18:38
max_lobur--instance_association = 'null' -> get all that not associated18:38
max_lobur...18:38
* linggao back18:39
lucasagomesI tend to agree with max_lobur on having only one argument, having two might lead people to think that they can specify both at the same time18:39
rlooi hate coming up with apis.18:39
* linggao too18:40
max_loburrloo, =)18:40
lucasagomesnot 1/0, or null/notnull, I would vote to be as much as close to the API implmentation as possible, if when filtering the instances_uuid in the api we use the null/notnull keyword18:41
rlooi am wondering about who will use the cli, and whether null/notnull is 'intuitive' or should be 'intuitive' to that user.18:41
lucasagomesI would do the same on the CLI18:41
rlooah yes, lucasgomes, it does make sense to have the cli and api similar.18:42
linggaokeep in mind, user do not have to put = there.  --associated=1 and --asociated 1 is the same on CLI .18:43
max_loburlinggao, thanks18:43
linggaoso is --instance_uuid=null and --instance_uuid null18:43
max_loburI think we need to name it like --instance_association, because I would expect and uuid entered for --instance_uuid and not a 'null'/'notnull'18:45
lucasagomes+118:45
max_loburor something like this18:45
devanandarloo: back18:45
rloolucasagomes: thx for your reply to https://review.openstack.org/53664. My head hurts just reading it though. I will have to find some time to grok it, but as long as that error string makes sense to you that is fine.18:45
rloodevananda, hi.18:45
NobodyCamwb devananda18:45
rloodevananda: so i was going to tackle the power_state/error thing first, then the new reset api second. does that make sense? i wasn't sure what was more critical.18:46
lucasagomesrloo, np :) yea the patch() part is a a bit confusing18:46
devanandarloo: "new reset api" ?18:47
rlooa reset command to reset states in case they are wedged.18:47
rlooisn't that what you also wanted? or was that lifeless.18:47
devanandaah18:48
devanandathere was another conversation about reset, unrelated18:48
devanandarloo: so yes, the power state thing first makes more sense18:48
devanandarloo: to me, because if you implement a power-state-reset now, you'll have to change that when you change the power-staet18:49
rloodevananda : yup, sorry that was lifeless, 'allow overrides by admins'.18:49
devanandai think the way i was proposing to change it wouldn't require an override18:49
devanandabut IMBW18:49
rloodevananda. wrt last_error: is 'last_error' ok? and what value (I was thinking of exception string?)18:49
lifelessrloo: I didn't ask for a reset API; I asked for the ability to fix things; perhaps you mean that when you say reset api.18:50
rloolifeless: yes, in order to fix things like db setting being 'wrong', need some sort of api.18:50
rlooor modify db directly.18:50
devanandarloo: last_error as a VARCHAR(255) field in the DB. exception message (but not a stack trace) seems fine18:50
lifelessrloo: so reset is an overloaded term.18:51
lifelessrloo: it might mean reset on a machine18:51
lifelessrloo: it might mean start-a-task-over18:51
rloolifeless: true, I shouldn't have used reset.18:51
lifelessrloo: it might mean <.. several other things>18:51
rloodevananda: i was thinking TEXT, cuz I had no idea how long msgs might be, but VARCHAR(255) is fine.18:52
devanandaI think my comment actually addressed the needs of "reset the power state"18:52
devanandapower_state -- always represents current power state. Any power operation sets this back to "actual" when done (whether successful or not). Also, we should add a periodic_task to sync this. Set to ERROR only when unable to get the power state from a node.18:52
devanandaif we do ^, then the power_state field won't need a "reset", because just issuing a driver.power.get_power_state() will update it18:53
devanandaand we should allow changing target_power_state any time the node is not locked18:53
devanandaby clearing the target_power_state when ever any requested power state change finishes (whether it completes successfully or not) we prevent needing to "reset" that field, as well18:54
devanandaand then storing the error in a third field (last_error) allows the user to still see the error, without needing to clear an "error" state from one of the other two fields18:54
devananda<EOL>18:54
rloodevananda: thx. and wrt the last_error. Do we need to add a new API to expose it? Or wait, I'll ask that question again after I get the plumbing done.18:55
linggaomax_lobur so it looks like everyone agrees on using 1 flag instead of 2.18:55
devanandaasking now is good18:55
rloodevananda: well, I still have lots to learn, so I figure maybe I'll have an opinion by the time I've coded the rest ;)18:56
linggaomax_lobur, have we decided on the value to use?18:56
devanandarloo: we dont need a "new API". we will need to add a new property to ironic/api/controlers/v1/node.Node18:56
devanandarloo: and to the client to match18:56
linggaomaybe we wait on devananda, after he is done with rloo.18:57
devanandarloo: this bug will require adding a field to the DB, adding a property to the RPC and API object models, and implementing some changes in the conductorManager18:57
rloodevananda. Ah. Thx. (I still need to come up-to-speed on existing api/cli.)18:57
devanandathere'll be a small CLI change too (but very small)18:57
devanandalinggao, max_lobur - what's up? parallel is fine. I need to go get breakfast soon :)18:58
max_loburlinggao, yea, the discussion subsided18:58
devanandalinggao: is this re: ironic node-show --instance-uuid <xxx>18:58
devananda?18:58
max_loburdiscussion topic is 2nd comment https://review.openstack.org/#/c/53485/5/ironicclient/v1/node_shell.py18:58
linggaodevanda: usage: ironic node-list [--associated] [--unassociated]18:58
linggaoList nodes.18:58
linggaoOptional arguments:18:58
linggao  --associated    Show the nodes that have instance UUID associated18:58
linggao  --unassociated  Show the nodes that do not have instance UUID associated18:58
rloodevananda: yeah, i have the field added to db already, and I think the properties done too. just that i want to test it to see what I got wrong. btw, if you need it done asap and want to just code it (faster for you), I am fine with that.18:58
linggaodavananda, folks, do not like 2 flags18:59
linggaoso we decided to use 1 flag.18:59
linggaothen the choice would be:18:59
linggaoironic node-list18:59
linggaoironic node-list --associated=0 or 118:59
linggaoironic node-list --instance-association=null or notnull19:00
NobodyCamapi is null notnull?19:00
linggaowhich flag do you prefer.19:00
linggao?19:00
max_loburNobodyCam, yea api uses null notnull19:01
devanandarloo: if you'd like to put up what you have as a draft (git review -D) I'm happy to provide soem feedback early19:01
NobodyCamI say match api19:01
max_loburlike ?instance_uuid=notnull19:01
max_loburor ?instance_uuid=null19:01
devanandarloo: and it's OK to fix it in parts. doesn't need to be one giant patch19:01
lucasagomesassuming the API uses the null/notnull keyworkds, I would use it on the CLI as well19:01
linggaoyes, that's for API.19:01
NobodyCamassociated=null / associated=notnull19:02
rloodevananda: Let me try to get ironic working outside of unit tests first, to see where it blows up first. hopefully by end of today. thx.19:02
NobodyCamrloo: I'm happy to help with any issuse you come across in setting up a dib env19:02
devanandalinggao: i don't like a boolean option :)19:03
rlooNobodyCam. ok thx. I'm in the middle of setting it up (seed running, going to do undercloud w ironic) so cross my fingers...19:03
*** anteaya has quit IRC19:03
devanandalinggao: what about ironic node-list | node-list-associated | node-list-unassociated19:04
devanandalinggao: three separate commands19:04
NobodyCamrloo: you using the current walk thru?19:04
max_loburdevananda, yea, thought about this too19:04
max_loburlooks cool to me19:04
max_loburbut searched through nova19:04
lucasagomesrloo, (I don't know if it helps) but the way ironic will manage the power state of the nodes is similar to the way the ibm pureapplication does it (having 3 fields for the power state, but in our case we have a dictionary instead of 3 attributes at the root of the resource): http://pic.dhe.ibm.com/infocenter/psappsys/v1r0m0/index.jsp?topic=%2Fcom.ibm.puresystems.appsys.1700.doc%2Fpsapsys_restapi%2Fmanagement_nodes.html19:04
devanandalinggao: i don't want users of the CLI to have to know about our particular keywords "null" and "notnull", or use 0/1 true/false etc19:04
rlooNobodyCam. Yeah, but with an older version of tripleo that was working. I tried with the latest yest and things didn't work.19:04
max_loburand there are no similar things19:05
max_loburalso imagine if we have something more =)19:05
devanandamax_lobur: this is coming from nova's driver API19:05
devanandaso you can find it there19:05
devanandanot in the CLI19:05
linggaodevananda, then how about the origina  node-list [--associated|--unassociated] ?19:05
devanandalinggao: I'm fine with that19:05
devanandanode-list => all19:06
linggaoyes19:06
NobodyCamlucasagomes: should we land 52902?19:06
linggaomax_lobur ?19:06
NobodyCamor are you planning another version?19:06
devanandanode-list [--option] => filtered list19:06
lucasagomesNobodyCam, oh no, I will add more things to it19:06
rloolucasagomes: thx for the ptr to ibm purapplication.19:06
devanandataht seems totally reasonable to me19:06
lucasagomeslemme put as a WIP19:06
NobodyCam:)19:06
max_loburdevananda, linggao agree with original too19:07
linggaook, I'll make sure the 2 flags are mutual exclusive.19:07
max_loburyea, I gree with that19:07
devananda++19:07
*** anteaya has joined #openstack-ironic19:08
linggaothanks max_lobur, devananda, NobodyCam, rloo, lucasagomes for working on the CLI together.19:08
max_loburYes, thanks Everyone for the discussion19:09
max_lobursorry if it was a little messy =)19:09
lucasagomesthanks u guys :)19:09
NobodyCam:)19:09
lucasagomesI'm done for today (starving now)19:09
lucasagomeshave a good night everyone!19:09
max_loburg'night lucasagomes19:09
NobodyCamlol Good nught lucasagomes19:10
devanandaI think it's great ya'll had a good discussion while I was afk :)19:10
max_loburI'm leaving too19:10
devanandacheers!19:10
linggao:)19:10
devanandai'm going to run out for food, too. bbiah19:10
NobodyCam:)19:10
*** lucasagomes has quit IRC19:10
max_loburg'night All19:10
NobodyCamgood night max_lobur19:10
*** anniec has joined #openstack-ironic19:24
*** anniec has left #openstack-ironic19:24
rloohi NobodyCam.19:26
NobodyCamhi rloo19:26
rloohave you recently used tripleo+ironic?19:26
NobodyCamyes19:26
rlooi am not sure what I did, but things aren't working. I'm going to start from scratch.19:27
NobodyCambefor you do that what is happening?19:27
rlooso I should be able to use the latest and greatest tripleo + ironic.19:27
NobodyCamwhat is not working?19:27
rloothe baremetal vm is trying to 'spawn' itself. but it doesn't seem to be able to find the image to boot from.19:28
NobodyCamok so seed vm is working19:28
rlooyes, this is using an older tripleo. i tried a new one yesterday and i don't remember now, what didn't work, so i thought i could go back. but you can never go back ;)19:29
rlooi'll just start again with new, and try to figure that out. as far as you know, the walkthrough instructions are still the same?19:30
NobodyCamok so with a working seed vm build a undercloud vm with the ironic elelmet from the walkthru19:30
NobodyCamload that undercloud + ironic image and deploy it as the under cloud19:31
rlooyeah, using heat. and that is what is not working.19:32
NobodyCamoko what is the error? check seedvm:/var/log/upstart/heat-engine.log19:32
rlooFailed to read /etc/heat/environment.d19:34
NobodyCamhumm19:35
NobodyCamok I'm going to resetup my env right now.19:36
rlooI don't know if that is a red herring or not though, since I don't know anything about heat or what might be in that file. it does some other stuff. I may be out of sync. so I'm going to restart. if I have to debug, might as well use the latest and greatest.19:37
rloothx!19:37
NobodyCamok booting seed vm now19:39
NobodyCamgah downloading new cloudimage :-p19:41
rloooh oh. Hopefully it is a more improved version :-)19:42
NobodyCamlol19:42
NobodyCambrb19:53
*** harlowja has quit IRC20:04
*** harlowja has joined #openstack-ironic20:05
*** jmk__ has joined #openstack-ironic20:09
*** anniec has joined #openstack-ironic20:13
*** jmk__ has quit IRC20:16
NobodyCamok seed vm booted configed. ironic undercloud built20:30
NobodyCamheat stack creating now20:31
*** jdob has quit IRC20:31
openstackgerritlinggao proposed a change to openstack/python-ironicclient: Modifies CLI to show nodes by instance uuid  https://review.openstack.org/5348520:33
NobodyCamquick walkies brb20:36
rlooNobodyCam, before I forget. I noticed that tripleo/tripleo-heat-templates has an 'ironic-source.yaml' file. (whereas we're using ironic.yaml from you.)20:39
*** anniec_ has joined #openstack-ironic20:42
NobodyCamyes that landed20:43
*** anniec has quit IRC20:43
*** anniec_ is now known as anniec20:43
NobodyCamI'm going drop off for about a 1/2 an hour ... need to move20:43
rlooNobodyCam: does it matter, which one to use?20:43
rlooNobodyCam: that's a fast move :-)20:44
NobodyCamI use the one in with the element jsut because It's been tested20:44
NobodyCamlol Life of a homeless person20:44
NobodyCamwell not really homeless...20:45
NobodyCambbaib20:45
*** linggao has quit IRC20:54
devanandaback20:57
*** rloo_ has joined #openstack-ironic20:59
*** anniec has left #openstack-ironic21:03
*** rloo has quit IRC21:07
*** creiht has quit IRC21:07
*** creiht has joined #openstack-ironic21:14
NobodyCamhouse movied21:17
NobodyCammoved even21:17
NobodyCamwb devananda21:17
*** lnxnut has quit IRC21:19
*** romcheg has joined #openstack-ironic21:27
openstackgerritJenkins proposed a change to openstack/ironic: Updated from global requirements  https://review.openstack.org/5442421:30
openstackgerritJenkins proposed a change to openstack/python-ironicclient: Updated from global requirements  https://review.openstack.org/5443021:32
*** harlowja has quit IRC21:36
NobodyCamrloo_: are you getting a error sshing to the undercloud?21:37
rloo_NobodyCam. Yes, how did you guess?21:37
*** harlowja has joined #openstack-ironic21:37
NobodyCami am getting that too21:37
rloo_i can ping, and it shows the vm as 'active'.21:38
rloo_in a meeting now so haven't been able to look into it.21:38
NobodyCamI have console access21:38
NobodyCamI'm looking in to it now21:38
*** jbjohnso has quit IRC21:49
anteayais there anyone in here that is in China right now?22:07
*** anniec has joined #openstack-ironic22:07
anteayajust trying to see if I will be able to access my gmail account from my tablet in hk22:07
*** harlowja has quit IRC22:08
anteayaif anyone is they are probably asleep22:08
NobodyCam:-p22:09
NobodyCamyou "SHOULD" be able to22:10
Haomeng|2anteaya:ping22:10
Haomeng|2Iam fromChina:)22:10
NobodyCamthere's always starbucks22:10
NobodyCamhey Haomeng|2 :)22:10
Haomeng|2:)22:11
* NobodyCam hopes his Galaxy s3 will just work22:11
*** anniec has quit IRC22:11
Haomeng|2anteaya:yes, wecan access gmail in China22:13
anteayaHaomeng|2: okay great thank you22:15
anteayaa friend suggested I use this sight: http://www.greatfirewallofchina.org22:15
Haomeng|2:)22:15
anteayato evaluate what will work in hk22:15
anteayaand my gmail won't22:15
Haomeng|2but i cannot access http://www.greatfirewallofchina.org/ now22:16
anteayaHaomeng|2: can you ping this server? 15.185.154.23522:16
anteayaha ha ha22:16
Haomeng|2if you worry about the china firewall22:16
Haomeng|2you can install goagent22:16
Haomeng|2In China, govement will block some website by official:)22:17
Haomeng|2Oops! Google Chrome could not connect to 15.185.154.23522:17
Haomeng|2welcome22:17
NobodyCamlol22:18
Haomeng|2anteaya: do you have google application engine account?22:18
Haomeng|2I suggest you install goagent to be backup solutionfor internete accessing22:19
Haomeng|2:)22:19
devanandarandom nifty stats for you guys ahead of my talk next week22:20
devanandain the six months since ironic was git filterbranch'd from nova22:21
devanandawe have ~300 commits from 30 developers in 13 different companies22:21
anteayaHaomeng|2: I will look at goagent22:21
anteayaI will be on an android tablet22:21
Haomeng|2devanada:great work22:21
anteayaso hopefully goagent will work on android22:22
NobodyCamwoo22:22
Haomeng|2goagent support android22:22
anteayadevananda: w00t22:22
Haomeng|2devananda:do you have time,want to discuss with you about https://bugs.launchpad.net/ironic/+bug/1244348 solution22:23
devanandaHaomeng|2: sure22:23
Haomeng|2I want to add code to catch  UniqueConstraint validation exception to do EAFP22:23
devanandai see your comments on bug -- i'll respond22:24
*** romcheg1 has joined #openstack-ironic22:24
Haomeng|2and I think we can keep the current logic- checking existing one before portgreat, right?22:24
Haomeng|2ok, devananda, no rush22:24
devanandabasically yes :)22:24
Haomeng|2I will commit the fix today22:24
Haomeng|2and help me review22:24
Haomeng|2:)22:24
Haomeng|2ifyou have time'22:24
Haomeng|2I understand you are busy:)22:24
*** romcheg has quit IRC22:25
devanandatry: insert; except DBDupKey: raise PrettyError;22:25
devanandabasically what you said is correct22:25
Haomeng|2and for another one - https://bugs.launchpad.net/ironic/+bug/1244541, looks like there isno db level UniqueConstraint validation exception , so itis diffcult to do EAFP22:26
Haomeng|2yes,I will create the  UniqueConstraint validation exception case to have test to see the exception type andinstance22:26
devanandaHaomeng|2: I'm nt sure there should be a UX on instance_uuid. but even if there were, taht wouldn't solve that bug22:27
devanandaHaomeng|2: the problem with 1244541 is that the API will simply overwrite an existing instance_uuid value22:28
devanandarather than fail if the row is non-null22:28
devanandatake a look at ....22:28
Haomeng|2yes22:28
anteayaHaomeng|2: can you see this: https://etherpad.openstack.org/p/icehouse-summit-more-salt-in-infra22:28
devanandahttp://git.openstack.org/cgit/openstack/nova/tree/nova/virt/baremetal/driver.py#n22622:29
Haomeng|2I understand 1244541 case, just want to discuss with you thesolution22:29
devanandaand22:29
devanandahttp://git.openstack.org/cgit/openstack/nova/tree/nova/virt/baremetal/db/sqlalchemy/api.py#n19022:29
devanandathat ^ is the solution22:29
devanandaatomic "set instance_uuid on one and only one row, or raise exception"22:30
Haomeng|2ok, got it22:30
Haomeng|2will try to fix,thankyou devananda22:30
devanandabasically must be implemented at DB layer: UPDATE .. SET col=value WHERE node.id=xxx AND node.instance_uuid=NULL; if rows_affected != 1: raise22:30
devanandaHaomeng|2: thank you!22:30
Haomeng|2yes, should be working on db level22:31
Haomeng|2anteaya, I can acces https://etherpad.openstack.org/p/icehouse-summit-more-salt-in-infra22:31
anteayaHaomeng|2: well that is good news22:31
anteayahmmm, how to ssh into my hpcloud servers22:32
*** romcheg1 has quit IRC22:32
anteayaI don't have root access on my android tablet22:32
NobodyCamwhy do you need root?22:32
Haomeng|2this is guideline for goangent on android https://play.google.com/store/apps/details?id=org.gaeproxy&hl=en22:33
*** romcheg has joined #openstack-ironic22:33
NobodyCamanteaya: https://play.google.com/store/apps/details?id=sk.vx.connectbot&hl=en22:33
anteayayeah I have connectbot22:33
anteayagoangent on android needs to be root, says the instructions22:34
NobodyCamso what do you need root for?22:34
NobodyCamahh22:34
NobodyCam:-p22:34
Haomeng|2yes22:34
anteayaso I have sshed into my hpcloud servers all day on my tablet22:35
anteayathat is what I have been doing today22:35
Haomeng|2cool22:35
anteayabut Haomeng|2 can't ping them22:35
anteaya:(22:35
NobodyCamping I can see22:35
anteayaso my gmail backed email, good, etherpad, good, not my hpcloud servers22:35
NobodyCamHaomeng|2: can you try ssh to anteaya's addy22:36
Haomeng|2ok22:36
Haomeng|2I tested22:36
NobodyCamconnect?22:37
Haomeng|2ssh working for accessing  15.185.154.23522:37
anteayawhat was the output?22:37
Haomeng|2yes22:37
*** jbjohnso has joined #openstack-ironic22:37
anteayagreat22:37
NobodyCamawesome22:37
anteayaso I'm good then?22:37
NobodyCamicomp blocked22:37
NobodyCamno biggie22:37
anteayawhat is icomp22:37
NobodyCamicmp22:37
anteayaping uses it?22:37
Haomeng|2output is "login as: "22:37
anteayagreat22:37
anteayathanks Haomeng|222:37
NobodyCamya thats port 5322:37
NobodyCamssh is port 2222:37
Haomeng|2the previous try is http iused22:37
NobodyCamthats port 8022:37
anteayaI am relieved22:37
Haomeng|2I understand thatisweb first22:37
Haomeng|2:)22:37
anteayaah22:38
Haomeng|2so canj not access22:38
Haomeng|2:)22:38
Haomeng|2sorry for confusing22:38
*** anniec has joined #openstack-ironic22:38
anteayano worries22:38
anteayathanks for being in china22:38
anteaya:D22:38
Haomeng|2welcome all of you come toChina HK22:38
anteayayes22:38
NobodyCam:) look forward to meeting22:38
anteayagetting ready22:38
Haomeng|2but I will not attend HK meeting:)22:38
anteayano22:38
NobodyCamahh22:38
Haomeng|2:)22:38
anteayawhy not22:38
NobodyCamit close to you?22:38
Haomeng|2not sure22:38
NobodyCam:(22:39
Haomeng|2depeds on my boss:)22:39
Haomeng|2maybe because I amnew guy :)22:39
NobodyCamyou need to at least come thrusday22:39
NobodyCamthats the ironc track22:39
Haomeng|2yes, expect, but cannot:)22:40
NobodyCam:-p22:40
anteayaI hope you get there for one day22:40
anteayawould be nice to meet you22:40
anteayathanks for your help22:40
Haomeng|2I haveanother team member SunJing, she is girl will attend Ironic BP discusstion about her firmware updating22:40
Haomeng|2maybe you can see her22:40
NobodyCam:) yes we will :)22:41
Haomeng|2yes, feel badly for22:41
Haomeng|2and I will get feedback from her22:41
Haomeng|2and some other guys22:41
Haomeng|2maybe just one persion is her to focus onIronic22:42
Haomeng|2project22:42
NobodyCam:)22:42
NobodyCamyour doing a great job22:42
Haomeng|2dont think, just fix some minor defects:)22:43
*** anniec has quit IRC22:43
Haomeng|2need more time to understand indeep22:43
NobodyCamgota start somewhere :)22:43
Haomeng|2:)22:43
Haomeng|2thank you22:43
*** anniec has joined #openstack-ironic22:47
*** anniec has quit IRC23:00
* NobodyCam looks for some food23:03
*** romcheg has left #openstack-ironic23:03
*** harlowja has joined #openstack-ironic23:08
*** anniec has joined #openstack-ironic23:33
NobodyCamrloo_: check the line you booted seed vm with.23:43
NobodyCamfor me the fix was :23:43
NobodyCam#boot-seed-vm -a $NODE_ARCH $NODE_DIST bm-dnsmasq23:43
NobodyCamboot-seed-vm -a $NODE_ARCH $NODE_DIST neutron-dhcp-agent23:43
rloo_hmm. I used neutron-dhcp-agent. Let me check.23:44
NobodyCamI just updated all my local repos and made the above change23:44
NobodyCamjust got to: Service baremetal created with password b70d1b18540869d48c844b9d5c482d36614e887c23:45
NobodyCam:-p23:45
rloo_NobodyCam. When you booted the undercloud image. Did you use the walkthru instructions, or tripleo instructions? I used tripleo.23:45
rloo_Yay NobodyCam! There is hope yet :-)23:46
rloo_ie, I didn't do the if [ $DHCP_DRIVER" = "bm_dnsmasq" ] ; ... part. Hmm, you probably didn't either.23:46
NobodyCamrloo_: I guess the walk thru. its devtest with a slight diff to add ironic23:47
NobodyCamnope23:47
*** rloo has joined #openstack-ironic23:49
*** devanand1 has joined #openstack-ironic23:53
*** rloo_ has quit IRC23:58
*** devananda has quit IRC23:58
*** lynxman has quit IRC23:58
*** lynxman has joined #openstack-ironic23:59

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