Thursday, 2013-10-31

Haomengdevananda:ping00:12
NobodyCamHaomeng: he is flying today00:18
HaomengNobodyCam, ok thanks, I think he is going toHK now:)00:23
Haomengjust one concern,  based on devananda comments, we can run some customized sql to do some special query,00:24
Haomengthis is the comments "basically must be implemented at DB layer: UPDATE .. SET col=value WHERE node.id=xxx AND node.instance_uuid=NULL; if rows_affected != 1: raise"00:24
Haomengdo you have idea if our sqlalchemy support such special sql query?00:24
HaomengNobodyCam, I found the fix byhim - http://git.openstack.org/cgit/openstack/nova/tree/nova/virt/baremetal/db/sqlalchemy/api.py#n190, so thankyou:)00:26
Haomengno question now:)00:27
*** matsuhashi has joined #openstack-ironic00:29
NobodyCamnope not hk yet00:34
NobodyCam:)00:35
Haomeng:)00:40
*** nosnos has joined #openstack-ironic01:05
*** matsuhashi has quit IRC01:11
*** matsuhashi has joined #openstack-ironic01:12
*** sjing has joined #openstack-ironic01:19
sjingMorning, Ironic01:42
HaomengMorning Jing:)01:43
sjingHi Hao Meng01:48
Haomeng:)01:50
*** lnxnut_ has joined #openstack-ironic02:01
*** lnxnut has quit IRC02:01
*** lnxnut_ has quit IRC02:03
*** michchap has joined #openstack-ironic02:29
*** rloo has quit IRC02:53
*** kobier has joined #openstack-ironic03:22
*** crandquist has quit IRC03:26
*** prekarat has joined #openstack-ironic04:00
*** matsuhashi has quit IRC04:12
*** matsuhashi has joined #openstack-ironic04:13
*** matsuhashi has quit IRC04:17
*** nosnos has quit IRC04:17
*** nosnos_ has joined #openstack-ironic04:17
*** nosnos_ has quit IRC04:22
*** nosnos has joined #openstack-ironic04:23
*** nosnos has quit IRC04:26
*** nosnos has joined #openstack-ironic04:29
*** nosnos_ has joined #openstack-ironic04:33
*** nosnos has quit IRC04:37
*** matsuhashi has joined #openstack-ironic05:04
*** slogneo has joined #openstack-ironic05:23
*** nosnos_ has quit IRC05:28
*** nosnos has joined #openstack-ironic05:28
*** anniec has joined #openstack-ironic05:30
*** anniec has quit IRC05:31
*** anniec has joined #openstack-ironic05:39
*** anniec has left #openstack-ironic05:39
*** slogneo has quit IRC05:42
*** anniec_ has joined #openstack-ironic05:55
*** nosnos_ has joined #openstack-ironic06:06
*** nosnos has quit IRC06:08
*** michchap has quit IRC06:10
*** michchap has joined #openstack-ironic06:13
*** michchap has quit IRC06:13
*** michchap has joined #openstack-ironic06:14
*** martyntaylor has joined #openstack-ironic06:33
*** jianingy has joined #openstack-ironic06:44
*** nosnos_ has quit IRC07:22
*** nosnos has joined #openstack-ironic07:22
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Change Port create API to EAFP  https://review.openstack.org/5453707:40
*** rushiagr has joined #openstack-ironic07:45
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Change Port create API to EAFP  https://review.openstack.org/5453707:46
*** bauzas has joined #openstack-ironic07:50
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Change Port create API to EAFP  https://review.openstack.org/5453707:55
*** prekarat has left #openstack-ironic08:04
*** prekarat has joined #openstack-ironic08:04
*** jianingy is now known as jianingy_afk08:05
*** anniec_ has quit IRC08:06
*** blamar_ has joined #openstack-ironic08:11
*** blamar has quit IRC08:12
*** blamar_ is now known as blamar08:12
*** matsuhashi has quit IRC08:14
*** matsuhas_ has joined #openstack-ironic08:17
*** jistr has joined #openstack-ironic08:28
*** sjing has quit IRC08:40
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Fix i18N compliance  https://review.openstack.org/5468708:47
*** matsuhas_ has quit IRC08:54
*** matsuhashi has joined #openstack-ironic08:55
*** matsuhashi has quit IRC08:59
*** rushiagr has quit IRC09:02
*** matsuhashi has joined #openstack-ironic09:02
*** rushiagr has joined #openstack-ironic09:03
*** prekarat has quit IRC09:04
*** rushiagr has left #openstack-ironic09:11
openstackgerritHaomeng,Wang proposed a change to openstack/python-ironicclient: Fix i18N compliance  https://review.openstack.org/5468909:12
*** prekarat has joined #openstack-ironic09:19
*** lucasagomes has joined #openstack-ironic09:22
openstackgerritHaomeng,Wang proposed a change to openstack/python-ironicclient: Fix i18N compliance  https://review.openstack.org/5468909:27
*** matsuhashi has quit IRC09:28
*** matsuhashi has joined #openstack-ironic09:29
*** derekh has joined #openstack-ironic09:30
*** matsuhashi has quit IRC09:33
*** matsuhashi has joined #openstack-ironic09:42
*** ndipanov_gone is now known as ndipanov09:46
*** matsuhashi has quit IRC10:04
*** matsuhashi has joined #openstack-ironic10:08
*** matsuhashi has quit IRC10:12
*** lucasagomes has quit IRC10:19
*** derekh has quit IRC10:20
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add driver interfaces validation  https://review.openstack.org/5459310:22
*** lucasagomes has joined #openstack-ironic10:22
*** matsuhashi has joined #openstack-ironic10:26
*** derekh has joined #openstack-ironic10:35
*** matsuhashi has quit IRC10:46
*** matsuhashi has joined #openstack-ironic10:47
*** matsuhashi has quit IRC10:51
*** nosnos has quit IRC10:51
*** romcheg has joined #openstack-ironic10:53
romchegHi folks10:53
romcheglucasagomes: Are you around?10:54
Haomenghow are you romcheg:)10:54
romchegHaomeng: I'm quite good, thanks!10:54
romchegYourself?10:54
Haomengyes, i am fine:)10:55
HaomengI think so:)11:01
Haomengthey will be prepare to HK:)11:01
Haomengromcheg, will you attend HK summit?11:02
romchegHaomeng: yes, I will11:02
Haomengcool:)11:02
Haomengwill fly on next mon?11:03
romchegNo, I have a flight on this Saturday morning so I arrive to HK Sunday morning11:04
romchegUkraine is very far so I need a day to deal with the jet lag :)11:04
Haomeng:)11:05
Haomengtake care, and enjoy the journey:)11:06
romchegThanks11:06
Haomengwelcome you to China:)11:06
Haomeng:)11:06
romchegHow long does it take you to get to HK?11:06
Haomengabout 3.5 hrs from Beijing To HK11:08
Haomengbut I willnot attend:)11:08
romchegAhh11:08
Haomengelse will gudie all you friends on HK for shopping or something:)11:08
Haomeng:)11:08
romchegDo people speak/understand English in HK in general?11:09
Haomengyes,almostly11:11
HaomengHK is Internationali city11:12
Haomengalmost people can say some basic English:)11:12
Haomengso dont worry about11:12
*** anniec has joined #openstack-ironic11:16
romchegFound a bug: https://bugs.launchpad.net/ironic/+bug/124668011:27
Haomengthis should be i18nissue11:29
Haomenglooks likenow it does not support non-english chars11:29
Haomengcan you paste the details about the post api call arguments11:30
*** michchap has quit IRC11:31
*** matsuhashi has joined #openstack-ironic11:31
Haomengyou just want ton input unicode with '\u', right?11:32
*** michchap has joined #openstack-ironic11:34
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for node  https://review.openstack.org/5471411:37
lucasagomesromcheg, ping11:38
Haomenglucasagomes:pong:)11:39
lucasagomesHaomeng, romcheg morning u guys :)11:40
Haomengdid you have Lunch?11:40
Haomenggood afternoon lucasagomes:)11:40
*** prekarat has quit IRC11:41
lucasagomes:) not yet... almost noon here11:41
HaomengI got your comments about my fix, will work out new patch:) thanks)11:41
Haomeng:)11:41
lucasagomesHaomeng, ah np :) but I'm sure there might be many other strings that weren't i18n yet11:41
Haomengyes, agree with you11:41
Haomengso I will not use 'closed-bug' tag:)11:42
Haomenggot it11:42
Haomengwill try to find more string without "_(" enablement11:42
lucasagomesHaomeng, take a look here: https://wiki.openstack.org/wiki/GitCommitMessages#Including_external_references11:43
lucasagomesit's more like a Partial-Bug: #<id>11:43
Haomengok, I will use this correct one:)11:44
*** prekarat has joined #openstack-ironic11:48
Haomenglucasagomes, thank for your reference11:51
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for node  https://review.openstack.org/5471411:54
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for root (/)  https://review.openstack.org/5471711:55
lucasagomesHaomeng, you welcome :)11:55
Haomeng:)11:55
*** matsuhashi has quit IRC11:56
*** matsuhashi has joined #openstack-ironic11:59
*** michchap has quit IRC12:04
*** michchap has joined #openstack-ironic12:04
romchegHaomeng: regarding to the bug12:05
Haomengyes12:05
romchegthat is not an i18N issue12:05
*** yuriyz has joined #openstack-ironic12:05
romchegWe debugged it here and found that the problem is in the object model12:05
Haomengobject model does not accept  the unicode, right?12:06
Haomengok, if you find the root cause, you can assign to yourself:)12:06
romchegHaomeng: thanks12:07
Haomengwelcome:)12:07
Haomeng:)12:07
romchegI will assign yuriyz to the issue then because he has found the reason first12:07
Haomengyes, make sense:) I am fine:)12:08
Haomengdont worry:)12:08
romcheg* while I was having my lunch :)12:08
Haomeng:) enjoy your lunch:)12:08
romchegthanks12:09
Haomengyour local time should be around 12:09?12:09
Haomengwelcome:)12:09
romchegHaomeng: no, it's 14:0912:10
Haomengsorry:)12:10
romchegit's EET time zone12:10
Haomengithink maybe this line "  'description': utils.str_or_none," line is root cause, right?12:10
Haomengin Chassis.py12:10
romchegHaomeng: yes, but the problem is quite deeper: the same type specifier is used for the things that cannot contain unicode as well12:11
romchege.g., hostnames12:12
HaomengI see such issue in Ceilometer12:12
Haomenglet me compare with Ceilometer Object code12:12
romchegSo there are two problems: 1) we cannot just change the type specifier to support unicode. 2) on py3 the same type specifier supports unicode so it will cause problems for the attributes that are ascii-only12:14
Haomengyes12:15
romchegyurizis about to fix py3 compatibility and add a new type specifier12:15
Haomenggreat12:15
romchegyuriyz even12:15
Haomenghe give my fix some good comments:)12:16
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for node  https://review.openstack.org/5471412:21
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for root (/)  https://review.openstack.org/5471712:23
*** jdob has joined #openstack-ironic12:27
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for chassis  https://review.openstack.org/5472012:28
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for node  https://review.openstack.org/5471412:30
*** prekarat has quit IRC12:32
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for node  https://review.openstack.org/5471412:33
* lucasagomes always forget something >.<12:33
lucasagomessorry for spamming12:34
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for node  https://review.openstack.org/5471412:34
Haomengno problem:) welcome your fix:)12:36
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Improve the API doc spec for port  https://review.openstack.org/5472512:41
*** rloo has joined #openstack-ironic12:52
*** jbjohnso has joined #openstack-ironic13:15
*** jdob has quit IRC13:24
*** jdob has joined #openstack-ironic13:24
*** linggao has joined #openstack-ironic13:28
*** anniec_ has joined #openstack-ironic13:33
*** anniec has quit IRC13:35
*** anniec_ is now known as anniec13:35
linggaoMorning max_lobur13:42
*** jdob has quit IRC13:42
max_loburMorning linggao13:43
*** jdob has joined #openstack-ironic13:43
*** matsuhashi has quit IRC13:43
max_loburMorning Everyone13:43
linggaoMorning all.13:43
*** matsuhashi has joined #openstack-ironic13:43
linggaomax_lobur, I saw your comments. They are very good.  Can we bring it to davananda and NobodyCam for their approval?13:44
*** matsuhashi has quit IRC13:44
*** matsuhas_ has joined #openstack-ironic13:44
max_loburlinggao, Glad you liked =) Sure, why not13:45
linggaoI can be either way.13:45
linggaoI am not good at comming up with a good API/CLI13:46
linggaoI can make the plumbing work. :)13:46
romchegMorning linggao and max_lobur13:46
romchegHow are you?13:46
linggaoMorning romcheg.13:47
linggaoA cloudy day here.13:47
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Allows unicode description for chassis  https://review.openstack.org/5473713:54
*** matsuhas_ has quit IRC13:55
*** matsuhashi has joined #openstack-ironic13:56
max_loburMorning romcheg :) How's your weather today? :)13:57
romchegmax_lobur: I think it's the same as yours :)13:57
max_loburIndeed :)13:58
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Accessing a subresource that parent does not exist  https://review.openstack.org/5474214:19
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Accessing a subresource that parent does not exist  https://review.openstack.org/5474214:20
*** dwi has joined #openstack-ironic14:28
*** matsuhashi has quit IRC14:35
*** matsuhashi has joined #openstack-ironic14:36
*** matsuhashi has quit IRC14:41
*** matsuhas_ has joined #openstack-ironic14:41
NobodyCamGood morning Ironic14:47
*** matsuhas_ has quit IRC14:47
*** matsuhashi has joined #openstack-ironic14:48
lucasagomesmorning NobodyCam14:49
*** ecozzi has joined #openstack-ironic14:49
NobodyCammorning lucasagomes14:50
*** matsuhashi has quit IRC14:53
GheRiveromorning Ironic!14:53
NobodyCamgood morning GheRivero14:54
lucasagomesmorning GheRivero14:54
NobodyCamwoo hoo Ironic has landed (in tripleO)15:09
*** martyntaylor has left #openstack-ironic15:12
* NobodyCam gets mo coffee15:14
NobodyCamand seems its walkies time... brb15:19
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Allows unicode description for chassis  https://review.openstack.org/5473715:22
romchegMorning NobodyCam15:33
NobodyCammorning romcheg15:35
yuriyzMorning/evening all15:42
NobodyCammorning yuriyz :)15:43
lucasagomesNobodyCam, kudos!15:43
NobodyCam:-p15:43
lucasagomesironic and ironic client15:44
lucasagomesdouble kudos!15:44
NobodyCam:-p15:45
NobodyCamworking on nova-ironic element now15:45
*** bauzas has quit IRC15:54
dkehnNobodyCam: I need to add in the ml2 portion of the tripleo-image-elements/elements/neutron/os-config-applier/etc/neutron/plugins, does one just add the subdir and ini file and it gets built or is there more?16:02
NobodyCamdkehn: yep that file would end up at /etc/neutron/plugins16:04
dkehnNobodyCam: just wonder if just adding is all there is to it?16:04
NobodyCamos-apply-config16:05
NobodyCammake sure that it is in element-deps16:05
*** anniec has quit IRC16:06
*** ben_duyujie has joined #openstack-ironic16:06
dkehnu mean the os-apply-config is there16:08
dkehnI don't see any direct reference  to neutron in there16:09
NobodyCamya, they updated the name from os-config-applier to os-apply-config16:10
NobodyCamif you changing a existing element git mv it to the new name16:11
NobodyCamand note that update in the commit message16:11
NobodyCamSpamapS: is that correct ^^^^16:11
max_loburlinggao, I'm leaving earlier today, sorry beforehand if I'll miss the discussion of your patches16:11
max_loburI'll check chat history tomorrow16:12
linggaomax_lobour. we need to wait for davananda.16:12
max_loburyeah, I know16:12
linggaoIt's better you bring it up to him.16:13
linggaoIt's not in a hurry. we can do it tomorow.16:13
max_loburOK, then I will ping him tomorrow16:13
max_loburThanks16:13
linggaothank you max_lobur.16:13
*** derekh has quit IRC16:14
linggaowe better have max_lobur, devadana, NobodyCam and lifeless together to come to a conclusion for the instance uuid CLI, REST API and internal API. I'll make the plumbing work :-).16:16
NobodyCamanyone ever seen this: /opt/stack/venvs/nova/bin/activate: line 8: _OLD_VIRTUAL_PATH: unbound variable16:17
devanandag'morning, all16:22
NobodyCamgood morning devananda16:26
devanandamax_lobur: thanks for the suggestion - your point regarding returning a one-element list is quite convincing16:27
devanandamax_lobur: i hadn't considered a filter to get_one. I dont know if other projects are doing that, but it seems reasonable to allow, eg "ironic node-show [--instance] <uuid>"16:30
devanandamax_lobur: however, using the same parameter and "try node.uuid; then try node.instance_uuid" is illogical to me. over-simplified16:31
linggaoGood morning, davanada, I think max_lobur left already.16:33
devanandahi linggao16:33
devanandalinggao: i've posted my suggestion here https://review.openstack.org/#/c/53262/6/ironic/api/controllers/v1/node.py16:41
devanandalucasagomes: if you have a minute, your feedback on the REST API discussion ^ would be great16:42
devanandai'm not sure if my suggestion violates REST principles any less than max's. node.instance_uuid is a property of node, but can we make a GET'able path out of it, too?16:43
linggaodavananda, I like it.  This will make a lot of people happy.16:43
devanandalinggao: thanks for being patient while we all discuss this :)16:45
linggaodavananda, :). then we also need to modify the associated and unassociated case in REST API.16:45
devanandalinggao: i like max' suggestion for those -- GET /v1/nodes/?instance_associated=[True|False]16:46
devanandaor something like that16:46
devanandait's clear that it's a filter, it returns a list of nodes, and the parameter means only one thing16:47
linggaoor \/v1/nodes/instance?associated=[True|False] ?16:47
lucasagomesok I quickly read max comments16:48
lucasagomessomething similar already happens in our API with ports16:48
lucasagomesboth uuid and address could be used as ID16:48
lucasagomesfor e.g: http://fpaste.org/50814/16:48
lucasagomesor http://fpaste.org/50815/16:49
devanandaah16:49
devanandabecause of db.sqla.api.add_port_filter16:50
lucasagomesyes16:50
devanandadrat16:50
lucasagomesnow, there's good and bad args on both sides16:50
lucasagomesif ID means something unique of that object, maybe it also doesnt do any harm in having more than one ID16:51
lucasagomesalthough it's doesnt really sounds very consistent16:51
devanandathose cases are a matter of "different format of ID". Which is still magic and could be confusing16:55
devanandain this case, theyr'e both UUID16:55
linggaoright16:55
devanandatechnicaly it is possible to get the same value in both fields16:55
devanandathere isn't (and cant be) a UX covering both columns16:56
devanandabrb16:57
devanandaback17:08
NobodyCamwb back17:09
lucasagomesdevananda, www.w3.org/Protocols/rfc2616/rfc2616-sec10.html17:18
lucasagomescheck the 30317:18
linggaodevananda, which one do you want to bless? :-) /v1/nodes/?instance_associated=[True|False]  or /v1/nodes/instance/?associated=[True|False]17:25
devanandalucasagomes: are you suggesting we implement 303 for things like "GET /v1/ports/<MAC ADDR/" ?17:27
lucasagomesdevananda, no I think that /v1/port/<mac addr> is bad to be honest17:27
lucasagomesbecause mac address can be changed17:27
devanandaright17:28
lucasagomesso i can be changed and cna be assigned to another port for e.g17:28
devanandalucasagomes: this generates teh same question as isntance_uuid though17:28
lucasagomesso that ports/<mac address> now is the id of another port17:28
lucasagomesdevananda, yes17:28
devanandado we have a list-like query tjhat returns 0-or-1, eg /ports/?mac=xxx17:28
lucasagomesI don't have the right answer yet17:28
lucasagomesbut IMO it should not be used17:28
devanandaor a sub-path, eg, /ports/mac/xxxx/17:28
lucasagomesdevananda, yes17:29
lucasagomesI would -1 max idea17:29
lucasagomesI'll comment to that review17:29
devanandathanks17:29
lucasagomesI don't know the right answer yet17:29
devanandak17:29
lucasagomesbut I'm sure that approach is not the right one17:29
lucasagomescause those are changeable ID's so should not be used like we are using it now17:30
devanandaindeed17:30
devanandaI consider that an API bug17:30
lucasagomesdevananda, +117:30
devananda(due to some magic in the db implementation)17:30
* devananda files it17:30
lucasagomesthe say I see it, it's def a bug17:30
lucasagomesthe way*17:31
*** jistr has quit IRC17:31
devanandahttps://bugs.launchpad.net/ironic/+bug/124681617:35
devanandaI think it boils down to -- is there anything unRESTful about "GET /path/object/property/<changeable-value>/" returning a single object or 404? The alternative seems to be "GET /path/object/?property=<changeable-value>" returning a (possibly empty) list of object IDs, and requiring a second GET to pull the details17:37
lucasagomesdevananda, yea, that's the question I don't know the answer if that's unrestful or not, but doesn't really sounds correct to me17:42
lucasagomesbecause that URL should be unique and would redirect you _always_ to the same object17:43
lucasagomesbut in the case of a changable-value it does not17:43
devanandayea17:43
lucasagomesthe ?property=<changeble-value> sounds reasonable to me17:43
*** ben_duyujie has quit IRC17:43
devanandayea17:44
lucasagomesbut one thing about REST/UNREST is that (at least what I've seen until now that I have being playing with the Ironic API) is that nobody has the answer to that17:44
devanandathe mroe i think about the implications of /path/object/property/<changeable-value>/ the more it does not make sense17:44
lucasagomesyes17:45
devanandabecause subsequent GET to the same URL could yield very different results17:45
lucasagomesI knew this thing about the port for sometime by now, apologies I never brought it up... but just now reading max comments that I actually started thinking about it17:45
devananda1) here's node X. 2) 404-not-found. 3) here's node Y. ....17:45
devanandaas a client, getting a string of responses like ^ for the same URL would be maddening17:46
lucasagomesdevananda, yes it's _totally_ unpredictable17:46
linggaothen davananda, we need to get back to /va/nodes/?instance_uuid=<uuid>  instead of /v1/nodes/instance/<uuid> ?17:46
lucasagomeslinggao, both seems reasonable but I would +1 the /nodes/?instance_uuid=<uuid> in the moment17:47
devanandalinggao: yes. where /v1/nodes/?instance_uuid=<value> returns a LIST of node UUID17:47
devanandalinggao: list may be empty17:47
lucasagomesI don't want to create a subresource for each attribute in the resource17:47
devanandahowever this still doesn't solve the "get [un]associated" API question17:47
devanandasince that isn't a property17:47
devanandait's more of a metaproperty17:47
lucasagomesdevananda, +1 /nodes (without id) is a collection, and collection return lists17:48
lifelessmorning17:48
devanandamorning17:48
lucasagomesso yea even a list of 1 item is fine for me17:48
devanandalucasagomes: list of 0 items is still a valid list, IMO17:48
lucasagomesdevananda, oh yea17:48
lucasagomesin case the instace_uuid is non-existent17:49
linggaothen are we still doing node-show --instance <uuid> ?17:49
lucasagomeslifeless, morning17:50
linggaomorning lifeless.17:50
lucasagomeslifeless, if you get a minute to read the discussing above and give us ur pov would be great :)17:50
devanandalucasagomes: also, 404, while not classified as a permanent error, might be a bit of a harsh response when searching on a mutable field.17:52
lucasagomesdevananda, indeed, imo it's like a query... he searched for something and it returned 0 items, so the return would be a empty list17:52
lucasagomesit's not an error17:53
lucasagomesits the result of that query17:53
yuriyzlucasgomes: +1 for non-id fields17:55
lifelessI think for any url it should be clear if it's a search (returns a list always, 404 only if the /contex/ of the search is unknown)17:56
lifelessor if it's a get - returns the thing or 404 if the thing-or-the-context is unknown17:56
lifelessnote that 404's can be negatively cached by proxies17:57
yuriyzlucas, we dont expose db id's for users in api, but 'ironic node-show 1' works, its OK?18:02
lifelesslucasagomes: so there's a lot of context above18:02
lifelesslucasagomes: whats the key things that are at stake?18:03
SpamapSNobodyCam: correct. We will deprecate the os-config-applier name entirely.. someday.18:04
NobodyCam:) awesome TY SpamapS :)18:04
NobodyCamdkehn: you see that ^^^18:04
dkehnyepper18:04
lucasagomesyuriyz, yea it's because of the same magic filters that makes port returns using the macadress18:06
lucasagomesyuriyz, but I would avoid it just to be more consistent u know18:06
yuriyzyes, +1, this magic only for internal use18:06
lucasagomeslike uuids for users and only internally we would the id cause of the db operations18:06
lucasagomeslifeless, it started cause of this review here https://review.openstack.org/#/c/53262/ where someone suggested us to have a similar behavior to that v1/ports/<mac address> but for v1/nodes/<instance uuid>18:08
dkehnlifeless: still showing what I've got in github'18:08
lucasagomesyuriyz, devananda lifeless I came to the office today so I have to go home18:08
*** romcheg has quit IRC18:08
lifelesslucasagomes: ok, ciao.18:09
lucasagomescan we continue that tomorrow? or u guys cna continue and then I will read the scrollback18:09
NobodyCamhave a good ride home lucasagomes18:09
lifelessI don't think v1/nodes/instanceuuid makes sense18:09
lifelessthere should be one canonical location to do GET from18:09
lifelessvs search18:09
lucasagomeslifeless, yea me too, there's some comments that worth reading on that review18:09
lucasagomesNobodyCam, cheers mate! I see ya later18:09
yuriyzgood night lucasagomes18:11
lucasagomesnight yall!18:11
*** lucasagomes has quit IRC18:11
*** yuriyz has quit IRC18:15
*** openstackgerrit has quit IRC18:25
*** romcheg has joined #openstack-ironic18:40
* NobodyCam kicks cable modem and reboot its18:41
*** ndipanov is now known as ndipanov_gone18:58
*** vkozhukalov has joined #openstack-ironic19:01
* devananda steps out for coffee19:13
NobodyCam:)19:15
*** openstackgerrit has joined #openstack-ironic19:18
*** rushiagr has joined #openstack-ironic19:24
*** vkozhukalov has quit IRC19:36
NobodyCamdevananda: you around19:41
NobodyCamdevananda: lol :-p https://github.com/NoBodyCam/nova-ironic/blob/master/nova-ironic/install.d/89-nova-ironic-services19:42
devanandaback19:47
NobodyCamwb19:47
NobodyCamdevananda: that kinda the process you recall?19:49
romchegdevananda: Hi20:00
romchegI just pushed a big update to the tempest patch20:00
devanandaNobodyCam: yep! looks about right20:00
devanandaNobodyCam: after that, you'd need to service xxx restart20:00
NobodyCamthat at dib stage so still have to boot20:00
NobodyCam:)20:00
devanandaNobodyCam: also, i was having problems with DNS resolution, so I hacked 8.8.8.8 into /etc/resolv.conf20:00
NobodyCamyes20:01
devanandaNobodyCam: not at dib stage. after heat stack-create undercloud, i would run that in the instance20:01
romchegThere are 4 patches now that need to be merged to enable gate testing for Ironic20:01
devanandai maen, you could do it in dib stage. but i prefer to keep th image general, then specialize it for a given test run20:02
romchegNo one has taken a look at them until now20:02
romchegdevananda: can you please poke someone?20:02
devanandaromcheg: great. can you post links here?20:02
devanandai will poke away20:02
NobodyCamjust for me testing right now.20:02
romchegTempest tests for Ironic API: https://review.openstack.org/#/c/4810920:03
romchegPre-cache Ironic to slaves: https://review.openstack.org/#/c/5456920:03
romchegEnable Ironic in devstack-gate: https://review.openstack.org/#/c/5389920:03
romchegEnable tempest tests in the experimental pipeline: https://review.openstack.org/#/c/5391720:03
NobodyCamdevananda: I will prob start adding to the nova bindings patch20:03
devanandaromcheg: just to confirm, no dependency on any ironic or python-ironiccilent patches right now?20:05
romchegdevananda: No20:05
devanandak k20:06
romchegdevananda: There is one bug in Ironic that should be fixed to make all tempest tests to pass but I don't think that will be a problem20:06
romchegI'm talking about this one: https://review.openstack.org/#/c/54737/20:06
*** hughsaunders has joined #openstack-ironic20:21
*** jdob has quit IRC20:31
*** romcheg has left #openstack-ironic20:36
*** rushiagr has quit IRC20:41
*** michchap has quit IRC21:01
*** linggao has quit IRC21:03
*** michchap has joined #openstack-ironic21:03
*** jbjohnso has quit IRC21:23
* NobodyCam is back21:48
NobodyCamwith hairs cut21:48
NobodyCamgreat email devananda22:04
*** jbjohnso has joined #openstack-ironic22:30
NobodyCamstarts building a new undercloud image and  goes for quick walkies22:41
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Fix i18N compliance  https://review.openstack.org/5468723:39
NobodyCamahhh23:50
NobodyCamNo distributions at all found for python-ironicclient23:50
NobodyCamguess we would actualy need to do a release for that to have worked23:51
devanandayep! heh23:51
NobodyCam:-p23:51
NobodyCamhehe23:51
*** harlowja has quit IRC23:55
*** harlowja has joined #openstack-ironic23:56

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