Tuesday, 2013-11-26

*** hemna is now known as hemnafk00:09
*** sandeepr has quit IRC00:12
*** sandeepr has joined #openstack-ironic00:12
*** ndipanov_gone has quit IRC00:31
*** matsuhashi has joined #openstack-ironic00:32
*** lexx has quit IRC00:32
*** nosnos has joined #openstack-ironic01:09
*** rongze has joined #openstack-ironic01:21
*** rongze has quit IRC01:26
*** crandquist has quit IRC01:27
*** crandquist has joined #openstack-ironic01:27
*** sjing has joined #openstack-ironic01:28
*** rongze has joined #openstack-ironic01:39
*** rongze has quit IRC01:46
*** crandquist has quit IRC01:51
Haomenggood morning Ironic:)01:56
*** rongze has joined #openstack-ironic02:01
*** nosnos_ has joined #openstack-ironic02:02
*** nosnos has quit IRC02:05
devanandagood evening, Haomeng :)02:12
Haomengdevananda: :)02:13
Haomengdevananda: for the IPMI ceilometer integration, I think we will discuss with Ceilometer team to work out the final interface and data model, then we can start to code, how do you think?02:14
devanandaHaomeng: ++02:15
Haomengdevananda: if we can not send the valid/signed-message for Ceilometer Collector, maybe have to all Ceilometer API sample post method to inform Ceilometer we have IPMI data should be handled02:15
devanandaHaomeng: if you want to start drafting some of the ironic.drivers changes now, i think that would be OK.02:15
*** arata has joined #openstack-ironic02:16
Haomengdevananda: thank you, but I think we have to have a CLEAR interface with Ceilometer to avoid more confusing and more issue during coding02:16
Haomengdevananda: I think we have time to implement these bp02:16
devanandaHaomeng: this is not required for Icehouse02:17
Haomengdevananda: there is an Intel dev LianHao from Ceilometer team, I will try to discuss with him02:17
Haomengdevananda: ok, so we have time to do this bp:)02:17
devanandaHaomeng: yep :)02:17
Haomengdevananda: one more question02:18
Haomengdevananda: as we know, IPMI data contains the 'status' field, how do you think if we can leverage this field do send some alarm to ceilometer?02:19
Haomengdevananda: let me show you the instance data02:19
devanandaHaomeng: can you give an example?02:19
Haomengdevananda: sure02:19
Haomengdevananda: for your reference - http://paste.openstack.org/show/53953/02:21
devanandaHaomeng: would you mind creating an etherpad with your various notes/plans on this, and adding the ceilomter<->ironic interface specification, etc, to it?02:22
Haomengdevananda: we have three fields returned from IPMI, the first one is the data name, then the value, the last field is the status02:22
Haomengdevananda: sure, thanks for your hint:) I use etherpad first:)02:22
Haomengdevananda: can I modify it now?02:22
devanandaHaomeng: this should then be linked from the BP02:22
*** epim has joined #openstack-ironic02:22
devanandaHaomeng: what is your launchpad id?02:22
Haomengdevananda: whaom02:23
devanandaHaomeng: i will assign the BP to you, then you can update description // set URL02:23
Haomengdevananda: launchpad.net/~whaom02:23
Haomengdevananda: thank you02:23
devanandaHaomeng: thank you :)02:23
Haomengdevananda: just want to discuss with you, if we should support 'status' field, for some hardware failer case, maybe that is hardware event/alram to be sent to ceilometer as Ceilometer Alarm, I think this is another feature02:24
Haomengdevananda: any time02:24
devanandaHaomeng: hm. so yes, i see "chassis intru" and "PS Status"02:25
Haomengdevananda: I think these two data are not supported as well for all hardware server02:25
devanandaHaomeng: you will find a VERY large amount of variation in different hardware support for IPMI02:26
devanandaHaomeng: i think it is best if we start with a simple set of data02:26
Haomengdevananda: yes02:26
Haomengdevananda: agree with you, we support with a min set02:26
Haomengdevananda: that is good begaining for us, then we can support more types including alarm/events02:26
devanandaright02:27
devanandaHaomeng: I have dinner plans and need to head out. thanks again for taking this blueprint on :)02:27
Haomengdevananda: I just notice the 'status' field, that should be 'alarm/event' status value we can use, but not in current bp02:27
Haomengdevananda: enjoy your dinner, and good evening:)02:27
Haomengdevananda: will take care for our bp:)02:28
Haomengdevananda: thanks for your trust:)02:29
HaomengHaomeng: :)02:29
devanandaHaomeng: oh, I just remembered -- 57854 does not change all cases of uuidutils02:32
devanandaHaomeng: are you going to fix the rest in another patch?02:32
Haomengdevananda: ok, will focus on 57854 today, to fix all uuid issue02:33
Haomengdevananda: thanks for your reminder02:33
Haomengdevananda: because uuidutils has more method we called02:34
Haomengdevananda: not only generate_uuid method02:34
devanandaHaomeng: exactly02:34
Haomengdevananda: so will check oslo guys to see how to plan for more method in uuidutils02:34
devanandaHaomeng: ok, review posted. Thanks again!02:37
* devananda runs out the door to dinner02:37
Haomengdevananda: thank you02:37
Haomengdevananda: will take it care:)02:37
Haomengdevananda: how do you think, can I remove our oslo uuid.is_uuid_like call with new patch?02:44
*** ndipanov has joined #openstack-ironic02:50
*** matsuhashi has quit IRC03:11
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Remove oslo uuidutils.generate_uuid() call  https://review.openstack.org/5785403:25
*** epim has quit IRC03:25
*** epim has joined #openstack-ironic03:26
*** vkozhukalov has joined #openstack-ironic03:26
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Remove oslo uuidutils.is_uuid_like call  https://review.openstack.org/5843003:36
*** matsuhashi has joined #openstack-ironic04:19
*** urulama has joined #openstack-ironic04:24
*** nosnos_ has quit IRC04:32
*** nosnos has joined #openstack-ironic04:32
*** rongze has quit IRC04:48
*** zigo_ has quit IRC05:10
*** zigo has joined #openstack-ironic05:11
*** epim has quit IRC05:14
*** rongze has joined #openstack-ironic05:19
*** rongze has quit IRC05:27
*** matsuhashi has quit IRC05:50
*** matsuhashi has joined #openstack-ironic05:51
*** matsuhas_ has joined #openstack-ironic05:53
*** matsuhashi has quit IRC05:53
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/5843806:00
*** vkozhukalov has quit IRC06:15
*** michchap has quit IRC06:16
*** michchap has joined #openstack-ironic06:16
*** matsuhas_ has quit IRC06:20
*** rongze has joined #openstack-ironic06:24
*** rongze has quit IRC06:28
*** matsuhashi has joined #openstack-ironic06:29
*** rongze has joined #openstack-ironic06:38
*** matsuhashi has quit IRC06:53
*** matsuhashi has joined #openstack-ironic06:54
*** urulama has quit IRC06:55
*** matsuhashi has quit IRC06:58
*** matsuhashi has joined #openstack-ironic06:59
*** sjing has quit IRC07:04
*** sjing has joined #openstack-ironic07:06
*** matsuhashi has quit IRC07:26
*** matsuhashi has joined #openstack-ironic07:27
*** urulama has joined #openstack-ironic07:32
GheRiveromorning all07:34
*** matsuhas_ has joined #openstack-ironic07:39
HaomengGheRivero: morning:)07:42
*** matsuhashi has quit IRC07:42
*** lexx has joined #openstack-ironic08:00
*** matsuhas_ has quit IRC08:05
*** matsuhashi has joined #openstack-ironic08:05
*** romcheg has joined #openstack-ironic08:18
*** romcheg1 has joined #openstack-ironic08:20
*** romcheg has quit IRC08:20
*** vkozhukalov has joined #openstack-ironic08:23
*** romcheg1 has quit IRC08:26
*** lexx has quit IRC08:27
*** ndipanov has quit IRC08:29
*** ndipanov has joined #openstack-ironic08:30
HaomengGheRivero: hi08:32
HaomengGheRivero: for this one - https://review.openstack.org/#/c/58430/, thanks for your coments, but not sure how to remove the requirement from openstack-common.conf08:32
GheRiverojust remove the line module=uuidutils08:34
GheRiverothat is the list of modules that are imported from oslo.incubator08:34
*** vkozhukalov has quit IRC08:34
*** vkozhukalov has joined #openstack-ironic08:41
HaomengGheRivero: got it thank you08:43
*** sjing has quit IRC08:53
*** derekh has joined #openstack-ironic08:54
*** romcheg has joined #openstack-ironic08:54
HaomengGheRivero: one question, do you know if our ironic.conf.sample is auto-generated or not?08:56
GheRivero./tools/conf/generate_sample.sh is manually launched09:00
*** jistr has joined #openstack-ironic09:06
*** _coolsvap_ has joined #openstack-ironic09:06
HaomengGheRivero: cool, thank you:)09:07
*** lucasagomes has joined #openstack-ironic09:24
*** max_lobur_afk is now known as max_lobur09:27
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add port address unique constraint for sqlite  https://review.openstack.org/5772209:32
*** _coolsvap_ has quit IRC09:37
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add port address unique constraint for sqlite  https://review.openstack.org/5772209:44
*** matsuhas_ has joined #openstack-ironic09:58
*** matsuhas_ has quit IRC09:58
*** matsuhashi has quit IRC10:02
zigoGheRivero: Are you around?10:09
zigoGheRivero: I finally got a (free) account on the HP cloud to maintain Debian images, though just like you at the summit, I'm stuck with knowing how to do the export OS_* env vars...10:09
zigoGheRivero: What should I put as username and password?10:10
zigoDid you figured that out?10:10
GheRiverozigo: give me a minute...10:13
zigook10:13
GheRiverozigo: see private10:15
*** rongze has quit IRC10:29
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Sync common.context changes from olso  https://review.openstack.org/5849010:32
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Remove openstack.common.uuidutils  https://review.openstack.org/5849210:36
*** martyntaylor has joined #openstack-ironic10:50
*** arata has left #openstack-ironic11:23
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Use oslo's execute() and ssh_execute() methods  https://review.openstack.org/5834611:45
*** michchap has quit IRC11:46
*** michchap has joined #openstack-ironic11:48
*** martyntaylor1 has joined #openstack-ironic11:49
*** martyntaylor has quit IRC11:51
*** romcheg has quit IRC11:53
*** nosnos has quit IRC12:11
*** michchap has quit IRC12:13
*** max_lobur has quit IRC12:13
*** rongze has joined #openstack-ironic12:15
*** tatyana has joined #openstack-ironic12:18
*** mihgen has joined #openstack-ironic12:34
*** max_lobur has joined #openstack-ironic12:36
*** lucasagomes is now known as lucas-hungry12:41
*** michchap has joined #openstack-ironic12:43
*** romcheg has joined #openstack-ironic12:50
*** michchap has quit IRC12:51
*** michchap has joined #openstack-ironic12:57
*** michchap has quit IRC13:01
*** rongze has quit IRC13:17
*** jbjohnso has joined #openstack-ironic13:20
*** michchap has joined #openstack-ironic13:28
*** rongze has joined #openstack-ironic13:29
*** michchap has quit IRC13:37
*** lucas-hungry is now known as lucasagomes13:44
*** rloo has joined #openstack-ironic13:45
*** arata has joined #openstack-ironic13:46
*** michchap has joined #openstack-ironic13:58
max_loburmorning Ironic14:00
lucasagomesmorning max_lobur :)14:00
max_loburmorning lucasagomes =)14:01
max_loburcan someone help me with this:14:01
max_loburwhen I do14:01
max_loburironic node-show 6cbec892-f328-4bcc-ad7c-429f0ad3303a14:01
max_loburi'm getting14:01
max_loburYou must provide a username via either --os-username or via env[OS_USERNAME]14:01
max_loburbut14:01
max_loburcurl -i -X GET -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient'   http://192.168.122.20:6385/v1/nodes/6cbec892-f328-4bcc-ad7c-429f0ad3303a14:01
max_loburHTTP/1.0 200 OK14:02
max_loburDate: Tue, 26 Nov 2013 14:02:03 GMT14:02
max_loburServer: WSGIServer/0.1 Python/2.7.314:02
max_loburContent-Length: 70314:02
max_loburContent-Type: application/json; charset=UTF-814:02
max_lobur{"instance_uuid": null, "target_power_state": null, "driver_info": {}, "links": [{"href": "http://192.168.122.20:6385/v1/nodes/6cbec892-f328-4bcc-ad7c-429f0ad3303a", "rel": "self"}, {"href": "http://192.168.122.20:6385/nodes/6cbec892-f328-4bcc-ad7c-429f0ad3303a", "rel": "bookmark"}], "extra": {}, "target_provision_state": null, "driver": "d3", "chassis_id": null, "properties": {}, "power_state": null, "provision_state": null, "ports": [{"href": "14:02
max_loburhttp://192.168.122.20:6385/v1/nodes/6cbec892-f328-4bcc-ad7c-429f0ad3303a/ports", "rel": "self"}, {"href": "http://192.168.122.20:6385/nodes/6cbec892-f328-4bcc-ad7c-429f0ad3303a/ports", "rel": "bookmark"}], "uuid": "6cbec892-f328-4bcc-ad7c-429f0ad3303a"}14:02
max_loburwhat am I missing? Is there some option in our configs e.g. "do not check auth token"14:02
*** michchap has quit IRC14:03
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Allow clean reservation at update node  https://review.openstack.org/5554914:04
lucasagomesmax_lobur, I usually export this variables here: http://paste.openstack.org/show/53987/14:08
max_loburtrue, they're empty14:10
max_loburbut I wanted to get 'not authorized error' via curl14:10
max_loburbut I can't14:10
max_loburI mean it works without X-Auth-Token header, is this a bug?14:12
lucasagomeshmm idk either14:13
lucasagomesgotta take a look14:13
max_loburI will be very thankful if you try to reproduce it14:14
lucasagomesright, will take a look. but yea looks weird to not require the token authentication14:21
lucasagomesneed to finish something before tho14:21
*** jdob has joined #openstack-ironic14:21
max_loburok, thanks14:22
*** prekarat has joined #openstack-ironic14:22
*** lexx has joined #openstack-ironic14:37
GheRiverohi all14:44
*** saranya31 has joined #openstack-ironic14:49
*** jdob has quit IRC14:51
*** saranya31 has left #openstack-ironic14:55
*** michchap has joined #openstack-ironic14:59
NobodyCamgood morning Ironic15:02
*** michchap has quit IRC15:03
GheRiveromorning NobodyCam15:07
NobodyCamgood mornig GheRivero :)15:08
rloomorning NobodyCam, GheRivero!15:08
NobodyCammorning rloo :)15:09
*** vkozhukalov has quit IRC15:09
*** jdob has joined #openstack-ironic15:10
dkehnNobodyCam: GheRivero I'm going to be calling devananda this morning concerning the neutron integration (yesterdays's meeting topic) would you all like to be involved15:12
dkehng+ I think will be the medium15:12
GheRiveroat what time? but yeah, will be lovely15:14
NobodyCamdkehn: sure ... when?15:15
dkehnNobodyCam: not sure, gotta get ahold of devananda 1st15:15
NobodyCamlol15:15
dkehnso kindof an adhoc meeting15:15
NobodyCamdkehn: ++ just ping me :)15:15
dkehnbut planned sorta15:15
dkehnk15:16
NobodyCam:)15:16
dkehnGheRivero: ?15:16
GheRiveroyeah, sure, ping me back when settled15:16
dkehnGheRivero: I'm sure the PXE is going to come up15:16
dkehnor I'm pretty sure15:16
GheRivero:)15:16
*** arata has left #openstack-ironic15:17
dkehnGheRivero: is that a yes?15:17
GheRiveroa big YES15:17
dkehnok will ping you all15:17
dkehnmight be skype too15:18
dkehnwhatever the consensis is15:18
* NobodyCam can support both15:19
GheRivero:/ i hate this weather! 23-43F15:19
NobodyCamGheRivero: Ouch15:19
GheRiverowhatever is ok15:19
openstackgerritRuby Loo proposed a change to openstack/ironic: Adds doc strings to API FunctionalTest class  https://review.openstack.org/5734415:19
NobodyCamhttp://www.weather.com/weather/tenday/USCA051215:20
NobodyCam:-p15:20
GheRiverohttp://www.weather.com/weather/tenday/SPXX019615:22
GheRiveroNobodyCam: can we interchange locations?15:22
NobodyCamlol :) GheRivero you wanta live in a RV?15:23
NobodyCambrb15:24
GheRiveroI could live anyplace I wouldnt' need the Ironic hoodie inside home15:24
*** urulama has quit IRC15:25
dkehnGheRivero: is that cold for your area15:26
GheRiveroit will get worst15:26
GheRiverobut without snow15:26
dkehnGheRivero: bummer, we are getting out of a snow, but here at this altitude, it has melted15:27
dkehnGheRivero: I would love to live in a warmer climate during the winter15:27
GheRiverodkehn: ++15:28
dkehnGheRivero: when my kids are gone, I'm thinking tropics in the winter15:28
GheRiverojaja... I will have to deploy kids first :)15:29
dkehnI think this is the part were words of wisdow would be departed, but alass there is none15:30
NobodyCamdkehn: lol15:32
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: API ports update for WSME 0.5b6 compliance  https://review.openstack.org/5668215:39
devanandamorning, all15:45
devanandadkehn: pong15:46
dkehndevananda: ok, let me see about setting up a G+ group with NobodyCam & GheRivero, you need time?15:47
devanandadkehn: yea. gimme 15 or so15:48
dkehndevananda: you gotit, ping me, and in the meantime I'll try and figure out g+15:48
NobodyCammorning devananda :)15:49
*** briancline has joined #openstack-ironic15:50
openstackgerritChris Krelle proposed a change to openstack/ironic: Allow FakePower to return node objects power_state  https://review.openstack.org/5833315:51
openstackgerritMax Lobur proposed a change to openstack/ironic: Do not allow API to expose error stacktrace  https://review.openstack.org/5855815:51
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Rework patch validation on Ports  https://review.openstack.org/5698415:54
*** tatyana has quit IRC15:56
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Reworks Node validations  https://review.openstack.org/5749515:59
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Reworks Chassis validations  https://review.openstack.org/5768615:59
*** michchap has joined #openstack-ironic15:59
max_loburhi devananda16:03
max_loburTY for so fast review of https://review.openstack.org/#/c/58558/16:03
max_loburpls take a look again, I left a few thoughts from my side16:04
max_loburmaybe you'll find them not correct16:04
*** michchap has quit IRC16:04
max_loburlucasagomes, https://review.openstack.org/#/c/58558/ please take a look too when you have time16:04
lucasagomessure thing :D thanks16:05
lucasagomesI added myself to the reviewers list16:05
max_loburalso, devananda I'd like you to look at the https://bugs.launchpad.net/ironic/+bug/125400216:05
max_loburI proposed a solution there16:05
max_loburbut not sure if it's OF16:05
max_lobur*OK16:05
max_loburlucasagomes, thanks =)16:06
devanandalucasagomes: on 56682, you removed test_types.py ?16:06
max_loburleaving for today. have a nice day!16:06
lucasagomesdevananda, test_types on that review was only testing the mactype and uuidtype16:07
*** max_lobur is now known as max_lobur_afk16:07
devanandalucasagomes: i thought my suggestion was to test the code paths by mocking is_valid_mac / is_uuid_like16:07
* lucasagomes re-read, I think might have get confused then16:08
lucasagomesdevananda, ahh16:08
lucasagomesurgh, haha I thought it was duplicated and won't need to be tested16:09
lucasagomeslemme readd and modify the tests16:09
devanandalucasagomes: I reread my comment. it wasn't the most well worded comment i've ever left :)16:09
openstackgerritA change was merged to openstack/ironic: Remove oslo uuidutils.generate_uuid() call  https://review.openstack.org/5785416:09
lucasagomesdevananda, hehe it's grand16:09
devananda:)16:09
devanandalucasagomes: oh, also, this will conflict with a patch that Haomeng is working on16:10
lucasagomesdevananda, yes, the uuidutils one?16:10
devanandalucasagomes: yes. which just landed. and the next noe will move is_uuid_like into ironic.common, too16:10
lucasagomesdevananda, I will wait it get merged and then I can rebase16:11
devananda:)16:11
lucasagomeslemme mark as wip16:11
devanandalucasagomes: actually, lemme just approve Haomeng 's patch16:14
lucasagomescool if you think it's ready to go16:15
lucasagomesif not I can also put a dependency on it16:15
lucasagomesI +2 that patch already, lgtm16:15
lucasagomesok got approved :)16:16
* NobodyCam makes more coffee16:16
dkehndevananda: NobodyCam GheRivero we ready?16:17
devanandadkehn: few more min. gotta step afk for a moment16:18
dkehndevananda: k16:18
openstackgerritA change was merged to openstack/ironic: Remove oslo uuidutils.is_uuid_like call  https://review.openstack.org/5843016:19
*** mihgen has quit IRC16:22
devanandadkehn: right. call when ever16:26
dkehndevananda: one minute16:27
dkehndevananda: GheRivero NobodyCam all ready16:33
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Import uuidutils unit tests from oslo  https://review.openstack.org/5857216:34
devanandaHaomeng, lucasagomes: last patch for the uuid series ^16:34
devanandadkehn: https://blueprints.launchpad.net/ironic/+spec/instance-mapping-by-consistent-hash16:35
lucasagomesdevananda, nice16:36
lucasagomesadded myself to the list of reviewers16:36
devanandadkehn: https://docs.google.com/drawings/d/16c3g8Rx4y24mTDA76A0gw0ZxrHugeCN1r0zSzohTVKw/edit?usp=sharing16:36
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: API ports update for WSME 0.5b6 compliance  https://review.openstack.org/5668216:40
*** kobier has joined #openstack-ironic16:51
*** kobier has quit IRC16:51
*** lexx has quit IRC16:59
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Rework patch validation on Ports  https://review.openstack.org/5698416:59
*** michchap has joined #openstack-ironic17:00
*** michchap has quit IRC17:05
NobodyCambbt.. brb17:05
*** martyntaylor1 has quit IRC17:06
*** romcheg has quit IRC17:08
*** lexx has joined #openstack-ironic17:09
*** vkozhukalov has joined #openstack-ironic17:23
*** urulama has joined #openstack-ironic17:26
*** urulama has quit IRC17:28
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add driver interfaces validation  https://review.openstack.org/5459317:36
*** jistr has quit IRC17:39
*** anniec has joined #openstack-ironic17:40
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add driver interfaces validation  https://review.openstack.org/5459317:41
lucasagomesurgh >.<17:43
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add driver interfaces validation  https://review.openstack.org/5459317:44
*** rongze has quit IRC17:44
*** romcheg has joined #openstack-ironic17:48
NobodyCambrb17:49
*** anniec has quit IRC17:51
*** derekh has quit IRC17:54
*** hemnafk is now known as hemna17:56
*** anniec has joined #openstack-ironic17:56
*** michchap has joined #openstack-ironic18:01
*** michchap has quit IRC18:05
*** anniec has quit IRC18:06
lucasagomesnight everyone :)18:08
*** lucasagomes has quit IRC18:08
devanandag'night lucas18:10
NobodyCamhe's quick like that18:10
devanandaNobodyCam: consistent hash -- it seems like we're actually mapping nodes <-> conductors, not instances <-> conductors18:11
devanandaNobodyCam: because nova-scheduler is doing the job of assigning instance -> node18:11
NobodyCamtrue18:12
*** anniec has joined #openstack-ironic18:16
devanandaNobodyCam: we also need to track separate rings for each driver18:20
devanandaNobodyCam: eg, if a conductor servicing the Foo driver goes offline, we only need to rebalance nodes that use the Foo driver18:21
NobodyCamyes18:21
NobodyCami think... if we lose a conductor several rings will have to re balance18:22
NobodyCamdifferent conductors will back up deferent rings ...18:24
NobodyCamquick walkies ... brb18:25
*** prekarat has quit IRC18:34
*** rongze has joined #openstack-ironic18:44
NobodyCamback18:50
*** rongze has quit IRC18:53
*** jistr has joined #openstack-ironic18:57
*** lexx has quit IRC18:58
*** michchap has joined #openstack-ironic19:02
*** michchap has quit IRC19:06
*** epim has joined #openstack-ironic19:12
*** lexx has joined #openstack-ironic19:38
*** rongze has joined #openstack-ironic19:49
*** rongze has quit IRC19:54
*** michchap has joined #openstack-ironic20:03
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Implement consistent hashing common methods  https://review.openstack.org/5860720:05
*** derekh has joined #openstack-ironic20:05
*** michchap has quit IRC20:07
*** jdob has quit IRC20:16
*** jdob has joined #openstack-ironic20:16
*** anniec has quit IRC20:25
*** anniec has joined #openstack-ironic20:28
*** jdob has quit IRC20:38
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Implement consistent hashing common methods  https://review.openstack.org/5860720:38
*** epim has quit IRC20:41
*** jistr has quit IRC20:49
*** rongze has joined #openstack-ironic20:50
*** rongze has quit IRC20:56
NobodyCamhumm brb...20:58
*** ndipanov has quit IRC21:01
*** michchap has joined #openstack-ironic21:03
*** michchap has quit IRC21:08
*** urulama has joined #openstack-ironic21:28
hemnaping21:29
*** urulama has quit IRC21:33
*** anniec has quit IRC21:35
openstackgerritA change was merged to openstack/ironic: Adds doc strings to API FunctionalTest class  https://review.openstack.org/5734421:40
openstackgerritA change was merged to openstack/ironic: Add troubleshoot option to PXE template  https://review.openstack.org/5826221:43
devanandahemna: pong21:45
hemnaso I had a question about the iscsi code in ironic21:45
hemnawhere does that iscsi lun come from currently ?21:46
hemnafrom what I've gathered, ironic attaches an iscsi lun, partitions it, formats it, then unattaches it.21:47
hemnadealing with the volume attach/detach seems like a good candidate for cinder orchestration21:51
hemnacinder can present the volume to the ironic host, then ironic can continue to do the partitioning and formatting as it does now, then tell cinder to detach21:52
*** vkozhukalov has quit IRC21:52
hemnaI presume at some point there is a way to tell the bios on the BM box to boot from san21:52
*** rongze has joined #openstack-ironic21:52
devanandahemna: what code are you referring to?21:55
devanandahemna: there is currently no cinder or boot-from-volume code in ironic21:55
hemnadevananda, correct21:56
hemnaI'm looking at adding cinder integration :)21:56
devanandahemna: ok. so when you say, "ironic attaches .. aprtitions .. formats .. "21:57
hemnaso the current iscsi code in ironic lives in drivers/modules/deploy_utils.py21:57
devanandathat is specific to the PXE driver -- drivers/modules/pxe.py21:57
devanandathe PXE deployment ramdisk exposes the physical machine's local disk (/dev/sda) over iSCSI21:58
devanandaPOSTs the LUN back to Ironic21:58
hemnaah ok, so that's the BM's local disk.21:58
devanandathis is passed down to drivers.modules.pxe:VendorPassthru21:58
hemnaso if we wanted boot from san via cinder volume...21:58
devanandaand then pxe driver formats it and copies the user's image to the disk with dd21:58
devanandaboot from san - that's _totaly_ seaprate21:58
hemnaok21:59
*** rongze has quit IRC21:59
devanandahemna: you would create a new driver21:59
hemna(still climbing the ironic learning curve)21:59
devanandahemna: and implement the driver.deploy interface21:59
devananda:)21:59
hemnaso, I presume it could go something like this then...22:00
hemnawrite a cinder.py driver22:00
devanandahemna: http://git.openstack.org/cgit/openstack/ironic/tree/ironic/drivers/base.py#n7522:00
hemnain that it would ask cinder to attach the volume to the ironic host, partition, format it, dd the image to it, detach22:00
hemnathen ask cinder to attach the volume to the BM, and then reboot the BM ?22:00
devanandahm, ideally, no22:01
hemnathe only thing I'm not sure about is how to ask the bios to boot from san remotely22:01
devanandawell, question22:02
hemnak22:02
devanandawhen doing boot-from-volume, doesnt the volume already exist?22:02
devanandaor do you need to make a new volume & copy the image to it?22:02
hemnaI think boot from volume, the volume already exists22:03
devanandathat's waht i thought22:03
devanandaso you dont need to attach the volume to the ironic host at all22:03
hemnacould give it the uuid of the volume you want to boot from22:03
hemnaironic would just have to tell cinder to attach the volume to the BM22:03
devanandai think the driver.deploy would look something like this22:03
*** michchap has joined #openstack-ironic22:04
*** derekh has quit IRC22:04
devananda- do some check that volume exists, node status is OK, etc22:04
devananda- tell hw node's BIOS to mount the iSCSI target // SAN volume as a local disk, and to boot from it22:04
devananda- cycle power of the machine22:05
devanandaend22:05
hemnathat seems "easy" enough22:05
devanandawell. the hard part is the middle step :)22:05
hemnacinder supports Fibre Channel  arrays as well22:05
hemnatalking to the BIOS is a mystery to me at this point.22:06
devanandaright22:06
hemnadoes IPMI support something like that?22:06
devanandahmmm, not really, but kinda22:06
devanandaAFAIK, it's not part of the IPMI spec22:06
devanandaso each vendor has done it differently22:06
hemnaI'm sure talking to the BIOS is going to be vendor specific22:06
hemnaso maybe a "driver" layer is needed22:07
hemnato allow supporting different vendors22:07
devanandathat's already in place :)22:07
hemnaok great.22:07
devanandawe don't have any vendor drivers yet22:07
hemna:P22:07
devanandabut the separation would be like this...22:07
hemnawhere is the current code for it ?22:08
devanandasame file22:08
hemnadrivers/base.py  ?22:08
devanandathe BaseDriver class defines the interfaces22:08
hemnaok22:08
*** michchap has quit IRC22:09
devanandawe dont have an interface defined for "mount this volume" -- but there are interfaces defined for power mgmt and for allowing vendors to extend the itnerfaces22:09
hemnaI see the VendorInterface22:09
hemnaso would it make sense to add a mount_volume, unmount_volume API to the VendorInterface ?22:10
devanandathe VendorInterface is there to allow vendors to do things that aren't part of the API yet22:11
devanandaso eg, you might implement a CinderWithILO driver22:12
*** michchap has joined #openstack-ironic22:12
devanandaand a CinderWithDRAC driver22:12
devanandaboth would share the same driver.deploy == CinderDeploy22:12
devanandaone would have driver.vendor == IloVendor. the other would have driver.vendor == DracVendor22:13
devanandaor something. you get the idea, i hope22:13
hemnaok yah I think that makes sense22:13
hemnaso don't add a mount_volume to the VendorInterface then ?22:13
devanandano22:13
devanandaanother possibility, but i am not sold on it yet, would be to add a BaseDriver.volume interface22:14
hemnaI presume then the CinderWithILO will make the ILO specific calls via the VendorInterface::vendor_passthru then22:14
devanandaya22:14
hemnaok I think I get ya :P22:14
hemnaso we could still use an ILOVendor and DRACVendor22:15
devanandahemna: slight tangent22:15
devanandahemna: are you aiming specifically for deployment? or a general mount-this-cinder-volume?22:16
devanandai would prefer the latter. deploy is just a special case where the volume is also marked bootable22:16
hemnawell, my initial task was to see how to integrate with cinder to use it's volumes.22:16
hemnaso we can have diskless servers provisioned by ironic using cinder backends (3PAR/LeftHand)22:17
hemnaand others :P22:17
devanandagotcha22:17
devanandaso then, yea, I'd prefer to add a volume interface to BaseDriver22:18
hemnaand that volume could either be a cinder volume or a local disk on the BM ?22:19
devanandahmmm22:20
hemnaI guess the default would be the local disk22:20
*** anniec has joined #openstack-ironic22:21
*** epim has joined #openstack-ironic22:24
*** anniec has quit IRC22:29
devanandahemna: are you working with any server hardware vendors? (hp, dell, etc)22:33
hemnaI work at HP22:33
hemnaI presume there is a way to do this on proliant machines22:34
hemnaI work in MSDU (Storage) supporting 3PAR and LeftHand, but am also core in Cinder.22:35
*** lexx has quit IRC22:37
devanandahemna: ah! great22:38
hemnadevananda thanks a bunch for your help.22:47
hemnaI'll throw together a BP once I'm back from the holiday break22:47
devanandahemna: great, thanks22:54
devanandahemna: this isn't part of our plan for nova-baremetal equivalency, so i will probably target teh BP to the J release at this point22:55
*** rongze has joined #openstack-ironic22:55
devanandahemna: but i'm very happy to discuss and see the work start22:55
*** romcheg has quit IRC22:56
hemnaok I'd like to see what we can do for Icehouse, if anything.22:56
*** romcheg has joined #openstack-ironic22:57
*** romcheg has quit IRC22:58
dkehndevananda: are you using the generate_sample.sh from nova to generate your etc/ironic/ironic.conf.sample, just curious becuase I don't see a tools dir, or are you just adding by hand?22:58
devanandadkehn: ironic/tools/conf/generate_sample.sh22:59
*** romcheg has joined #openstack-ironic22:59
dkehndevananda: sorry missed that22:59
*** romcheg has left #openstack-ironic22:59
*** rongze has quit IRC22:59
*** jcooley_ has joined #openstack-ironic23:00
devanandadkehn: np23:00
devanandaspeaking of which, i need to regenerate it23:00
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Update ironic.conf.sample  https://review.openstack.org/5864223:01
hemnahave a good break folks...I'm out.23:03
*** hemna is now known as hemnafk23:04
* devananda steps afk for a bit, too23:04
NobodyCam:)23:04
* NobodyCam pulls some hair out23:05
NobodyCamlol23:05
*** epim has quit IRC23:22
*** epim has joined #openstack-ironic23:26
*** urulama has joined #openstack-ironic23:30
*** urulama has quit IRC23:34
*** epim has quit IRC23:47
*** rongze has joined #openstack-ironic23:56
*** epim has joined #openstack-ironic23:56
*** jcooley_ has quit IRC23:56

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