Friday, 2013-11-15

*** urulama has joined #openstack-ironic00:00
*** jbjohnso has joined #openstack-ironic00:01
*** urulama_ has joined #openstack-ironic00:10
*** urulama has quit IRC00:10
rlooHi NobodyCam, what's up?00:11
NobodyCam:)00:11
NobodyCamwas working on the nova driver00:12
NobodyCamand as you have put a ton of work in to power state things lately00:13
NobodyCamrunning in to a issue where a node is created via the cli00:13
NobodyCamits initial power state is none00:14
NobodyCamnova is attempting to set the instance uuid but is getting node in wrong powerstate00:14
NobodyCamnone != on or off00:15
rloohmm.00:15
*** urulama_ has quit IRC00:15
rlooSo I'm not sure what the sequence of events is. it is the nova driver that creates the node via cli? or you?00:15
NobodyCamme00:16
rlooand how does one set the instance uuid? via cli too?00:16
NobodyCamnova is attempting to do a depoly00:16
NobodyCam(which it currently can not)00:16
rloooh, i'm surprised it can do a deploy. the code isn't hooked up.00:16
rlooi mean, the code in the api to do deploy, doesn't do anything.00:17
NobodyCamno that is in the driver code00:17
rloothe nova driver? what is the error msg that you see (or in the log) when the nova driver tries to deploy?00:17
rloois it expecting power to be on?00:17
NobodyCamI'm poking on https://review.openstack.org/#/c/51328/200:18
* rloo looks.00:18
NobodyCamlook at line 20600:18
*** urulama has joined #openstack-ironic00:19
rloois that where you're getting an exception?00:20
NobodyCamhttp://paste.openstack.org/show/g0h1vtdJ35yXYDRHyz8U/00:20
NobodyCamlol I actually havent run that code yet00:21
NobodyCamjust working up to it00:21
rloowell, i'd say after you create your node, turn the power on.00:21
NobodyCamwhich currently would require a curl call to the api]00:22
rlooi already forgot the command. something like node/<uuid>/state/power_on? sec, let me look it up. hmm, might be on my other computer that is powered off now.00:22
NobodyCami hve the command00:22
NobodyCamcurl -X PUT -d '' http://127.0.0.1:6385/v1/nodes/1abdaa2b-42ff-4583-b0c1-3415c73b2979/state/power?target=power%20off00:23
rlooyeah, that's it. but do you want on or off?00:23
NobodyCamas I have just added the node to ironic I would want it off00:24
NobodyCamso nova can turn it on00:24
rlooNobodyCam: yes, just looking at the code now. It has to be in power_off.00:25
NobodyCam:)00:25
rlooOf course, it would help if the exception msg said what state it wanted it to be in :-)00:26
NobodyCamI'm thinking None needs to be a valid state00:26
NobodyCambasicly means we havent checked the actual state.00:27
NobodyCambut I need to thnk thru this00:27
rlooright, haven't checked or don't know. the nova driver *could* ask for the power state first, which would cause it to get the state.00:27
NobodyCamya let me think thru it some more00:28
NobodyCam:)00:28
rloono worries. I'm not in any hurry :D00:29
*** urulama_ has joined #openstack-ironic00:29
*** urulama has quit IRC00:29
NobodyCam:) lol I am.. I want it all and I want it now... (/me now has stupid song stuck in his head)00:30
rloo(sorry, I think)00:33
NobodyCamlol :)00:33
NobodyCamhttp://www.youtube.com/watch?v=1pm4fQRl72k00:35
* NobodyCam shares00:35
rlooNobodyCam, I'm embarrassed to say, I don't recognize that song. Maybe I wasn't born then? (Just kidding.)00:39
*** urulama_ has quit IRC00:39
NobodyCamlol it could be...00:39
NobodyCamI am old00:39
*** urulama has joined #openstack-ironic00:39
NobodyCam:-p00:39
NobodyCamheheheh00:39
*** urulama has quit IRC00:44
*** matsuhashi has quit IRC00:47
*** matsuhashi has joined #openstack-ironic00:48
*** urulama has joined #openstack-ironic00:49
NobodyCambecause its that time of the year. http://www.youtube.com/watch?v=DiXjbI3kRus00:49
rlooNobodyCam: I'm not going to watch that. No snow yet, and not yet middle of December!00:51
NobodyCamlol my dad starts right after octtober00:52
NobodyCamits engrained in me00:52
*** matsuhashi has quit IRC00:53
rlooWow, he doesn't even wait til Hallowe'en. And what about Thanksgiving? That's your big holiday!!00:53
NobodyCamwe got hallowen but after that ... all xmass all the time. with octional protest00:56
*** matsuhashi has joined #openstack-ironic00:58
pleia2hanukkah begins before thanksgiving this year, it's hurting my planning brain00:58
NobodyCam:( ouch00:58
*** urulama_ has joined #openstack-ironic00:59
*** urulama has quit IRC00:59
*** nosnos has joined #openstack-ironic01:00
* NobodyCam hangs his head low as he makes a glass of egg nog :-)01:01
pleia2++01:01
NobodyCam:)01:01
*** jbjohnso has quit IRC01:06
*** urulama_ has quit IRC01:08
*** urulama has joined #openstack-ironic01:09
*** urulama has quit IRC01:19
*** urulama_ has joined #openstack-ironic01:19
*** urulama_ has quit IRC01:24
*** urulama has joined #openstack-ironic01:28
*** urulama_ has joined #openstack-ironic01:38
*** urulama has quit IRC01:39
*** urulama_ has quit IRC01:48
*** urulama has joined #openstack-ironic01:48
*** urulama has quit IRC01:53
*** jbjohnso has joined #openstack-ironic01:57
*** urulama has joined #openstack-ironic01:58
*** matsuhashi has quit IRC02:03
*** matsuhashi has joined #openstack-ironic02:03
*** urulama_ has joined #openstack-ironic02:08
*** urulama has quit IRC02:09
*** urulama_ has quit IRC02:17
*** urulama has joined #openstack-ironic02:18
*** urulama has quit IRC02:27
*** urulama_ has joined #openstack-ironic02:28
*** urulama_ has quit IRC02:33
*** urulama has joined #openstack-ironic02:37
*** urulama_ has joined #openstack-ironic02:47
*** urulama has quit IRC02:48
*** urulama has joined #openstack-ironic02:57
*** urulama_ has quit IRC02:57
*** jbjohnso has quit IRC03:01
*** urulama has quit IRC03:02
*** urulama has joined #openstack-ironic03:06
*** dkehn has quit IRC03:11
*** dkehn has joined #openstack-ironic03:13
*** urulama has quit IRC03:16
*** urulama has joined #openstack-ironic03:16
*** urulama has quit IRC03:26
*** urulama has joined #openstack-ironic03:26
*** matsuhashi has quit IRC03:31
*** matsuhashi has joined #openstack-ironic03:31
*** urulama_ has joined #openstack-ironic03:36
*** urulama has quit IRC03:37
*** matsuhashi has quit IRC03:41
*** matsuhashi has joined #openstack-ironic03:42
*** urulama_ has quit IRC03:42
*** sandeepr_ltp has joined #openstack-ironic03:46
*** urulama has joined #openstack-ironic03:46
*** matsuhashi has quit IRC03:47
*** sandeepr_ltp has quit IRC03:47
*** sandeepr has quit IRC03:52
*** ekarlso has quit IRC03:52
*** ekarlso has joined #openstack-ironic03:54
*** urulama_ has joined #openstack-ironic03:56
*** urulama has quit IRC03:56
*** fandikurnia01 has joined #openstack-ironic03:58
*** urulama_ has quit IRC04:05
*** urulama has joined #openstack-ironic04:06
*** rloo has quit IRC04:07
*** urulama has quit IRC04:11
* devananda is back, starts working on sync_power_state04:12
*** urulama has joined #openstack-ironic04:16
*** jianingy is now known as jianingy_afk04:19
*** urulama_ has joined #openstack-ironic04:25
*** urulama has quit IRC04:26
*** urulama_ has quit IRC04:35
*** urulama has joined #openstack-ironic04:35
*** urulama has quit IRC04:45
*** urulama has joined #openstack-ironic04:45
*** urulama has quit IRC04:50
*** prekarat has joined #openstack-ironic04:51
*** prekarat has quit IRC04:52
*** prekarat has joined #openstack-ironic04:52
*** urulama has joined #openstack-ironic04:55
*** matsuhashi has joined #openstack-ironic04:56
*** urulama has quit IRC05:04
*** urulama has joined #openstack-ironic05:04
*** jamespage has quit IRC05:06
*** urulama has quit IRC05:14
*** urulama has joined #openstack-ironic05:14
*** urulama has quit IRC05:19
*** urulama has joined #openstack-ironic05:24
devanandawell, i got distracted05:33
devanandagoing to patch-bomb with oslo updates in a bit05:34
*** urulama has quit IRC05:34
*** urulama has joined #openstack-ironic05:34
*** prekarat1 has joined #openstack-ironic05:38
*** prekarat has quit IRC05:41
*** urulama_ has joined #openstack-ironic05:44
*** urulama has quit IRC05:44
*** urulama_ has quit IRC05:54
*** urulama has joined #openstack-ironic05:54
*** urulama has quit IRC05:55
*** urulama has joined #openstack-ironic05:55
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/5632506:00
Haomengdevananda: ping06:06
devanandaHaomeng: pong06:20
Haomengdevananda: I checked with Ceilometer guys for the auto-gen doc issue, they use https://git.openstack.org/cgit/stackforge/sphinxcontrib-docbookrestapi/ to create api, but the input is rst file06:21
Haomengand I update the defect you raised - https://bugs.launchpad.net/ironic/+bug/1251011, can you take a look if you have time?06:21
HaomengI have updated my findings/investigations06:22
devanandaHaomeng: so my understanding is they are able to generate from the pecan/wsme python code somehow06:24
devanandaHaomeng: we already have .rst file, but it is hand-written, and therefor perpetually out of sync with the python code06:25
Haomengyes, I am confusing here, will double check with them, as the result yesterday, the source is RST file not our python code I think06:25
Haomengyes, I understand your point06:26
devanandaHaomeng: perhaps there is another step where we can generate teh RST file from python code06:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.config.generator from oslo  https://review.openstack.org/5651406:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.context from oslo  https://review.openstack.org/5651506:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Sync common.db.sqlalchemy changes from olso  https://review.openstack.org/5651606:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Sync common utils from Oslo  https://review.openstack.org/5651706:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.local from oslo  https://review.openstack.org/5651806:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.lockutils from oslo  https://review.openstack.org/5651906:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.log from oslo  https://review.openstack.org/5652006:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.notifier.* from oslo  https://review.openstack.org/5652106:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.periodic_task from oslo  https://review.openstack.org/5652206:26
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.service from oslo  https://review.openstack.org/5652306:26
* devananda snickers at the patch bomb06:26
Haomengbut jd__ just share us the link of  sphinxcontrib-docbookrestapi, and he said, Ceilometer is using  sphinxcontrib-docbookrestapi06:26
Haomengbut the input for sphinxcontrib-docbookrestapi is rst file , it is "Sphinx extension that generates documentation for api-site from RST files."06:27
Haomenglet me do more investigations to see the gap between python script and rst, thank you devananda06:28
devanandathanks06:29
Haomengand update to you the resunt on the bug you raised06:29
Haomeng:)06:29
Haomenganytime:)06:29
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: update sample config  https://review.openstack.org/5652406:32
Haomengdevananda:looks like I found the steps to create document - https://wiki.openstack.org/wiki/Ironic#Building_Documentation_Locally, one step is "python setup.py build_sphinx", it sounds like to create doc, let me try06:39
Haomengit can create a lot of rst files:)06:44
Haomengfor each python file I think06:45
*** openstackgerrit has quit IRC06:46
*** openstackgerrit has joined #openstack-ironic06:46
Haomengbut the rst files content is just 6 lines for each rst file, strange06:48
*** jamespage has joined #openstack-ironic06:56
*** rwsu is now known as rwsu-pto07:04
devanandaHaomeng: yes, that converts the inline pthon doc strings to .rst07:07
devananda... or it used to07:08
*** r-mibu_ has quit IRC07:12
HaomengI think so, will practice to see if it works07:13
Haomengdevananda, I have another issue about object ID07:13
Haomengwe have uuid and internal id for each object07:13
Haomengand I found some Ironic command can accept the internal id which is a int as input, do you think the internal id can be used for cli?07:14
Haomengor api07:14
Haomengshould we reject such internal id as input ?07:15
Haomengsuch as " ironic port-show 1", it works now, will return the port which internal id is 107:18
HaomengI think we should reject such internal id as input for both CLI and API, I understand the internal id is used for get good performance by internally07:19
GheRiveromorning Ironic07:38
*** romcheg has joined #openstack-ironic07:41
Haomengmorning GheRivero07:51
HaomengI guess your local time is around 9am, right?07:51
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Add context to TaskManager.node object  https://review.openstack.org/5652907:52
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Implement sync_power_state periodic task  https://review.openstack.org/5653007:52
GheRiveroyeah, it's07:53
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.log from oslo  https://review.openstack.org/5652007:54
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.notifier.* from oslo  https://review.openstack.org/5652107:54
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.periodic_task from oslo  https://review.openstack.org/5652207:54
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.service from oslo  https://review.openstack.org/5652307:54
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: update sample config  https://review.openstack.org/5652407:54
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Sync common.db.sqlalchemy changes from olso  https://review.openstack.org/5651607:54
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Sync common utils from Oslo  https://review.openstack.org/5651707:54
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.local from oslo  https://review.openstack.org/5651807:54
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.lockutils from oslo  https://review.openstack.org/5651907:54
romchegOMG07:54
devanandaHaomeng: you are correct. int ID should never be allowed in API07:54
romchegMorning everyone07:55
devanandaHaomeng: i think lucas was working on that?07:55
devanandaromcheg: g'morning!07:55
devanandaand g'night :)07:55
romchegg'night devananda07:55
devanandait's almost midnight - i should get some rest. fighting off a flu ...07:55
Haomengyes, I remember theere is such patch now in review progress07:55
devanandabut NobodyCam was waiting on the sync_power_state change, which is buried up there somewhere07:55
Haomengdevananda: for api doc, I have run "python setup.py build_sphinx", it can generated api doc like "http://docs.openstack.org/developer/ironic/dev/api-spec-v1.html"07:56
Haomengand for the official api in api.openstack.org, I think openstack api-site owner can help to generated with sphinxcontrib-docbookrestapi extensions which is for restapi only07:57
Haomengdevananda: good night, you should be tired now:)07:58
devanandaHaomeng: what you're looking for are these: http://docs.openstack.org/developer/ironic/py-modindex.html07:58
devanandaHaomeng: but for some reason, all the ironic/api/controller/v1/* files are not there07:58
Haomengyes, this is not our Ironic wiki api doc07:59
HaomengI investigated already07:59
devanandaHaomeng: we want to delete that api-spec-v1.rst file07:59
Haomengwe have two api document url, one is from our Ironic wiki07:59
Haomenganother one is in http://docs.openstack.org/developer/openstack-projects.html07:59
devanandaHaomeng: what API doc on our wiki?08:00
Haomengyes, for our Ironic wiki, it will use our Ironic project rst file to create html08:00
devanandano ...08:00
devanandawiki is just a wiki - anyone can edit it08:00
devanandathis http://docs.openstack.org/developer/ironic/ is auto-generated from the ironic source code on every commit08:01
Haomengsorry for confusing, should be same website http://docs.openstack.org/developer/ironic/08:01
Haomengyes08:01
*** matsuhashi has quit IRC08:01
*** matsuhashi has joined #openstack-ironic08:02
*** fandikurnia01 has quit IRC08:02
devanandaHaomeng: our wiki contains instructions to build the docs locally, for testing purposes. that's all.08:02
devanandasomething is wrong, though. it's not generating the RST and HTML files for ironic/api/controller/v1/*08:03
devanandaanyhow, i really need to sleep now :)08:03
*** fandikurnia01 has joined #openstack-ironic08:03
devanandao/08:03
Haomengi mean there are another api document url with different format - http://api.openstack.org/api-ref-compute.html08:04
Haomenggood night devanada:)08:04
Haomenglet me go ahead08:04
Haomenghave a nice dream:)08:04
*** michchap has quit IRC08:12
*** michchap has joined #openstack-ironic08:12
*** yuriyz has quit IRC08:13
*** jistr has joined #openstack-ironic08:49
*** jistr has quit IRC09:01
*** jistr has joined #openstack-ironic09:04
*** lucasagomes has joined #openstack-ironic09:15
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Fix node lock in PXE driver  https://review.openstack.org/5556509:17
*** derekh has joined #openstack-ironic09:18
*** matsuhashi has quit IRC09:25
*** matsuhashi has joined #openstack-ironic09:25
GheRiverouhm... what's the differnece between ironic/db/api.py and ironic/db/sqlalchemy/api.py09:26
*** nosnos has quit IRC09:26
*** nosnos has joined #openstack-ironic09:27
GheRiveroforget it. db/api.py are just abstract classes09:28
Haomengyes, sqlalchemy/api.py is just an implement for special qlalchemy ORM09:29
*** matsuhashi has quit IRC09:30
*** nosnos has quit IRC09:31
*** prekarat1 has left #openstack-ironic09:51
*** f13o has joined #openstack-ironic09:58
* max_lobur is away: Leaving10:10
*** jistr has quit IRC10:20
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: API Ports node_id attribute to be unicode only  https://review.openstack.org/5657310:24
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: API Ports node_id attribute to be unicode only  https://review.openstack.org/5657310:26
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Don't allow change reservation at update node  https://review.openstack.org/5554911:04
*** fandikurnia01 has quit IRC11:12
lucasagomesromcheg, ping11:29
romcheglucasagomes: pong11:29
lucasagomesromcheg, that UniqueConstraint in the sqlalchemy doesn't work with sqlite?!11:29
romcheglucasagomes: AFAIR, it worked for em11:30
romchegme11:30
lucasagomesromcheg, I see11:30
lucasagomeshmm weird11:30
romcheglucasagomes: maybe you forgot to add the migration?11:31
lucasagomesI'm not changing the db, but u know the API we have a test to check if the address on ports already exists11:31
lucasagomesalso was checking the format of the address11:31
lucasagomesnow I'm chekcing the format differently using wsme type validations11:31
lucasagomesand I tried to remove that function believing that the db would then raise some execption in case the entry is duplicated11:32
lucasagomesbut it didn't11:32
romcheglucasagomes: there might be a bug in migrations11:32
lucasagomeson mysql it does, I tested with my devstack and it raised an IntegrityError11:32
romchegSo the constraint exists in the model but doesn't exist in the DB11:32
lucasagomesromcheg, I see11:33
lucasagomesromcheg, but hmm as it works with mysql, idk11:33
romcheghmm11:33
lucasagomesweird... I will check it out11:33
romcheglucasagomes: I was just about to go having lunch11:34
romchegI will be here very soon11:34
lucasagomesromcheg, go for ur lunch, it's fine11:34
lucasagomeswas just curiosity11:34
lucasagomesmight be something here as well I kinda have a messy enviroment in the moment11:34
romchegYou can change DB address from memory to file and run a specific test on it11:35
romchegThen you'll be able to verify the structure of the DB11:36
lucasagomesah, cheers will take a look11:36
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Using the mandatory option of WSME on Ports  https://review.openstack.org/5659712:03
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Using the mandatory option of WSME on Ports  https://review.openstack.org/5659712:05
*** jistr has joined #openstack-ironic12:07
openstackgerritJames Slagle proposed a change to openstack/ironic: Add missing ConfigNotFound exception.  https://review.openstack.org/5659812:13
*** jbjohnso has joined #openstack-ironic12:15
openstackgerritJames Slagle proposed a change to openstack/ironic: Add missing ConfigNotFound exception.  https://review.openstack.org/5659812:18
*** michchap has quit IRC12:23
openstackgerritJames Slagle proposed a change to openstack/ironic: Add missing ConfigNotFound exception  https://review.openstack.org/5659812:23
*** michchap has joined #openstack-ironic12:24
*** jbjohnso has quit IRC12:29
*** michchap has quit IRC12:29
*** michchap has joined #openstack-ironic12:29
*** prekarat has joined #openstack-ironic12:42
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Import missing gettext _ to fix Sphinx error  https://review.openstack.org/5660513:21
Haomengmorning Ironic:)13:32
* max_lobur is back (gone 03:25:38)13:36
*** jdob has joined #openstack-ironic13:36
max_loburmorning Everyone13:36
Haomengmorning max_lobur13:45
max_loburmorning Haomeng13:45
HaomengMax, I encountered new issue13:45
Haomengthis one - https://review.openstack.org/#/c/56605/13:46
max_loburAdded myself to reviewers13:46
max_loburwill take a look today13:46
Haomengsure13:46
Haomengand I will fix other opening issue13:47
Haomengthank you max13:47
Haomengi just want to ask you here a short question13:47
max_loburshoot13:47
Haomengfor such "H302  import only modules.'from ironic.openstack.common.gettextutils import _' does not import a module", should we change to "from ironic.openstack.common import gettextutils"13:48
Haomengand  call "_" with "gettextutils._", that is strange, but I have no idea, because we enable H30213:49
*** openstackgerrit has quit IRC13:53
*** jimjiang has quit IRC13:53
max_loburto make gettextutils stuff work there should be a call of gettextutils.install('ironic') in entry point13:53
*** openstackgerrit has joined #openstack-ironic13:53
*** jimjiang has joined #openstack-ironic13:53
max_loburfor REST API call the entry point is ironic/cmd/__init__.py13:54
Haomengyes, let me check13:54
max_loburfor config sample generator for example this is done in the generator file - see /ironic/openstack/common/config/generator.py13:54
Haomengour gettextutils works fine, but encoutered such issue when run "python setup.py build_sphinx"13:55
max_loburso need to define what entry point is used for build_sphinx and add this call there13:55
max_loburcorrect me someone if I'm wrong =)13:56
HaomengI am not sure, just try to add gettextutils import in common.exceptins to avoid such issue, and I checked another Ceilometer project13:57
Haomengfound Ceilomter will " import _' " for some files13:57
max_loburhm13:58
Haomengso, thank you Max13:58
Haomengand for other your comments about my opening patches, I will try to close this weekend, it isnot very easy to fix, sorry for delay response13:59
Haomengmax_lobur: I guess your local time is around 10am, right?14:00
HaomengI am 10pm now:)14:00
*** jimjiang has quit IRC14:01
Haomengtired, will have a rest:)14:01
Haomengnice day:)14:01
*** jimjiang has joined #openstack-ironic14:01
max_loburmy local is 4 pm, I just haven't chance to be back to Ironic earlier today =)14:02
max_loburyea, have a good rest14:03
Haomeng:)14:03
*** jbjohnso has joined #openstack-ironic14:03
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Allow vendor passthru without Keystone authorization  https://review.openstack.org/5661214:06
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Fix integer division compatibility in middleware  https://review.openstack.org/5661314:07
*** f13o has quit IRC14:11
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Import missing gettext _ to fix Sphinx error  https://review.openstack.org/5660514:12
*** russellb is now known as rustlebee14:13
*** anteaya is now known as anttteaya14:14
*** yuriyz has joined #openstack-ironic14:16
*** lucasagomes is now known as lucas-hungry14:20
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Import missing gettext _ to fix Sphinx error  https://review.openstack.org/5660514:21
*** f13o has joined #openstack-ironic14:23
*** jistr has quit IRC14:29
*** jistr has joined #openstack-ironic14:32
*** Haomeng has quit IRC14:56
*** Haomeng has joined #openstack-ironic14:56
*** lucas-hungry is now known as lucasagomes14:57
NobodyCamGood morning iRonic, TGIF15:05
*** yuriyz has quit IRC15:08
NobodyCamlucasagomes: you around?15:25
lucasagomesNobodyCam, hey yes15:25
NobodyCam;)15:25
NobodyCamso looks like the cli will need a validate / set current power state15:26
NobodyCams/cli/client15:26
lucasagomesNobodyCam, I see, I'm working on validations right now... not exactly that15:27
lucasagomesbut I'm investigating wsme validations for complex types15:27
NobodyCamworking on the nova driver, I've run into a issue with newly reated nodes having the power state of None15:28
lucasagomesNobodyCam, a validate for the current power state!?15:28
NobodyCamthis prevents nova from setting the instance uuid15:28
NobodyCamreated = created15:29
lucasagomesI see15:29
*** romcheg has quit IRC15:30
lucasagomesNobodyCam, btw I wanna talk to u about another thing15:30
lucasagomesyou know this node_id is annoying15:30
lucasagomesfirst the name node_id is actually an UUID in the API pov15:30
lucasagomeswhat you think about having an node_uuid on the API?15:30
NobodyCamyes .. there should now be a bug to change all refs of id to uuid15:31
lucasagomes+ when set it will also set (internally) the node_id related to that node_uuid15:31
NobodyCamfor user15:31
lucasagomesno more conversions by hand15:31
lucasagomesNobodyCam, yea15:31
NobodyCam:)15:31
lucasagomesI'm working on that15:31
GheRiveromorning all15:31
lucasagomeswill see if I can get something for today15:31
lucasagomesGheRivero, morning15:31
NobodyCamgood morning GheRivero :)15:31
*** tatyana has joined #openstack-ironic15:35
GheRiveroso, what's the point of having id when using uuid every place?15:37
NobodyCamid is use for some db ops for speed15:38
lucasagomesGheRivero, the id is internal use only, like for JOINs in the database15:38
lucasagomesso my idea is to have both in the api, node_id and node_uuid... node_id will never be exposed to the user, but it's used when converting RPC-style objects to API objects15:39
lucasagomesmagically setting an node_id will also set the node_uuid with the relative UUID for that numeric id15:40
lucasagomesand vice versa15:40
*** jdob has quit IRC15:40
*** jdob has joined #openstack-ironic15:40
lucasagomesso we don't have to convert by hand from id->uuid when returning to the user or uuid->id when sending it via RPC15:41
lucasagomesI've something almost done here, it works :)15:41
NobodyCamlucasagomes: and just not tell the users that there is this node_id thing...15:41
lucasagomesNobodyCam, yes, the users won't know about the node_id at all15:41
lucasagomesit will exist in the api object for compatibility with the RPC objects only15:42
NobodyCamlucasagomes: ++15:42
GheRiverook. now I have the full picture. thanks15:42
*** rustlebee is now known as drumkilla15:50
*** drumkilla is now known as rustlebee15:50
*** jbjohnso has quit IRC15:51
*** rustlebee is now known as drumkilla15:51
* NobodyCam gets more coffee15:54
*** lucasagomes is now known as lucas-afk15:56
*** jbjohnso has joined #openstack-ironic16:14
*** sandeepr has joined #openstack-ironic16:21
sandeeprmorning/evening ironic16:21
NobodyCamgood morning sandeepr :)16:22
sandeeprhey hey NobodyCam16:23
NobodyCamhappy Friday :)16:23
sandeeprthanks and u2 :)16:23
NobodyCam:)16:23
sandeepri saw a new slideshare from devananda which has changes in the way deployment works especially the machine image part16:24
NobodyCam:)16:25
*** jdob has quit IRC16:25
*** jdob has joined #openstack-ironic16:26
*** romcheg has joined #openstack-ironic16:27
sandeeprwhat is the partition disk based on user metadata?16:29
devanandamorning, all16:30
NobodyCamgood morning devananda :)16:33
*** jdob has quit IRC16:40
NobodyCambbt...brb16:41
*** jdob has joined #openstack-ironic16:41
sandeeprhey devananda, i saw your new slideshare16:41
sandeeprwanted to know couple of things16:41
sandeeprpartition disks based on user metadata and fetch user image16:42
sandeeprwhat is user metadata and how is it passed?16:43
sandeeprwhat is the method used to fetch user image?16:43
devanandasandeepr: i haven't uploaded my slides from HK, actually16:43
devanandasandeepr: we had discussed several times using cinder's API as a means to specify the disk layout. but the cinder devs disagreed during the ironic design session, and we're back to no idea now16:44
sandeeprback to no idea on the method to fetch the user image?16:45
sandeeproh disk partition16:46
sandeeprhmm ok16:46
sandeepri guess the machine image copy is causing a bigger bottle neck16:46
devanandasandeepr: fetch user image -- this has been part of the pxe driver since grizzly16:47
devanandathe bottleneck was due to file injection16:47
devanandathe pxe driver was mounting the image and editing it. this has been "fixed" - it is no longer necessary16:48
openstackgerritMax Lobur proposed a change to openstack/ironic: Redefined default value of allowed_rpc_exception_modules  https://review.openstack.org/5665016:49
sandeeprdevananda, yes your slideshare show that. however during the disk partition the image is fetched which would still cause a bottleneck?16:50
sandeepri also read the bp from dkehn - https://blueprints.launchpad.net/tripleo/+spec/bittorrent-for-image-deployments16:50
openstackgerritJenkins proposed a change to openstack/python-ironicclient: Updated from global requirements  https://review.openstack.org/5443016:50
sandeeprsomething on the lines of peer-peer- network16:51
sandeeprwhich is quite interesting16:51
devanandasandeepr: IMO, that is a premature optimization. interesting, yes, but very special case, and there are much more important things to solve before we16:51
devanandadeal with the parallel-10k-node-deploy problem16:51
sandeeprdevananda, sure there are much more important things to solve :)16:52
NobodyCampost bbt walkies... bbiaf16:52
GheRiverothe problem with bt is that with a small number of images, the time to deploy is bigger than using just glance16:52
GheRiverobesides, you need torrent trackers, servers, if the node reboots as soon as gets the images, there won't be enough seeders..16:53
sandeeprmy 2 cents as people out there will first do bulk provisioning and will raise this straight16:53
dkehnGheRivero: note: when using the bittorado tracker included16:57
*** lucas-afk is now known as lucasagomes16:58
GheRiverodkehn: cool, but bittornado last release was like... 7 years ago?17:00
GheRiveroi would love to have a server+tracker all in one, anyway17:01
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.log from oslo  https://review.openstack.org/5652017:05
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.notifier.* from oslo  https://review.openstack.org/5652117:05
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.periodic_task from oslo  https://review.openstack.org/5652217:05
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.service from oslo  https://review.openstack.org/5652317:05
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: update sample config  https://review.openstack.org/5652417:05
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.lockutils from oslo  https://review.openstack.org/5651917:05
max_loburdevananda, will you please take a look? https://review.openstack.org/#/c/56650/ (Redefined default value of allowed_rpc_exception_modules)17:07
devanandamax_lobur: reviewed17:10
max_loburthanks =)17:11
*** jistr has quit IRC17:12
lucasagomeshttp://paste.openstack.org/show/53174/ any idea someone?!17:13
lucasagomesits the sqlalchemy-migrate17:14
NobodyCam the .dev?17:15
NobodyCamparse looking for a #?17:16
devanandaurgh. why does jenkins hate my oslo sync patches?17:17
lucasagomesNobodyCam, yea, weird... I will check it later17:17
NobodyCamits friday,17:17
lucasagomesjust installed another version because I want to finish my patch17:17
openstackgerritMax Lobur proposed a change to openstack/ironic: Redefined default value of allowed_rpc_exception_modules  https://review.openstack.org/5665017:22
GheRiverofrom tripleo channel: https://bugs.launchpad.net/tripleo/+bug/125170017:23
GheRiverolooks like there is a issue with sqlalchemy=migrate17:24
NobodyCam:)17:24
openstackgerritGhe Rivero proposed a change to openstack/python-ironicclient: Comply with new hacking release  https://review.openstack.org/5666817:25
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Implement sync_power_state periodic task  https://review.openstack.org/5653017:36
NobodyCamdevananda: do you have an option on with reguards to questions on https://review.openstack.org/#/c/56325/ I'm inclined to vote with roman17:37
NobodyCamand seems your patches have been bit by the bug GheRivero pasted17:39
*** derekh has quit IRC17:44
devanandaNobodyCam: i have no opinion yet. i pinged clark about it to see if other projects have a policy17:52
devanandaand yes, that bug seems to be hitting many people17:52
NobodyCam:)17:53
max_loburmy patch hit 0.7.3.dev too :(17:55
devanandaugh17:55
devanandalooks like there's a fix up: https://review.openstack.org/#/c/56671/17:57
* devananda makes tea17:58
NobodyCamlol mordred looks like rebase is needed on 5667118:03
devanandaheh18:04
devanandareminder to folks - lucasagomes, romcheg, etc - please see my email on the ML about blueprints18:09
devanandaand generally speaking, reading https://wiki.openstack.org/wiki/Blueprints would be good :)18:09
lucasagomesdevananda, will do, I drafted one bp but I've to do more18:09
mordredon it18:09
devanandanova team seems to have done a lot to add to that wiki recently18:09
lucasagomesjust trying to fix one problem with the wsme validations first, can't stop until I get something working >.<18:10
devanandalucasagomes: np :) i know how that is18:10
romchegdevananda: will do them on this weekend18:10
lucasagomes:)18:10
romchegnow have to go to the spanish class18:11
romcheghave a good weekend folks18:11
devanandaromcheg: thanks! you too18:11
NobodyCamyou too romcheg18:11
devanandaNobodyCam, lucasagomes - on the transifex patches, see -infra for info. tl;dr - it's good to do a quick scan that nothing wierd is in the patch. and we can leave it there, jenkins will re-use the patchset as necessary until we merge it18:13
lucasagomesgotcha18:14
NobodyCamdevananda: ++18:14
lucasagomesdevananda, btw, how it works... if I want to translate Ironic to pt_BR I need an account on transifex?18:16
*** romcheg has quit IRC18:17
openstackgerritJames Slagle proposed a change to openstack/ironic: Add missing ConfigNotFound exception  https://review.openstack.org/5659818:18
NobodyCamdo we support tlh18:19
devanandatlh?18:21
NobodyCamhttps://www.transifex.com/languages/18:21
devanandaheh18:22
NobodyCamyou know we need it18:22
NobodyCamlol18:22
devanandait doesn't seem to be in the current set of langs, but why not18:23
NobodyCami was looking18:23
lucasagomesfound here :)18:23
lucasagomeshttps://www.transifex.com/projects/p/ironic/18:23
lucasagomeshttp://logs.openstack.org/98/56598/4/check/gate-ironic-python26/a39f857/console.html <<< same problem I had18:24
lucasagomesit's the sqlmigrate version18:24
devanandaawesome18:24
devanandaand yea, that18:24
NobodyCamyahttps://review.openstack.org/5667118:24
devanandajust waiting for the fix to propagate now18:25
NobodyCami'll ping calrk to add tlh18:25
*** hemnafk is now known as hemna18:28
*** jianingy_afk has quit IRC18:34
*** Haomeng has quit IRC18:36
*** yanhcdl has quit IRC18:37
*** jianingy_afk has joined #openstack-ironic18:38
*** max_lobur has quit IRC18:39
*** max_lobur has joined #openstack-ironic18:39
NobodyCamseems I can not request a new language for ironic18:40
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: API ports update for WSME 0.5b6 compliance  https://review.openstack.org/5668218:46
lucasagomesdevananda, NobodyCam I marked as WIP because I will have to split it in more than one patch, but if u guys can take a look please18:47
lucasagomes^18:48
lucasagomesnow we can use wsme to check for mandatory fields18:48
lucasagomesI also added a new attribute on the port api object: node_uuid, when this attribute is set it automaticaly set the node_id with the relative numeric id for that uuid18:49
lucasagomessame when setting node_id, it will automatically set the node_uuid18:49
lucasagomesso now in the API users will use node_uuid=<uuid> and internally it will be translated to node_id=<numeric id> for internal use18:53
lucasagomesanyway... I'm done for today18:53
lucasagomeshave a good night NobodyCam devananda18:53
lucasagomesand enjoy the weekend :)18:53
*** f13o has quit IRC18:53
NobodyCamyou too lucasagomes .. .and it looks pretty good18:54
lucasagomesthanks... I will work on a complex type to validate patches as well18:54
NobodyCam:)18:54
lucasagomesso I will try to remove all that complexity on the path method18:54
max_loburhave a good weekend Everyone18:57
*** lucasagomes has quit IRC18:57
NobodyCamyou too max_lobur18:57
*** urulama has quit IRC18:58
* max_lobur is away: AFK18:58
*** urulama has joined #openstack-ironic19:01
* NobodyCam goes and looks some food19:05
*** romcheg has joined #openstack-ironic19:09
*** urulama has quit IRC19:20
*** urulama has joined #openstack-ironic19:20
*** tatyana has quit IRC19:23
*** ecozzi has joined #openstack-ironic19:30
*** urulama has quit IRC19:30
*** urulama has joined #openstack-ironic19:31
*** jianingy_afk has quit IRC19:35
*** jimjiang has quit IRC19:35
*** blamar has quit IRC19:35
*** ctracey has quit IRC19:35
*** urulama has quit IRC19:35
sandeeprdate19:36
sandeeprping NobodyCam19:36
*** ctracey has joined #openstack-ironic19:37
*** blamar has joined #openstack-ironic19:37
*** urulama has joined #openstack-ironic19:40
*** sandeepr has quit IRC19:42
*** jbjohnso has quit IRC19:43
*** jbjohnso has joined #openstack-ironic19:43
*** urulama has quit IRC19:51
NobodyCamhttps://www.transifex.com/languages/pong19:51
NobodyCamgah19:51
NobodyCampong19:51
*** yanhcdl has joined #openstack-ironic20:03
*** hemna has left #openstack-ironic20:06
*** hemna has joined #openstack-ironic20:06
*** yanhcdl has quit IRC20:27
*** jdob has quit IRC20:27
*** epim has joined #openstack-ironic20:29
*** jbjohnso has quit IRC20:38
*** yanhcdl has joined #openstack-ironic20:39
openstackgerritramesh proposed a change to openstack/python-ironicclient: Change id->uuid in ironic cli help messages  https://review.openstack.org/5594120:39
*** jdob has joined #openstack-ironic20:42
*** epim has quit IRC20:58
*** epim has joined #openstack-ironic21:02
*** tatyana has joined #openstack-ironic21:23
*** aratim has joined #openstack-ironic21:30
*** aratim has left #openstack-ironic21:32
*** jbjohnso has joined #openstack-ironic21:42
*** romcheg has quit IRC21:43
openstackgerritJames Slagle proposed a change to openstack/ironic: Add missing ConfigNotFound exception  https://review.openstack.org/5659821:48
openstackgerritJames Slagle proposed a change to openstack/ironic: Add missing ConfigNotFound exception  https://review.openstack.org/5659821:55
*** jbjohnso has quit IRC21:57
* NobodyCam wanders away for a few21:59
*** jdob has quit IRC22:06
*** tatyana has quit IRC22:11
NobodyCamsooo nice out side today22:15
*** drumkilla has quit IRC22:19
*** russellb has joined #openstack-ironic22:20
NobodyCamdevananda: # FIXME(deva): determine how to get IP address and bootfile name from Ironic for the correct ironic-conductor is not easy done22:45
NobodyCam:-p22:45
devanandaNobodyCam: right ....22:46
NobodyCamthink that one going on the agenda for monday22:47
NobodyCam:)22:47
devanandaNobodyCam: i think that one also requires us to associate conductor<->node22:48
devanandawhen ever an instance is on it22:48
devanandathough that's fundamentally an implementation detail of the pxe driver22:49
devanandanot a requirement of all provisioning tools22:49
devanandaif we set the boot device to local, we wouldn't need to preserve that association beyond the image copy either22:49
NobodyCamactually that whole dhcp scrtion should be ripd out of the nova driver22:50
devanandaNobodyCam: I wonder if we can move taht logic out of the nova driver, and into the ironic pxe driver?22:50
devanandaya22:50
NobodyCamlol22:50
NobodyCam:)22:50
NobodyCamI think that is the best thing. move it all to pxe.22:51
NobodyCamGheRivero: you happen to still be up ...22:51
* NobodyCam hopes not.. but tries anyhow22:52
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Remove sqlalchemy-migrate 0.7.3 patching  https://review.openstack.org/5670523:00
* devananda tries to unblock our gate checks23:00
NobodyCam:) you +a'ing it or shal I23:01
NobodyCamreally :P ./ironic/db/sqlalchemy/migration.py:19:1: F401 'dist_version' imported but unused23:05
devanandaflake ...23:05
devanandai'll +a once it passes23:05
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Remove sqlalchemy-migrate 0.7.3 patching  https://review.openstack.org/5670523:06
NobodyCamfor a friday it sure feels like a monday23:06
devanandaheh23:07
NobodyCamone minute23:09
NobodyCamlol watching zuil23:09
NobodyCamzuul even23:09
NobodyCam+1 by mr j23:10
NobodyCam:)23:17
openstackgerritA change was merged to openstack/ironic: Remove sqlalchemy-migrate 0.7.3 patching  https://review.openstack.org/5670523:20
openstackgerritA change was merged to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/5632523:27
NobodyCamdevananda: looks like https://review.openstack.org/#/c/56519/ in unhappy23:31
devanandaneeds a rebase, i bet23:34
NobodyCamgoing to help john bring thing in brb23:35
devanandapatch bomb ....23:35
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.log from oslo  https://review.openstack.org/5652023:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.notifier.* from oslo  https://review.openstack.org/5652123:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.periodic_task from oslo  https://review.openstack.org/5652223:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.service from oslo  https://review.openstack.org/5652323:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: update sample config  https://review.openstack.org/5652423:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.config.generator from oslo  https://review.openstack.org/5651423:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.context from oslo  https://review.openstack.org/5651523:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Sync common.db.sqlalchemy changes from olso  https://review.openstack.org/5651623:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Sync common utils from Oslo  https://review.openstack.org/5651723:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.local from oslo  https://review.openstack.org/5651823:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: sync common.lockutils from oslo  https://review.openstack.org/5651923:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Implement sync_power_state periodic task  https://review.openstack.org/5653023:40
openstackgerritA change was merged to openstack/ironic: Register API options under the 'api' group  https://review.openstack.org/5427723:45
NobodyCam:-p23:51
NobodyCamdevananda: did you do ant looking in to lucas's question on 5651423:51
openstackgerritMichael Still proposed a change to openstack/ironic: Update openstack/common/lockutils  https://review.openstack.org/5671923:51
NobodyCams/ant/any/23:52
devanandaNobodyCam: besides pinging dhellman? no23:53
devanandamikal: how are you generating the log-of-changes for ^ ?23:55
devanandai'm sure there's a fancy git comand for it23:55
devanandaand i was just lazy and didn't try to figure it out23:56
devanandabbiab23:57
*** michchap has quit IRC23:57
*** michchap has joined #openstack-ironic23:59
mikaldevananda: I am generating it by hand23:59
mikaldevananda: I would love to discover a more automated way, but I haven't yet23:59

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