Wednesday, 2013-02-13

*** ek6 has quit IRC00:00
*** colinmcnamara has quit IRC00:00
*** epim_ has joined #openstack-dev00:01
*** jergerber has quit IRC00:02
*** ek6 has joined #openstack-dev00:03
*** lloydde has quit IRC00:03
*** sacharya has quit IRC00:03
*** adjohn has joined #openstack-dev00:04
*** adjohn_ has quit IRC00:04
*** epim has quit IRC00:04
*** epim_ is now known as epim00:04
*** bswartz has joined #openstack-dev00:05
*** mjfork has quit IRC00:09
*** mjfork has joined #openstack-dev00:09
*** ek6 has quit IRC00:12
*** alszar has quit IRC00:12
*** danwent has joined #openstack-dev00:15
*** vkmc has quit IRC00:16
*** jaypipes has quit IRC00:17
*** pabelanger has joined #openstack-dev00:17
*** racedo has quit IRC00:17
*** racedo has joined #openstack-dev00:18
*** adjohn_ has joined #openstack-dev00:19
*** adjohn has quit IRC00:22
*** soody has joined #openstack-dev00:28
devanandawhat is the expected behaviour of the nova-compute service when a virt driver raises an exception within driver.spawn() ?00:29
openstackgerritA change was merged to openstack/glance: Avoid dangling partial image on size/checksum mismatch  https://review.openstack.org/2167500:34
*** Nachi has joined #openstack-dev00:42
*** brucer has joined #openstack-dev00:43
*** nati_ueno has quit IRC00:45
*** tomoe_ has quit IRC00:46
*** tomoe_ has joined #openstack-dev00:47
*** alexpilotti has joined #openstack-dev00:47
*** hemna has quit IRC00:47
*** sthaha has joined #openstack-dev00:49
*** jcmartin_ has joined #openstack-dev00:50
*** jcmartin has quit IRC00:50
*** jcmartin has joined #openstack-dev00:51
*** digitalsanctum has quit IRC00:51
*** dachary1 has quit IRC00:52
*** blamar has joined #openstack-dev00:53
*** blamar has quit IRC00:55
*** blamar has joined #openstack-dev00:57
*** CaptTofu has quit IRC00:57
*** CaptTofu has joined #openstack-dev00:58
*** alexpilotti has quit IRC01:00
*** Tross has quit IRC01:01
*** sthaha has quit IRC01:03
*** adjohn_ has quit IRC01:04
*** buzztroll_ has joined #openstack-dev01:04
*** adjohn has joined #openstack-dev01:04
*** pabelanger has quit IRC01:05
*** markwash has quit IRC01:12
openstackgerritA change was merged to openstack/quantum: Remove duplicated option state_path from netns cleanup  https://review.openstack.org/2174301:14
jgriffithbcwaldon: Thanks... and I don't disagree, just wanted to point it out01:16
*** andrewbogott is now known as andrewbogott_afk01:16
*** markwash has joined #openstack-dev01:16
jgriffithbcwaldon: I'll finish reviewing and give my +1 FWIW later tonight01:16
*** sacharya has joined #openstack-dev01:23
*** ek6 has joined #openstack-dev01:23
*** ek6 has quit IRC01:28
*** jbr_ has quit IRC01:32
*** soody has quit IRC01:34
*** Nachi has quit IRC01:34
*** ladquin has quit IRC01:34
*** lloydde has joined #openstack-dev01:35
*** anniec has joined #openstack-dev01:37
*** anniec has quit IRC01:37
*** anniec has joined #openstack-dev01:37
*** bencherian has quit IRC01:41
*** mnewby has quit IRC01:42
*** reed has quit IRC01:42
*** digitalsanctum has joined #openstack-dev01:44
*** john5223 has joined #openstack-dev01:45
*** digitalsanctum has quit IRC01:45
*** ek6 has joined #openstack-dev01:47
*** Tross has joined #openstack-dev01:48
*** CaptTofu has quit IRC01:50
*** CaptTofu has joined #openstack-dev01:50
*** baba has quit IRC01:54
*** jcmartin has quit IRC01:55
*** Tross has quit IRC01:56
*** mnewby has joined #openstack-dev02:01
*** megha has joined #openstack-dev02:01
*** danwent has quit IRC02:02
openstackgerritA change was merged to openstack/python-glanceclient: Make effective ssl callback behaviour more obvious  https://review.openstack.org/2099202:03
openstackgerritA change was merged to openstack/python-novaclient: Corrects 2nd argument type for logging  https://review.openstack.org/2178202:03
openstackgerritA change was merged to openstack-dev/devstack: Add option to make screen starting more robust.  https://review.openstack.org/2172102:03
openstackgerritA change was merged to openstack/tempest: Fixes test_resize_server_(confirm|revert) methods  https://review.openstack.org/2179302:04
*** sthaha has joined #openstack-dev02:04
*** jog0_ has joined #openstack-dev02:04
*** jog0_ has quit IRC02:04
*** ladquin has joined #openstack-dev02:05
*** pabelanger has joined #openstack-dev02:05
*** ladquin has quit IRC02:06
*** jog0 has quit IRC02:08
*** joshuamckenty has quit IRC02:09
*** bencherian has joined #openstack-dev02:09
*** stevemar has joined #openstack-dev02:09
*** dims has joined #openstack-dev02:10
*** soody has joined #openstack-dev02:11
*** pabelanger has quit IRC02:13
*** cp16net is now known as cp16net|away02:15
*** cp16net|away is now known as cp16net02:15
*** njoy_ has joined #openstack-dev02:18
*** pabelanger has joined #openstack-dev02:18
*** danwent has joined #openstack-dev02:19
*** radez_g0n3 has quit IRC02:19
*** soody has quit IRC02:21
*** njoy has quit IRC02:21
*** soody has joined #openstack-dev02:21
mjforkmy fresh run_tests  in nova is failing with NoneType object has no attribute split at the line "for part in self.release_string().split('.'):" .. what am I missing?02:22
*** njoy_ has quit IRC02:24
*** Mandell has quit IRC02:25
*** john5223 has quit IRC02:27
*** mikal has quit IRC02:27
*** mikal has joined #openstack-dev02:29
*** jaypipes has joined #openstack-dev02:32
*** mohits has joined #openstack-dev02:35
*** crandquist has quit IRC02:35
*** crandquist has joined #openstack-dev02:36
*** dprince has joined #openstack-dev02:39
jgriffithmarkwash: ping02:39
*** salv-orlando has quit IRC02:42
jgriffithmarkwash: Nerver mind, not important02:44
*** jcmartin has joined #openstack-dev02:44
*** brucer has quit IRC02:45
openstackgerritA change was merged to openstack/nova: Add an extension to show the type of an ip.  https://review.openstack.org/2145302:48
*** jcmartin has quit IRC02:48
*** READ10 has joined #openstack-dev02:49
*** ek6_ has joined #openstack-dev02:49
*** rmk has joined #openstack-dev02:50
*** ek6 has quit IRC02:53
*** dprince has quit IRC03:00
*** Ryan_Lane has quit IRC03:01
*** ek6_ has quit IRC03:03
*** ewindisch has quit IRC03:08
*** jcmartin has joined #openstack-dev03:10
*** ewindisch has joined #openstack-dev03:12
openstackgerritA change was merged to openstack/nova: Simplify and optimize az server output extension.  https://review.openstack.org/2147103:12
*** novas0x2a|laptop has quit IRC03:17
*** anniec has quit IRC03:18
*** brucer has joined #openstack-dev03:24
*** melwitt2 has quit IRC03:24
*** gyee has quit IRC03:29
*** jog0 has joined #openstack-dev03:32
*** mohits has quit IRC03:39
*** danwent has quit IRC03:40
*** jog0 has quit IRC03:44
*** arosen has quit IRC03:45
*** Tross has joined #openstack-dev03:46
*** melwitt has joined #openstack-dev03:48
*** adjohn has quit IRC03:48
*** Boxcar21 has joined #openstack-dev03:54
*** megha has quit IRC03:58
*** mjfork has quit IRC04:02
*** mdomsch has joined #openstack-dev04:03
*** otherwiseguy has quit IRC04:05
*** otherwiseguy has joined #openstack-dev04:07
*** bdpayne has quit IRC04:07
*** Ryan_Lane has joined #openstack-dev04:08
*** kaganos has joined #openstack-dev04:09
*** ewindisch has quit IRC04:12
*** crandquist has quit IRC04:14
*** ewindisch has joined #openstack-dev04:19
*** pabelanger has quit IRC04:23
*** aeperezt has quit IRC04:25
*** Tross has quit IRC04:28
*** boris-42 has joined #openstack-dev04:39
*** lbragstad has joined #openstack-dev04:40
*** bdpayne has joined #openstack-dev04:42
*** jcmartin has quit IRC04:44
*** READ10 has quit IRC04:45
openstackgerritA change was merged to openstack/horizon: Added openstack_dashboard/local/.secret_key_store to .gitignore.  https://review.openstack.org/2167104:46
*** jcmartin has joined #openstack-dev04:51
*** Mandell has joined #openstack-dev04:53
*** mohits has joined #openstack-dev04:57
*** bencherian has quit IRC04:57
*** HenryG has quit IRC04:59
*** martine has quit IRC05:04
*** ewindisch has quit IRC05:05
*** soody has quit IRC05:07
*** otherwiseguy has quit IRC05:08
*** nmagnezi has joined #openstack-dev05:10
*** danwent has joined #openstack-dev05:10
*** Tross has joined #openstack-dev05:10
*** navid_ has joined #openstack-dev05:12
*** mdomsch has quit IRC05:15
*** henrynash_ has joined #openstack-dev05:24
*** henrynash has quit IRC05:27
*** henrynash_ is now known as henrynash05:27
*** kaganos has quit IRC05:30
*** sthaha has quit IRC05:35
*** mnewby has quit IRC05:36
*** stevebaker has quit IRC05:46
*** garyk has quit IRC05:47
*** stevemar has quit IRC05:49
*** Tross has quit IRC05:59
*** jcmartin has quit IRC05:59
henrynashjgriffith: hi05:59
henrynashttx: the plumbing for domain-scoping is now complete - the final piece is for the v3 auth (gyee is doing this) to use it to issue domain scoped tokens06:01
*** sacharya has quit IRC06:03
*** henrynash has quit IRC06:04
*** henrynash has joined #openstack-dev06:07
henrynashgyee: you still having trouble with your setup test?06:07
*** nunosantos has quit IRC06:07
*** njoy has joined #openstack-dev06:10
*** bdpayne has quit IRC06:12
*** kaganos has joined #openstack-dev06:14
*** avishay has joined #openstack-dev06:16
openstackgerritA change was merged to openstack/nova: Refine PowerVM MAC address generation algorithm  https://review.openstack.org/2168606:17
*** Tross has joined #openstack-dev06:18
openstackgerritA change was merged to openstack/tempest: Break out RestClient error checking.  https://review.openstack.org/2153206:18
openstackgerritA change was merged to openstack/horizon: Fixes support for User filtering without JavaScript  https://review.openstack.org/2181606:18
openstackgerritA change was merged to openstack/tempest: Add an images client.  https://review.openstack.org/1996306:18
openstackgerritA change was merged to openstack/nova: Remove locking declarator in ServiceGroup __new__()  https://review.openstack.org/2168206:18
*** adjohn has joined #openstack-dev06:18
openstackgerritA change was merged to openstack/nova: Properly write non-raw LVM images on creation  https://review.openstack.org/2159506:18
openstackgerritA change was merged to openstack/nova: Libvirt: Implement snapshots for LVM-backed roots  https://review.openstack.org/2159106:18
*** hattwick has quit IRC06:19
openstackgerritA change was merged to openstack/glance: Convert some prints to addDetails calls.  https://review.openstack.org/1905506:32
openstackgerritA change was merged to openstack/horizon: Fixes the width of the error box on the login form.  https://review.openstack.org/2158306:32
openstackgerritA change was merged to openstack/horizon: Properly enable/disable project/user edit via setting.  https://review.openstack.org/2158706:32
openstackgerritA change was merged to openstack/nova: Move allowvssprovider=false to vm-data field  https://review.openstack.org/2102906:32
openstackgerritA change was merged to openstack/glance: Image Member Domain Model  https://review.openstack.org/2112106:32
*** koolhead11|away is now known as koolhead1706:36
*** ondergetekende has joined #openstack-dev06:37
*** AnilV4 has joined #openstack-dev06:38
*** garyk has joined #openstack-dev06:43
*** markwash has quit IRC06:45
*** danwent has quit IRC06:46
*** armaan has joined #openstack-dev06:52
*** ondergetekende has quit IRC06:57
*** ondergetekende has joined #openstack-dev06:57
*** b1rkh0ff has quit IRC07:03
*** thingee is now known as thingee_zzz07:04
*** brucer has quit IRC07:08
*** mindpixel has joined #openstack-dev07:11
*** alobbs has joined #openstack-dev07:18
*** mrunge has joined #openstack-dev07:19
*** b1rkh0ff has joined #openstack-dev07:20
*** spn has quit IRC07:22
*** odyssey4me has joined #openstack-dev07:23
odyssey4meI'd like to confirm my understanding of http://wiki.openstack.org/GerritWorkflow#Long-lived_Topic_Branches before I proceed with my changes.07:24
odyssey4meThe first 2 steps - git checkout master; git pull origin master... those are only done at the beginning of the work, right? Once you begin work on your topic branch the only subsequent action to keep yourself aligned with the master is to 'git rebase -i master'. Is that understanding correct?07:26
*** mohits has quit IRC07:26
clarkbno, you need to keep your local master up to date or rebasing will be a noop07:27
*** kaganos has quit IRC07:27
odyssey4meclarkb - ok, help me out by walking me through this please07:27
odyssey4meclarkb - I start a session by doing 'git remote update', 'git checkout master', 'git pull origin master'07:28
odyssey4meclarkb - then I start my topic through 'git checkout -b bug/123456'07:29
odyssey4meclarkb - then I do some work on the various files... all good so far?07:29
clarkbyes07:29
odyssey4meclarkb - once I've done everything I wanted to do, to I do the following again just before I submit the review: 'git checkout master', 'git pull origin master', 'git checkout bug/123456', 'git rebase -i master' ?07:31
*** boris-42 has quit IRC07:31
clarkbyeah. that will update your local master then change the base of your branch07:31
odyssey4meclarkb - great, thanks... it makes sense, but somehow I managed to blow up my changes the last time I did it07:32
*** afazekas has joined #openstack-dev07:33
*** mohits has joined #openstack-dev07:33
*** sgran has quit IRC07:37
*** yolanda has joined #openstack-dev07:47
*** mmagr has joined #openstack-dev07:51
*** mnewby has joined #openstack-dev07:51
*** markwash has joined #openstack-dev07:51
*** markwash has quit IRC07:56
*** doude has joined #openstack-dev07:56
*** koolhead17 has quit IRC07:58
*** rafaduran has joined #openstack-dev07:58
*** corXi has joined #openstack-dev07:59
*** thingee_zzz is now known as thingee07:59
*** henrynash has quit IRC08:00
*** almaisan-away is now known as al-maisan08:03
*** darraghb has joined #openstack-dev08:07
*** zykes- has quit IRC08:08
*** zykes- has joined #openstack-dev08:11
*** mohits has quit IRC08:14
*** Mandell has quit IRC08:15
*** mohits has joined #openstack-dev08:16
openstackgerritA change was merged to openstack/nova: Forces flavorRef to be string in servers resize api  https://review.openstack.org/2182508:16
*** eglynn has quit IRC08:16
openstackgerritA change was merged to openstack/swift: Fix spelling mistakes  https://review.openstack.org/2183308:16
openstackgerritA change was merged to openstack/quantum: Fix NVP L3 gateway ports admin_state_down on creation  https://review.openstack.org/2172008:16
openstackgerritA change was merged to openstack/quantum: Remove cfg option default value and check if missing  https://review.openstack.org/2130108:16
openstackgerritA change was merged to openstack/cinder: change display_description to description in volumes  https://review.openstack.org/2175608:16
*** Mandell has joined #openstack-dev08:18
*** aloga has quit IRC08:18
*** aloga has joined #openstack-dev08:18
*** davidh_ has quit IRC08:19
openstackgerritA change was merged to openstack/cinder: NetApp direct to filer drivers for iscsi and nfs.  https://review.openstack.org/1918908:19
openstackgerritA change was merged to openstack/python-cinderclient: Allow requests 0.8 and greater  https://review.openstack.org/2122208:19
openstackgerritA change was merged to openstack/cinder: v2 volume/snapshot create will correctly give a 202 response  https://review.openstack.org/2175508:19
openstackgerritA change was merged to openstack/cinder: make test_databases instance variable  https://review.openstack.org/2157008:19
openstackgerritA change was merged to openstack/python-cinderclient: Avoid UnicodeEncodeError exception on exception  https://review.openstack.org/2133208:19
openstackgerritA change was merged to openstack/cinder: add postgresql opportunistic testing  https://review.openstack.org/2158508:19
openstackgerritA change was merged to openstack/swift: Make statsd sample rate behave better.  https://review.openstack.org/2009308:19
openstackgerritA change was merged to openstack/keystone: Fix spelling mistakes  https://review.openstack.org/2181308:19
openstackgerritA change was merged to openstack/nova: Fix update quota with invalid value  https://review.openstack.org/2089008:19
*** reidrac has joined #openstack-dev08:22
*** mnewby has quit IRC08:23
*** gael has joined #openstack-dev08:25
*** jgallard has joined #openstack-dev08:26
openstackgerritA change was merged to openstack/nova: Handle compute node not available for live migration  https://review.openstack.org/1961608:27
openstackgerritA change was merged to openstack/python-keystoneclient: Add name arguments to keystone command.  https://review.openstack.org/1989908:27
openstackgerritA change was merged to openstack/quantum: Unused methods in quantum.wsgi clean up  https://review.openstack.org/2163108:27
*** shardy_afk is now known as shardy08:28
*** kpavel has quit IRC08:33
*** egallen has joined #openstack-dev08:41
*** jpich has joined #openstack-dev08:42
*** tomoe_ has quit IRC08:42
*** adjohn has quit IRC08:47
*** morganfainberg has quit IRC08:47
*** adjohn has joined #openstack-dev08:48
*** adjohn has quit IRC08:48
*** fc__ has joined #openstack-dev08:48
*** ndipanov has joined #openstack-dev08:49
*** mestery_ has joined #openstack-dev08:52
*** pixelbeat has joined #openstack-dev08:53
*** mestery has quit IRC08:53
*** dachary has joined #openstack-dev08:57
*** mestery_ has quit IRC08:59
*** mestery has joined #openstack-dev09:01
*** doude has left #openstack-dev09:03
*** Mandell has quit IRC09:03
*** johnthetubaguy has joined #openstack-dev09:04
*** davidha has joined #openstack-dev09:06
*** doude has joined #openstack-dev09:06
*** derekh has joined #openstack-dev09:07
*** mestery has quit IRC09:07
*** henrynash has joined #openstack-dev09:07
*** eglynn has joined #openstack-dev09:08
*** mestery has joined #openstack-dev09:10
*** troytoman-away is now known as troytoman09:11
*** troytoman is now known as troytoman-away09:11
*** dachary1 has joined #openstack-dev09:12
*** dachary has quit IRC09:12
*** sgran has joined #openstack-dev09:14
*** lloydde has quit IRC09:14
*** eglynn has quit IRC09:15
*** lloydde has joined #openstack-dev09:15
*** dosaboy has joined #openstack-dev09:15
*** zaneb has joined #openstack-dev09:16
*** adjohn has joined #openstack-dev09:19
*** dachary1 has quit IRC09:19
*** lloydde has quit IRC09:20
*** romcheg has joined #openstack-dev09:22
*** BobBall has quit IRC09:24
*** locke1051 has quit IRC09:24
*** psedlak has joined #openstack-dev09:25
*** eglynn has joined #openstack-dev09:27
*** crandquist has joined #openstack-dev09:27
*** al-maisan is now known as almaisan-away09:29
*** adjohn has quit IRC09:29
*** mindpixel has quit IRC09:30
*** kpavel has joined #openstack-dev09:31
*** salv-orlando has joined #openstack-dev09:31
*** ajc_ has joined #openstack-dev09:36
*** dosaboy has quit IRC09:40
*** dosaboy has joined #openstack-dev09:41
*** boden has joined #openstack-dev09:44
*** iartarisi has joined #openstack-dev09:45
*** asalkeld has quit IRC09:45
*** colinmcnamara has joined #openstack-dev09:48
*** asalkeld has joined #openstack-dev09:48
*** ajc_ has quit IRC09:51
*** ajc_ has joined #openstack-dev09:51
*** melwitt has quit IRC09:58
openstackgerritA change was merged to openstack/horizon: Improve error message when the default role doesn't exist  https://review.openstack.org/2164709:59
*** thingee is now known as thingee_zzz09:59
*** eglynn has quit IRC10:01
*** danpb has joined #openstack-dev10:01
*** vkmc has joined #openstack-dev10:03
*** dachary has joined #openstack-dev10:08
*** henrynash_ has joined #openstack-dev10:10
asalkeldanyone on fedora 18 and are getting "dnsmasq: failed to create listening socket for 10.0.0.1: Cannot assign requested address"10:10
asalkeld(when creating a server10:10
*** jbr_ has joined #openstack-dev10:11
*** henrynash has quit IRC10:12
*** henrynash_ is now known as henrynash10:12
asalkeldjust a basic devstack setup)10:12
odyssey4measalkeld - it sounds like there's either a conflict on that address and/or socket, or that address isn't bound to the server.10:14
asalkeldok10:15
asalkeldmmm, struggling to find anyone else using that addr10:21
*** henrynash has quit IRC10:23
*** andreaf has quit IRC10:23
*** afrittoli has quit IRC10:23
*** andreaf has joined #openstack-dev10:23
odyssey4measalkeld - is this a new setup, or has this run before?10:23
*** henrynash has joined #openstack-dev10:24
*** eglynn has joined #openstack-dev10:25
*** fc__ has quit IRC10:25
*** fc__ has joined #openstack-dev10:26
*** fc__ has joined #openstack-dev10:26
danpbpixelbeat: if you have time to review this patch for letting user specific VIF model, that'd be very helpful for me https://review.openstack.org/#/c/21527/10:26
asalkeldodyssey4me, had it running a week ago - was doing other stuff, now updated the code and all bust10:30
asalkeld(could be a distro package)10:30
*** armaan1 has joined #openstack-dev10:32
*** armaan has quit IRC10:32
danpbdoes anyone know if it is possible to setup email alert in launchpad to get a notification for any new blueprint created against nova ?10:33
*** avishay has quit IRC10:35
*** hattwick has joined #openstack-dev10:35
jbr_not sure but just subscribe to the mailing list10:37
danpbjbr_: which mailing list in particular ?10:45
*** armaan1 has quit IRC10:45
*** armaan has joined #openstack-dev10:46
jbr_danpb : You must join the Nova Team to be able to subscribe to the mailing list. You will find some informations here : http://wiki.openstack.org/HowToContribute10:49
*** adjohn has joined #openstack-dev10:51
*** eglynn has quit IRC10:51
*** avishay has joined #openstack-dev10:52
odyssey4measalkeld - well, if you shut down the machine and restarted it then you need to run stack again to start everything up. If you didn't do that then you need to see (using netstat) whether something else is using the same port that your service is trying to use. You also need to check (using ifconfig) whether the IP address you're binding to is actually bound to the machine.10:54
*** armaan1 has joined #openstack-dev10:54
asalkeldodyssey4me, I added the following to my localrc and it's working:10:55
asalkeldFIXED_RANGE=192.168.33.2/2410:55
asalkeld FLAT_INTERFACE=em110:55
asalkeld FIXED_NETWORK_SIZE=25610:55
*** armaan has quit IRC10:55
odyssey4measalkeld - great, glad to hear it :)10:56
*** adjohn has quit IRC10:56
asalkeldodyssey4me, thx for the suggestions10:56
danpbjbr_: i've been on the nova team & openstack mailing lists for a long time - i don't see notifications  of new blueprints on them though10:57
asalkelddanpb, are you on the nova-drivers team?10:58
danpbasalkeld: no, that's a restricted membership team AFAIK10:59
jbr_arf, sorry danpd :(10:59
asalkeldI *think* that is where the messages come from10:59
*** Yada has left #openstack-dev10:59
*** flaper87 has joined #openstack-dev11:07
*** Yada has joined #openstack-dev11:07
*** dosaboy has quit IRC11:08
*** dosaboy has joined #openstack-dev11:10
*** adalbas has joined #openstack-dev11:10
*** techlife has quit IRC11:16
*** techlife has joined #openstack-dev11:17
*** asalkeld has quit IRC11:20
*** adjohn has joined #openstack-dev11:22
*** asalkeld has joined #openstack-dev11:24
*** mkollaro has joined #openstack-dev11:25
*** maurosr has joined #openstack-dev11:26
*** adjohn has quit IRC11:26
*** ondergetekende has quit IRC11:27
*** kmartin has quit IRC11:28
*** larsbutler has joined #openstack-dev11:29
*** boris-42 has joined #openstack-dev11:33
giulivoguys, coul somebody point me at the API reference for cinder/volume ?11:37
giulivothis http://docs.openstack.org/api/api-specs.html is just sending me back to api.openstack.org for cinder11:37
*** alexpilotti has joined #openstack-dev11:38
flaper87giulivo: I'd say: http://wiki.openstack.org/Cinder http://docs.openstack.org/developer/cinder/11:40
flaper87giulivo: also http://wiki.openstack.org/CinderAPIv211:40
boris-42sdague: Hi.11:42
giulivothanks11:43
*** koolhead17 has joined #openstack-dev11:43
giulivothe developer docs seems to have the module docs11:43
*** ajc_ has quit IRC11:43
*** ajc__ has joined #openstack-dev11:43
sdagueboris-42: yo11:44
boris-42sdague: Hmm I type you in private chat, but probably you didn't receive anything11:44
sdagueI did, sorry was focussed on reviews11:44
sdaguewhy don't you repeat it here11:44
boris-42ok11:45
sdaguegood to get us used to doing all the questions in channel anyway :)11:45
boris-42I found very very strange behavior in migration tests. it seems that jenkins tests only sqlite Line 113 has error should be *columns instead of *fields https://review.openstack.org/#/c/20935/5/nova/db/sqlalchemy/utils.py But there are tests in test_migration_utils for this case… ( So something is not ok.11:45
sdagueso the drop is only in the downgrades?11:46
sdaguetoday, mysql and postgresql don't snake walk in CI11:47
boris-42aA11:47
boris-42Ok11:47
sdagueso they probably don't hit the downgrade path11:47
sdaguethat should probably be changed11:47
boris-42This script is not used in downgrade11:47
boris-42it is used in https://review.openstack.org/#/c/20935/5/nova/tests/test_migration_utils.py11:48
sdagueright11:48
boris-42So it should be run for each engine that is in config11:48
boris-42And there was only sqlite?)11:48
sdagueyes, except sqlite is the only engine in the config11:48
*** trapni has joined #openstack-dev11:48
*** trapni has joined #openstack-dev11:48
sdaguefor mysql and pg we do this opportunistic testing for just the migrations11:49
sdagueif you notice those tests cases, they inject a new engine in11:49
koolhead17sdague: hey there11:50
boris-42Didn't notice that.. ( Ok I think I should be more careful =)11:50
sdaguehttps://github.com/openstack/nova/blob/master/nova/tests/test_migrations.py#L26511:50
sdagueboris-42: yeh, it's a little sneaky11:50
boris-42As I understood in future we will run tests for all backends?11:51
sdagueboris-42: in the unit test case, I don't think that's really expected11:51
sdaguewe're assuming that going through sqlalchemy gives us enough abstraction to only need it in unit tests11:52
sdaguemigrations are special11:52
sdaguebecause we end up doing special things for each engine, which is why we do all the dbs11:52
sdaguethen we're running mysql & pg in devstack gate, so assume we'll get the rest of it over there11:53
*** adjohn has joined #openstack-dev11:53
*** ajc__ has quit IRC11:53
sdaguetestr actually makes things much worse in this regard, so be very careful if you touch mysql from another location, because you could be running at the same time as the migrations tests on the same db11:53
sdaguekoolhead17: what's up?11:54
boris-42What should I do to make migration utils tested with all DB backends?=)11:55
koolhead17sdague: need some helping hand so that can push info about new schedulers in our existing doc :)11:55
boris-42just wait a little bit?)11:55
*** rkukura has quit IRC11:55
sdaguekoolhead17: I'm probably not the right person, I've done very little in that code11:56
koolhead17sdague: ok. let me shoot the list for the same. I saw some of your commits i think so i poked you11:57
sdagueyeh, that was probably string cleanups :)11:57
*** adjohn has quit IRC11:57
sdagueboris-42: ok, so you are probably safe if you take the same opportunistic approach and do what you did in the current test and use a table that won't be in a migration11:57
koolhead17sdague: grrrr LD11:57
boris-42sdague: ok thanks11:58
sdaguekoolhead17: yeh, I did a bunch of style cleanups, so I'm in git history on lots of files now11:58
koolhead17sdague: thanks11:58
koolhead17garyk: hey there12:00
*** zoresvit has joined #openstack-dev12:08
*** amerine has quit IRC12:11
*** mohits has quit IRC12:12
*** ondergetekende has joined #openstack-dev12:13
*** pcm_ has joined #openstack-dev12:13
*** jruzicka has joined #openstack-dev12:15
*** armaan1 has quit IRC12:17
*** adjohn has joined #openstack-dev12:23
*** zeriouz has joined #openstack-dev12:24
*** mohits has joined #openstack-dev12:26
*** adjohn has quit IRC12:28
*** anteaya has joined #openstack-dev12:35
*** ladquin has joined #openstack-dev12:35
odyssey4meIf I have a simple improvement to make on an existing feature, do I need to report that as a bug or a blueprint?12:39
odyssey4me(it will involve a line of code changed in two files)12:40
*** mkollaro1 has joined #openstack-dev12:41
*** mkollaro has quit IRC12:41
*** martine has joined #openstack-dev12:41
jbr_looking for a CLI tool to display json (humain readable) using pipe stdin. anyone ?12:42
*** racedo has quit IRC12:43
danpbjbr_: assume you want something more advanced than /bin/cat :-)12:43
jbr_of course lol :p12:43
danpbjbr_: pretty printing i guess ?  eg     echo '{"foo": "lorem", "bar": "ipsum"}' | python -mjson.tool12:44
jbr_i found that into an old openstack install guide ... but i'm don't remember where exactly12:44
jbr_yeah, it's exactly what i search !12:44
jbr_thanks !12:44
danpbany time :-)12:44
*** racedo has joined #openstack-dev12:45
*** dims has quit IRC12:49
openstackgerritA change was merged to openstack/oslo-incubator: sort options to make --help output prettier  https://review.openstack.org/2185112:52
*** adjohn has joined #openstack-dev12:54
*** racedo has quit IRC12:57
*** adjohn has quit IRC12:59
sgranhi there13:00
*** racedo has joined #openstack-dev13:00
*** aloga has quit IRC13:01
sgranI'm still looking for reviewers/approvers for https://review.openstack.org/#/c/21317/13:01
sgranit seems trivial to me, yet it's languishing13:01
sgranis there something I can do to make this happen?13:01
sgranI hate to be a pain13:01
sgranbut this is a real bug affecting us, and it seems to not get any interest13:01
*** davidhadas has joined #openstack-dev13:02
*** EmilienM has joined #openstack-dev13:02
*** armaan has joined #openstack-dev13:02
*** vkmc_ has joined #openstack-dev13:05
*** annegentle has joined #openstack-dev13:05
*** davidha has quit IRC13:05
*** aloga has joined #openstack-dev13:05
*** mrunge has quit IRC13:09
*** soody has joined #openstack-dev13:13
*** dolphm_ has joined #openstack-dev13:13
*** zoresvit has quit IRC13:13
*** esheffield has joined #openstack-dev13:14
*** zoresvit has joined #openstack-dev13:14
*** READ10 has joined #openstack-dev13:21
*** armaan has quit IRC13:21
*** soody has quit IRC13:23
*** martine has quit IRC13:25
*** adjohn has joined #openstack-dev13:25
*** zbitter has joined #openstack-dev13:25
*** alunduil has quit IRC13:26
*** zaneb has quit IRC13:29
sdaguettx: there is some view of launchpad blueprints that had these little check boxes with all the outstanding (and merged reviews) color coded13:30
*** adjohn has quit IRC13:30
sdaguebut I can't find the url, do you know what I'm asking about?13:30
*** armaan has joined #openstack-dev13:32
openstackgerritA change was merged to openstack/nova: Allow VIF model to be chosen per image  https://review.openstack.org/2152713:34
*** anniec has joined #openstack-dev13:35
*** anniec has quit IRC13:37
*** anniec has joined #openstack-dev13:37
*** sthaha has joined #openstack-dev13:40
*** pvo has quit IRC13:40
*** martine has joined #openstack-dev13:42
*** jd__ has quit IRC13:42
*** jd__ has joined #openstack-dev13:43
*** dosaboy has quit IRC13:45
*** pvo has joined #openstack-dev13:45
*** zul has quit IRC13:52
*** zul has joined #openstack-dev13:53
*** adjohn has joined #openstack-dev13:55
*** mohits has quit IRC13:58
*** adjohn has quit IRC14:00
*** racedo has quit IRC14:00
sgranwell, it seems that didn't help.  Does anyone have any suggestions about how to get any interest?14:01
*** jergerber has joined #openstack-dev14:02
*** radez has joined #openstack-dev14:02
*** radez is now known as radez_g0n314:02
*** rpedde_away is now known as rpedde14:03
*** martine has quit IRC14:04
*** racedo has joined #openstack-dev14:05
*** radez_g0n3 is now known as radez14:05
*** egallen has quit IRC14:05
*** dprince has joined #openstack-dev14:06
*** riskable has joined #openstack-dev14:06
*** vkmc_ has quit IRC14:07
*** ewindisch has joined #openstack-dev14:08
*** eglynn has joined #openstack-dev14:09
*** Yada has quit IRC14:10
dolphm_henrynash: assuming ayoung didn't approved based on your -1: https://review.openstack.org/#/c/21594/14:10
*** bknudson has joined #openstack-dev14:10
henrynashdolphm: Ok, happy to change….I was just asking the question - not worth holding this up14:11
*** mpdehaan has joined #openstack-dev14:12
*** mpdehaan is now known as mdehaan14:12
*** ayoung has joined #openstack-dev14:12
*** joesavak has joined #openstack-dev14:15
*** dosaboy has joined #openstack-dev14:15
*** egallen has joined #openstack-dev14:16
*** kbringard has joined #openstack-dev14:16
*** bknudson has quit IRC14:16
danpblqpid14:17
*** Yada has joined #openstack-dev14:19
*** jbr_ has quit IRC14:20
*** kpavel_ has joined #openstack-dev14:21
*** jbr_ has joined #openstack-dev14:21
*** eglynn has quit IRC14:21
*** zeriouz has quit IRC14:23
*** kpavel has quit IRC14:23
*** kpavel_ is now known as kpavel14:23
*** zeriouz has joined #openstack-dev14:23
*** alunduil has joined #openstack-dev14:24
*** alunduil has quit IRC14:25
*** alunduil has joined #openstack-dev14:26
*** adjohn has joined #openstack-dev14:26
*** dhellmann has joined #openstack-dev14:26
*** mtreinish has joined #openstack-dev14:28
openstackgerritA change was merged to openstack-dev/devstack: allow resize tests to run  https://review.openstack.org/2156714:28
sdaguedansmith: ^^^^ - ok resize is now tested in the gate14:29
dansmithsdague: that's great, although I'm curious to see how much slower it makes it :(14:29
*** bknudson has joined #openstack-dev14:29
*** navid_ has left #openstack-dev14:30
*** adjohn has quit IRC14:31
flaper87bcwaldon: ping14:31
*** annegentle has quit IRC14:32
*** eglynn has joined #openstack-dev14:32
*** zeriouz has quit IRC14:33
*** zeriouz has joined #openstack-dev14:34
*** zeriouz has quit IRC14:36
*** annegentle has joined #openstack-dev14:37
*** kpavel has quit IRC14:38
*** kpavel has joined #openstack-dev14:39
*** alunduil has quit IRC14:41
*** gargya has joined #openstack-dev14:42
*** japage has joined #openstack-dev14:43
*** pabelanger has joined #openstack-dev14:44
*** annegentle has quit IRC14:44
*** woodspa has joined #openstack-dev14:45
*** bencherian has joined #openstack-dev14:46
*** mjfork has joined #openstack-dev14:47
*** jsavak has joined #openstack-dev14:49
*** Guest72554 has quit IRC14:50
*** edmund has joined #openstack-dev14:52
*** joesavak has quit IRC14:52
*** lbragstad has quit IRC14:53
*** markmcclain has joined #openstack-dev14:54
sdaguedansmith: it's only another minute I think14:55
sdagueit's really just a couple of tests14:55
dansmithreally? excellent14:55
dansmithno, it's more than that, isn't it? I thought there were like ten14:55
dansmithanyway, each involves a couple guest boots, so I figured it might go slower14:55
*** odyssey4me has quit IRC14:55
dansmithbut that's good14:55
*** adjohn has joined #openstack-dev14:57
sdaguethere were 7 tests that failed when we flipped over14:58
*** BullShark has joined #openstack-dev14:58
sdaguethere is basically just a resize of a booted node14:58
sdagueand then a resize revert14:58
*** rnirmal has joined #openstack-dev14:58
sdaguexml + json14:58
sdaguemaybe 2 minutes14:59
sdaguelooks like they are about 15 - 20 seconds each to run14:59
*** sandywalsh has quit IRC14:59
*** eglynn has quit IRC15:00
*** dachary1 has joined #openstack-dev15:00
*** dachary has quit IRC15:00
*** adjohn has quit IRC15:01
*** jimfehlig has joined #openstack-dev15:02
dansmithdanpb: did you try that patch?15:03
*** nmagnezi has quit IRC15:03
*** martine has joined #openstack-dev15:03
*** dmarkey has quit IRC15:03
*** dmarkey has joined #openstack-dev15:03
*** locke105 has joined #openstack-dev15:04
danpbdansmith: i'm trying it now actually15:05
dansmithdanpb: okay, I wanted to beg for reviews on the basis that you need it ASAP, but figured I better check first :P15:05
*** aeperezt has joined #openstack-dev15:08
*** stevemar has joined #openstack-dev15:08
*** lbragstad has joined #openstack-dev15:08
*** otherwiseguy has joined #openstack-dev15:09
*** openstackjenkins has quit IRC15:12
*** imsplitbit has joined #openstack-dev15:12
*** topol has joined #openstack-dev15:12
*** openstackjenkins has joined #openstack-dev15:12
*** sandywalsh has joined #openstack-dev15:13
danpbdansmith: yep, it works for me, now i fixed my merge error :-)15:14
dansmithdanpb: cool, thanks :)15:14
garykmaroh: ping15:14
*** rkukura has joined #openstack-dev15:14
*** digitalsanctum has joined #openstack-dev15:15
*** eglynn has joined #openstack-dev15:16
marohgaryk : hi15:17
*** cloudchimp has joined #openstack-dev15:17
garykmaroh: congratulations! the fix is in15:17
marohgaryk : great!! :-)15:17
*** mnewby has joined #openstack-dev15:18
marohgaryk : i can work on the folsom backport?15:18
*** corXi has quit IRC15:20
garykmaroh: i'll take care of that. i'll ping you for a review a bit later15:20
*** afazekas has quit IRC15:20
marohgaryk : ok, thanks!15:21
*** joesavak has joined #openstack-dev15:21
*** sacharya has joined #openstack-dev15:22
*** jsavak has quit IRC15:25
openstackgerritA change was merged to openstack/keystone: Fix test_contrib_s3_core unit test  https://review.openstack.org/2159415:25
*** markmcclain1 has joined #openstack-dev15:27
*** markmcclain has quit IRC15:27
*** adjohn has joined #openstack-dev15:28
*** edmund has quit IRC15:28
avishaymordred: ping15:29
*** boris-42 has quit IRC15:30
enikanorovhi folks, does anyone know how to generate alembic migration scripts?15:32
openstackgerritA change was merged to openstack/cinder: Fix PEP8 violation  https://review.openstack.org/2186115:32
*** sacharya has quit IRC15:32
*** adjohn has quit IRC15:33
*** henrynash has quit IRC15:35
stevemardolphm_: ping15:36
*** megha has joined #openstack-dev15:37
*** ndipanov has quit IRC15:40
*** lglenden has joined #openstack-dev15:44
*** john5223 has joined #openstack-dev15:44
*** almaisan-away is now known as al-maisan15:45
openstackgerritA change was merged to openstack/nova: Imported Translations from Transifex  https://review.openstack.org/2183515:47
openstackgerritA change was merged to openstack/glance: Adding database layer for image members domain model  https://review.openstack.org/2112715:47
*** cp16net is now known as cp16net|away15:48
*** cp16net|away is now known as cp16net15:49
*** sthaha has quit IRC15:49
*** markmcclain1 has quit IRC15:50
*** datsun180b has joined #openstack-dev15:51
*** gael has quit IRC15:53
*** markmcclain has joined #openstack-dev15:54
*** markmcclain has quit IRC15:54
*** devoid has joined #openstack-dev15:55
*** adjohn has joined #openstack-dev15:55
*** rkukura has quit IRC15:56
*** ndipanov has joined #openstack-dev15:56
*** markmcclain has joined #openstack-dev15:56
*** BalleS_ has joined #openstack-dev15:56
*** eglynn has quit IRC15:57
*** eharney has joined #openstack-dev15:58
*** eharney has quit IRC15:58
*** eharney has joined #openstack-dev15:58
*** susanne-balle has quit IRC16:00
*** gargya has quit IRC16:02
*** winston-d has joined #openstack-dev16:03
*** reidrac has quit IRC16:03
*** kmartin has joined #openstack-dev16:03
*** sacharya has joined #openstack-dev16:04
*** Gordonz has joined #openstack-dev16:06
*** gael__ has joined #openstack-dev16:08
*** reidrac has joined #openstack-dev16:08
*** eglynn has joined #openstack-dev16:08
*** mlavalle has joined #openstack-dev16:09
*** reidrac has quit IRC16:10
*** Gordonz has quit IRC16:10
*** racedo has quit IRC16:11
*** Gordonz has joined #openstack-dev16:13
*** racedo has joined #openstack-dev16:13
*** radez is now known as radez_g0n316:14
*** mmagr has quit IRC16:14
*** Gordonz has quit IRC16:14
*** Gordonz has joined #openstack-dev16:14
*** alszar has joined #openstack-dev16:16
*** eglynn has quit IRC16:16
openstackgerritA change was merged to openstack/glance: Fix moker typo in test_notifier  https://review.openstack.org/2177016:17
*** annegentle has joined #openstack-dev16:17
openstackgerritA change was merged to openstack/quantum: Alembic migration script for Loadbalancing service  https://review.openstack.org/2166216:17
openstackgerritA change was merged to openstack/quantum: Add check for subnet update with conflict gateway and allocation_pools  https://review.openstack.org/2143216:17
*** dachary1 has quit IRC16:20
*** TerryH has quit IRC16:23
*** TerryH has joined #openstack-dev16:23
*** iartaris` has joined #openstack-dev16:23
*** kpavel has quit IRC16:23
*** dachary has joined #openstack-dev16:24
*** iartarisi has quit IRC16:24
*** edmund has joined #openstack-dev16:26
*** dachary has quit IRC16:27
*** dachary has joined #openstack-dev16:27
*** ondergetekende has quit IRC16:28
*** iartaris` has quit IRC16:28
*** bdpayne has joined #openstack-dev16:29
*** danwent has joined #openstack-dev16:30
*** njoy_ has joined #openstack-dev16:35
ttxsdague: http://status.openstack.org/release/16:36
*** salgado is now known as salgado-lunch16:36
*** koolhead17 has quit IRC16:36
sdaguettx: great, awesome16:36
*** njoy_ has quit IRC16:36
*** adjohn has quit IRC16:36
*** njoy_ has joined #openstack-dev16:36
*** njoy_ has quit IRC16:37
*** njoy1__ has joined #openstack-dev16:37
*** njoy has quit IRC16:39
*** ndipanov has quit IRC16:39
devanandadripton: ping16:41
driptondevananda: pong16:42
devanandadripton: re: 21481 & test_migrations -- my feeling is "no", this is still early enough in the baremetal dev cycle. after grizzly, it will be important16:43
devanandadripton: but i'm open to doing it now if necessary16:43
*** njoy1__ has quit IRC16:43
driptondevananda: ok.  Just mentioning it because someone -1'd me for not doing test_migrations on my db_archiving patch.  But I'm not sure whether it's a set-in-stone requirement yet.16:43
*** eglynn has joined #openstack-dev16:44
*** networkstatic has quit IRC16:44
devanandadripton: so, looking at the doc header for test_migration, actually this migration will probably fail -- it is dropping a table, after all16:45
driptondevananda: I think there are other migrations that drop tables that it tests successfully.16:45
devanandahm, ok16:46
*** markmcclain has quit IRC16:46
driptonThe trick is that the _pre stuff runs before your migratoin, and the _check after.16:46
*** nunosantos has joined #openstack-dev16:48
devanandahm how do I point this at nova/virt/baremetal/db, instead of nova/db ?16:48
*** joshuamckenty has joined #openstack-dev16:48
*** datsun180b_ has joined #openstack-dev16:48
devanandaah16:48
*** rkukura has joined #openstack-dev16:49
driptonYou can always just clone the file to test_baremetal_migrations.py and hardcode the change16:49
devanandalooks like subclassing should work, i think16:50
maurosrsdague: krtaylor based on the fact that migration 149 (https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/migrate_repo/versions/149_inet_datatype_for_postgres.py) came with the creation of IPAddress type, both alter tables (to pg and to mysql) shouldnt use IpAddress instead of String or INET16:51
*** datsun180b has quit IRC16:51
*** datsun180b_ is now known as datsun180b16:51
*** kaganos has joined #openstack-dev16:52
sstentis there are documented way to install horizon from source?  I tried python setup.py install, but it keeps loking in the wrong place for /static16:52
*** gargya has joined #openstack-dev16:53
*** mkollaro1 has quit IRC16:54
*** edmund has quit IRC16:57
*** Boxcar21 has quit IRC16:57
imsplitbithttps://review.openstack.org/#/c/21556/ please review16:58
devanandadripton: yep. subclass worked. i'm not clear on what should be checked, though, since the migration isn't running any updates (just ALTER and DROP)16:58
*** edmund has joined #openstack-dev16:59
driptondevananda: just try inserting into the table and verify that it fails?  I don't think we're doing anything really complicated in those tests, just showing the migration worked.16:59
devanandaack16:59
*** cp16net is now known as cp16net|away17:00
*** zaitcev has joined #openstack-dev17:01
*** annegentle has quit IRC17:02
*** mrodden has quit IRC17:03
*** cp16net|away is now known as cp16net17:03
*** Ryan_Lane has quit IRC17:03
*** cp16net is now known as cp16net|away17:04
lbragstadbcwaldon: do you have pointers to the latest docs for glance v2 api? I was following your converstation with mjfork yesterday and will be picking up the v2 api work. Thanks in advance :)17:05
*** bswartz has quit IRC17:05
*** cp16net|away is now known as cp16net17:05
*** eglynn has quit IRC17:05
*** romcheg has quit IRC17:09
*** zoresvit has quit IRC17:09
*** utlemming has quit IRC17:11
*** mrodden has joined #openstack-dev17:13
*** koolhead17 has joined #openstack-dev17:14
*** davidhadas has quit IRC17:14
*** utlemming has joined #openstack-dev17:14
*** salgado-lunch is now known as salgado17:16
*** joshuamckenty has quit IRC17:16
*** jgallard has quit IRC17:18
garyksalv-orlando: ping17:21
salv-orlandohi garyk17:21
*** joshuamckenty has joined #openstack-dev17:21
garyksalv-orlando: hope all is well with you. i saw a while ago you mentioned we should not use locals(). am i correct?17:21
salv-orlandothere's a thread on the mailing list where general agreement is that locals() are evil17:22
*** esp1 has joined #openstack-dev17:22
*** fc__ has quit IRC17:22
garykok, thanks.17:22
salv-orlandoand the explicit dict is cumbersome and error-prone, so people were looking for a decent alternative17:23
salv-orlandobut it's not yet official. We should point out in reviews only if it's in HACKING17:23
salv-orlandootherwise we can kindly invite the dev to change approach :)17:23
*** Boxcar21 has joined #openstack-dev17:23
garykok. if there is a patch where this is the only issue then i guess that i can approve it till we have it as being formal. what do you say?17:24
*** jcmartin has joined #openstack-dev17:26
*** zoresvit has joined #openstack-dev17:27
*** markwash has joined #openstack-dev17:28
*** psedlak has quit IRC17:29
*** xenix has joined #openstack-dev17:29
*** anniec has quit IRC17:29
ayoungCan any horizon devs answer a question for me:  does horizon ever attempt to use a scoped token to get another token, or does it always use an unscoped token?17:30
*** bencherian has quit IRC17:31
*** rafaduran has quit IRC17:31
*** darraghb has quit IRC17:32
*** metral has quit IRC17:32
*** metral has joined #openstack-dev17:32
bcwaldonlbragstad: http://docs.openstack.org/api/openstack-image-service/2.0/content/17:33
lbragstadbcwaldon: thanks!17:34
mjforkbcwaldon: would appreciate your feedback here: https://review.openstack.org/#/c/21850/17:34
mjforkbcwaldon: API versioning in nova we talked about yesterday17:34
bcwaldonI'll definitely take a look17:35
bcwaldonlooking for my client update code I mentioned yesterday17:35
*** eglynn has joined #openstack-dev17:35
bcwaldonmjfork: ah, I remember the problem! We have a somewhat major bug in the v2 APi right now17:36
openstackgerritA change was merged to openstack/nova: Make compute manager use conductor for stopping instances  https://review.openstack.org/2179717:36
bcwaldonthere's a new json patch draft out that changes the format of the patch documents17:36
openstackgerritA change was merged to openstack/nova: Add API sample tests to Services extension  https://review.openstack.org/1930017:36
bcwaldonglance is still expecting the old format: https://bugs.launchpad.net/glance/+bug/110247617:37
uvirtbotLaunchpad bug 1102476 in glance "Latest json-patch draft (10) is incompatibile with Images API v2 implementation" [Critical,Triaged]17:37
*** andrewbogott_afk is now known as andrewbogott17:37
*** mdehaan has quit IRC17:38
giulivoguys can anyone help me figure out what is the REST flow to attach a volume from cinder in nova?17:39
giulivoif I GET cinder at /volumes or /volume/$ID I can't get the details for the iscsi connection17:40
giulivoso how does nova get those informations?17:40
ayoungtopol, have you ever run the live LDAP tests ?17:40
topolayoung, which ones?17:41
topolI was using devstack and running client functions to test?17:41
jpichayoung: An uninformed grep tells me Horizon probably only ever requests a scoped token in one place, though there's a review in progress that removes that particular piece of code (could be "never" for grizzly)17:41
*** gyee has joined #openstack-dev17:41
ayoungjpich, thanks.17:42
ayoungjpich, if you could add that to the openstack-dev thread about scoped->scoped tokens going away, I would appreciate it.17:42
*** ek6 has joined #openstack-dev17:42
topolayoung, ayoung, I would do commands like the following to test my live ldap: keystone --token arvind --os-endpoint  http://localhost:35357/v2.0 user-create --name braduser --pass bradpass17:42
ayoungtopol, you can run the unit tests agains the live server using17:42
ayoung./run_tests.sh -x _ldap_livetest17:43
ayoungtopol, at least, you ustacould.17:43
ayoungtopol, what I found in the past was that things that worked with fakeldap would fail with the real one.17:43
*** garyk has quit IRC17:43
topolaayoung I agree17:43
*** gael__ has quit IRC17:43
ayoungtopol, So I hacked the unit tests to have one you could run by hand17:43
ayoungthe config file should be modified to match what devstack produces17:44
ayoungthat file is in17:44
ayoungtests/backend_liveldap.conf17:44
ayoungso I am trying that now.17:44
topolayoung, you should see issues with adding tenants and users17:45
ayoungtopol, I am expecting to, based on what you said17:45
ayoungtopol, but right now I am getting an authentication error, which seems to predate the schema issues17:46
*** danpb has quit IRC17:46
jpichayoung: Sure, what's the thread title?17:46
topolayoung, I dont recall seeing an auth error. What are you testing out?17:46
*** bencherian has joined #openstack-dev17:46
ayoungkeystone.common.ldap.fakeldap: DEBUG: FakeLdap initialize url=fake://memory17:47
ayoungsomewhow the url is getting overwritten17:47
*** annegentle has joined #openstack-dev17:47
ayoungjpich, [Keystone] Proposed change to token re--issue17:47
*** adjohn has joined #openstack-dev17:47
jpichayoung: cheers17:47
topolayoung, do you need me to do anything?17:47
*** mdehaan has joined #openstack-dev17:48
*** Ryan_Lane has joined #openstack-dev17:48
ayoungtopol, actually, I was making sure that you and your team knew about an important resource17:50
ayoungand, in doing so, found out it was broken17:50
*** lloydde has joined #openstack-dev17:51
*** lglenden has quit IRC17:52
*** dachary has quit IRC17:53
topolayoung, K. I figured you were just tipping me off to an existing test good to know. Since devstack starting complaining I just went to the client to mimic what it was doing.  I'll make sure to use _ldap_livetest in the future. I assume I have to set the proper values in keystone.conf for ldap and the identity driver.  ldap_livetest will not set those for me correct?17:53
*** trapni has quit IRC17:53
*** anniec has joined #openstack-dev17:53
*** adjohn has quit IRC17:53
topolayoung,  at the keystone mtg, the band aid approach of adding a enabled to the filter list was shot down. Folks want me to add a new objectclass to store the enabled value.  Let me know if you have concerns with proceeding that way17:55
*** nati_ueno has joined #openstack-dev17:55
anteayajgriffith, ping17:56
topolayoung, also I wanted to +1 your Change I9572ad1e: but it did not get thru jenkins whi8ch was weird cause it was a minor change17:56
mjforkbcwaldon: whats the major bug in the v2 api, and does it affect the client update code or my API option?17:56
*** garyk has joined #openstack-dev17:58
*** jpich has quit IRC17:59
*** lglenden has joined #openstack-dev17:59
*** yolanda has quit IRC18:00
*** boris-42 has joined #openstack-dev18:02
ayoungtopol, I suggest we get the values we want into the config file first.  So modify tests/back_liveldap.conf with the ignores etc.  THat is what I am doing.  The only thing that should vary is the password chosen, and if we can agree to default that to something reasonable, we can avoid even that pitfall18:02
bcwaldonmjfork: I posted the bug above - https://bugs.launchpad.net/glance/+bug/110247618:03
chmouelayoung: any chance to quickly review this https://review.openstack.org/#/c/21874/ just would like to get my debug back :)18:03
uvirtbotLaunchpad bug 1102476 in glance "Latest json-patch draft (10) is incompatibile with Images API v2 implementation" [Critical,Triaged]18:03
bcwaldonmjfork: it basically means the library we depend on in glanceclient generates something the glance server can't parse18:04
*** doude has left #openstack-dev18:04
ayoungtopol, I'll look at  why that change failed.  It passed on my machine before I posted it.18:04
bcwaldonmjfork: I'm glad you reminded me of all this - I will fix that bug tonight18:04
ayoungchmouel, already approeved by heckj18:04
bcwaldonmjfork: I do have code locally for image update, and thats the only thing that's blocked18:04
bcwaldonmjfork: you should be able to move forward with image create18:04
*** BullShark has quit IRC18:04
*** troytoman-away has quit IRC18:04
*** derekh has quit IRC18:05
ayoungtopol, yes, I have concerns.  I responded on the mailing list.  What object class are you going to use?18:05
*** troytoman-away has joined #openstack-dev18:05
*** BullShark has joined #openstack-dev18:06
*** adjohn has joined #openstack-dev18:06
*** gargya has quit IRC18:06
bcwaldonmjfork: https://review.openstack.org/#/c/21898/18:07
bcwaldonmjfork: and that can actually land independently of the bug in glance being fixed, we just need to recognize that image update is 'broken'18:07
bcwaldon...in the v2 api18:07
zykes-are there any good practices when doing "Fixtures" / Samples for a project?18:07
mjforkbcwaldon: so https://review.openstack.org/#/c/21898/2/glanceclient/v2/images.py is a good patch, but needs bug 1102476 needs fixed for it to work?18:08
uvirtbotLaunchpad bug 1102476 in glance "Latest json-patch draft (10) is incompatibile with Images API v2 implementation" [Critical,Triaged] https://launchpad.net/bugs/110247618:08
*** arosen has joined #openstack-dev18:09
*** yolanda has joined #openstack-dev18:11
*** jsavak has joined #openstack-dev18:12
bcwaldonmjfork: 'work' as far as function with glance service, yes18:12
bcwaldonmjfork: but 'work' as far as pass glanceclient tests, that bug is not a blocker18:12
*** datsun180b_ has joined #openstack-dev18:14
*** tgall_foo has quit IRC18:15
*** annegentle has quit IRC18:15
*** joesavak has quit IRC18:15
*** datsun180b has quit IRC18:16
*** datsun180b_ is now known as datsun180b18:16
*** al-maisan is now known as almaisan-away18:17
*** njoy has joined #openstack-dev18:19
*** xenix has quit IRC18:19
*** amerine has joined #openstack-dev18:19
*** njoy_ has joined #openstack-dev18:21
*** mmagr has joined #openstack-dev18:21
*** giulivo has quit IRC18:21
*** njoy1__ has joined #openstack-dev18:22
krtaylormaurosr, not sure I understood your earlier statement, did you get an answer? are you saying the migration isn't correct?18:23
*** winston-d has quit IRC18:23
*** njoy has quit IRC18:24
*** armaan has quit IRC18:24
maurosrkrtaylor: I'm just suggesting that it's not the way it should be18:24
*** epim_ has joined #openstack-dev18:25
maurosrkrtaylor: I mean: IPAddress type is a String or INET ok... fine, and the migration does exactly that... but why not use IPAddress to make the migration?18:25
*** jog0 has joined #openstack-dev18:25
*** njoy_ has quit IRC18:26
*** joesavak has joined #openstack-dev18:27
*** epim has quit IRC18:27
*** epim_ is now known as epim18:27
*** danwent has quit IRC18:27
krtaylormaurosr, I don't have a good answer, I am lacking context for why the migration was done, I guess you could propose a migration to IPAddress18:28
maurosryeah, I'm trying to get there to complement my other patch..18:29
*** nati_ueno has quit IRC18:29
*** nati_ueno has joined #openstack-dev18:29
*** joshuamckenty has quit IRC18:30
*** davidha has joined #openstack-dev18:30
*** jsavak has quit IRC18:31
*** Mandell has joined #openstack-dev18:31
*** bdpayne has quit IRC18:31
*** bdpayne has joined #openstack-dev18:32
*** bswartz has joined #openstack-dev18:32
*** spzala has joined #openstack-dev18:33
*** ek6 has quit IRC18:33
*** epim has quit IRC18:33
*** giulivo has joined #openstack-dev18:35
*** morganfainberg has joined #openstack-dev18:37
*** dhellmann is now known as dhellmann-afk18:37
*** xenix has joined #openstack-dev18:37
*** radez_g0n3 is now known as radez18:38
*** cp16net is now known as cp16net|away18:40
*** dosaboy has quit IRC18:47
*** armaan has joined #openstack-dev18:48
*** metral_ has joined #openstack-dev18:49
devanandadripton: so far i'm unable to get test_migrations to run _pre or _check locally for baremetal, but it is running the migrations themselves18:49
topolayoung, was going to create my own.18:51
garykmaroh: please take a look at https://review.openstack.org/#/c/21890/ - this is the backport18:51
*** nati_ueno has quit IRC18:52
*** bknudson has quit IRC18:52
*** vipul is now known as vipul|away18:52
*** vipul|away is now known as vipul18:52
*** metral has quit IRC18:53
*** metral_ is now known as metral18:53
driptondevananda: the magic is in _migrate_up.  I'm not sure how to make it work locally for baremetal either, though.18:53
devanandadripton: i'm wondering if _walk_versions can handle there being only one migration (002)18:55
*** johnthetubaguy has quit IRC18:55
driptondevananda: I deleted all migrations except 133_folsom.py, and it passed.  So I don't think that's the problem.18:57
devanandahrm18:57
*** datsun180b_ has joined #openstack-dev18:58
*** egallen has quit IRC18:59
devanandadripton: i added a print inside _migrate_up to see what version it's getting -- "20", instead of "002"19:00
*** datsun180b has quit IRC19:00
*** datsun180b_ is now known as datsun180b19:01
*** nati_ueno has joined #openstack-dev19:01
*** adrian17od has joined #openstack-dev19:01
driptondevananda: that is bizarre.19:01
*** cp16net|away is now known as cp16net19:02
boris-42dripton: Hi19:02
driptonhi boris-4219:04
*** eharney has quit IRC19:05
devanandadripton: this solves it :)   prerun = getattr(self, "_prerun_%03d" % version, None)19:05
boris-42I found the way to do all stuff in DB as said devananda19:05
driptondevananda: leading zeroes messing it up?19:05
devanandadripton: yep. or the lack thereov19:05
*** eharney has joined #openstack-dev19:05
*** eharney has quit IRC19:05
*** eharney has joined #openstack-dev19:05
driptonboris-42: you mean insert (select) cleanly in sqlalchemy?19:05
boris-42insert(select) and delete(select)19:06
driptonboris-42: awesome.  Can you paste a sample somewhere?19:06
boris-42delete select is not so fast as it could be.. but in sqlalchemy there is no other way I think19:06
boris-42I added comment=)19:06
boris-42review **19:06
devanandaboris-42: it can be just a DELETE19:06
driptonboris-42: you can always embed a string of raw SQL, but that's not so clean/portable.19:06
devanandanot DELETE (subquery)19:06
driptonboris-42: I'll check the comment, thanks.19:07
*** otherwiseguy has quit IRC19:07
boris-42devanada how can be it delete?)19:07
devanandaboris-42: if you use the same WHERE..ORDERBY..LIMIT.. on both queries, and in the same transaction, it is guaranteed (at least in a transactional storage engine) to work19:07
boris-42I wrote19:07
boris-42that it is imposible19:07
boris-42in sqlalchemy.expression.delete19:07
devanandaboris-42: INSERT INTO shadow SELECT * FROM mytable WHERE .. ORDER BY id ASC LIMIT 100;19:07
devanandaboris-42: DELETE FROM mytable WHERE .. ORDER BY id ASC LIMIT 100;19:08
boris-42Yes insert is possible =)19:08
driptonboris-42: I actually had randomness in there originally but took it out.  I'll put it back in.19:08
devanandarandomness???19:08
boris-42we shouldn't delete each time in one order of tables19:08
boris-42randomizing tables is better approach =)19:09
devanandaah. random order of tables19:09
devanandano :)19:09
devanandaas a DBA, I will hate you :)19:09
driptondevananda: I figured someone would say that, which is why I took it out.19:09
devanandabetter approach is to treat all tables equally, and archive N rows from _every_ table on each pass19:09
devanandainstead of N rows total per pass19:09
boris-42Ah+)19:09
boris-42+1=)19:10
*** adrian17od has quit IRC19:10
boris-42But random is fun xD19:10
driptondevananda: if our goal is to avoid doing too much work in one pass and blocking eventlet, then hitting every table in every pass is probably not great.19:10
devanandaboris-42: fun to debug problems in, yes :P19:10
devanandadripton: put a yield between each table?19:10
*** cp16net is now known as cp16net|away19:11
driptonReturning every n rows seems simpler.  There's no eventlet-specific code in there and I think it's best that way.19:11
boris-42ok I am agree19:11
devanandabut back to the topic of INSERT..SELECT..WHERE + DELETE..WHERE. why is this not possible?19:12
driptondevananda: sqlalchemy is not perfectly orthogonal.  insert is different from delete.19:12
devanandait is greatly more efficient than fetching the whole row out of hte db, into RAM inside of python, then writing it back again over the wire19:12
*** mmagr has quit IRC19:12
devanandause low level calls?19:12
*** mmagr has joined #openstack-dev19:12
driptonI am using the low-level stuff.19:13
boris-42wait a sec19:13
*** annegentle has joined #openstack-dev19:13
driptonI think we all agree on efficiency; it's just a matter of getting sqlalchemy to do what we want.19:13
boris-42It is not possible to do Delete Wehere Order Limit in sqlaclhemy without custom function..19:13
*** egallen has joined #openstack-dev19:14
devanandaboris-42: ah. that stinks :(19:14
*** martines has joined #openstack-dev19:14
boris-42Bacause there is one thing sqlalchmey.expression.delete - method -> which will produce Delete class19:14
boris-42contains only one method19:14
boris-42where19:14
boris-42so as i wrote in review19:14
boris-42we can use only Delete (Where Select IN) which is slow..19:15
*** utlemming has quit IRC19:15
*** utlemming has joined #openstack-dev19:15
boris-42Or we can write own method in the same way as Select Insert19:15
driptonYeah, I've never done that before but it might not be that hard.19:15
boris-42I think that it is pretty simple19:15
boris-42about 5-10 lines of code19:15
boris-42=)19:15
driptonEverything is simple after you're done.19:16
boris-42but we should be carefully and test it=)19:16
driptonyeah19:16
devanandaheh19:16
*** winston-d has joined #openstack-dev19:16
devanandadripton: one other concern -- could you refactor archive_deleted_rows into two methods? archive_deleted_rows_for_table(table) and then one that loops over all tables to call it19:17
*** markmcclain has joined #openstack-dev19:17
devanandadripton: i would be willing to bet some deployers may want to control the per-table archiving19:17
devanandaand with the current implementatin, they wont have the option to do that19:17
boris-42Yeah that can be usefull19:17
driptondevananda: okay19:17
boris-42devananda: What do you think about creating own method for Delete Where Order Limit?)19:18
driptoncurrently the number of rows is cumulative across all tables, so it might be a big ugly split up, but no big deal19:18
devanandaboris-42: if it's as simple as you think, ++19:18
*** winston-d has quit IRC19:19
devanandadripton: i think it could still be straight forward. archive_for_table(table, max_rows) .. return affected_rows19:19
driptonyou mean it returns the number of rows that were changed?19:19
*** joshuamckenty has joined #openstack-dev19:19
devanandaya19:19
driptonok19:19
boris-42devananda: Currently I am stick with PCI passthrough =) I finished it but I should make some tests.19:19
devanandaouter loop logic doesn't change much, then. and if someone wants to do per-table another way, they get some info back19:20
boris-42So I could make it but on this weekend only...19:20
mjforkbcwaldon: wanted to understand you comment on the patch I posted up regarding the api_version?19:20
ewindischnotifications can just be strings, yes?19:21
ewindisch(seems that way, just verifying)19:21
*** egallen has quit IRC19:21
boris-42dription: Could you wait for it?)19:21
driptonboris-42: We're coming up to the deadline so I'd rather not, but if you get it working then I'd be happy to revise.19:22
*** zoresvit has quit IRC19:22
*** doude has joined #openstack-dev19:22
boris-42dription: Ok19:22
boris-42dripton: OK19:22
boris-42Eh I didn't have enough time to add UC...19:23
boris-42to all tables..19:23
*** xenix has quit IRC19:23
driptonboris-42: I'm adding a TODO comment to remind us to switch if we add the delete where order limit19:24
boris-42Ok.19:24
*** bearovercloud has joined #openstack-dev19:24
*** bknudson has joined #openstack-dev19:25
bcwaldonmjfork: sure19:27
*** markmcclain has quit IRC19:27
bcwaldonmjfork: I'm concerned that 'CONF.glance_api_version' will be evaluated before the config file is actually loaded19:27
*** markmcclain has joined #openstack-dev19:27
mjforkbcwaldon: because it is in __init__?19:28
bcwaldonbecause it's in a method signature19:28
bcwaldonI just don't know the order of things in that case19:28
*** bknudson has quit IRC19:28
*** bknudson has joined #openstack-dev19:29
mjforkbcwaldon: so maybe default to NONE and if NONE, set to CONF.19:29
bcwaldonmjfork: perfect19:29
doudedansmith: Hi Dan19:30
*** henrynash has joined #openstack-dev19:30
doudeCan we talk about the bp network-adapter-hotplug ?19:30
*** sandywalsh has quit IRC19:30
*** nati_ueno has quit IRC19:31
*** nati_ueno has joined #openstack-dev19:31
*** cp16net|away is now known as cp16net19:32
*** cp16net is now known as cp16net|away19:32
*** cp16net|away is now known as cp16net19:32
maurosrdansmith: your comment about ip validation, qq: I'm going to send that unification in another patchset when I finish this one, ok? second19:33
*** Boxcar21 has quit IRC19:34
*** esp1 has left #openstack-dev19:34
*** esp1 has joined #openstack-dev19:35
*** splitbit has joined #openstack-dev19:37
boris-42devananda dripton Oh I understand developers of sqlalchemy=)19:38
boris-42DELETE FROM logtable19:38
boris-42WHERE id = any (array(SELECT id FROM logtable ORDER BY timestamp LIMIT 10));19:38
boris-42This is postgres variant=)19:38
*** splitbit has quit IRC19:38
mjforkbcwaldon: updated https://review.openstack.org/#/c/21850/219:39
driptonboris-42: ick19:39
boris-42mysql and sqlite are able to do this in same way=)19:39
boris-42Hmm..19:40
boris-42I know that with Models we can do this without any problems19:40
*** networkstatic has joined #openstack-dev19:40
*** avishay has quit IRC19:41
devanandadripton: got migration tests for baremetal working. patch updated19:41
*** kpavel has joined #openstack-dev19:41
driptondevananda: awesome19:41
*** armaan has quit IRC19:42
boris-42dription: How do you think about using Models for deleting?19:42
boris-42dripton: What do you think about using Models for deleting?**19:42
*** markmcclain has quit IRC19:43
driptonboris-42: I've been trying to keep models out of the code, since I don't want to mix low-level and high-level sqlalchemy too much.  I do use them for finding table names, though.19:43
boris-42dripton In this case it is almost low-level=)19:44
*** AnilV4 has quit IRC19:44
boris-42session.query(TableModel).filter().limit().order_by().delete(synchronize_session=False)19:45
*** sandywalsh has joined #openstack-dev19:46
driptonboris-42: makes my head hurt, but if does the job, ok19:46
*** armaan has joined #openstack-dev19:46
boris-42I could also write new class something like InsertFromSelect but DeleteFromSelect19:47
boris-42but there will be a lot of if-s=)19:47
openstackgerritA change was merged to openstack/nova: Check the length of flavor name in "flavor-create"  https://review.openstack.org/2058719:50
*** bdpayne has quit IRC19:50
*** bdpayne has joined #openstack-dev19:51
*** smoser has joined #openstack-dev19:52
*** chalupaul has left #openstack-dev19:53
smoseris it known (to people other than me) that instances in a devstack do not get access to outside world?19:53
boris-42devananda: What do you think what approach is better?)19:54
smoserie, my instances can't 'wget http://slashdot.org'19:54
*** dhellmann-afk is now known as dhellmann19:56
*** Boxcar21 has joined #openstack-dev19:56
*** melwitt has joined #openstack-dev19:56
boris-42Has somebody such exceptions:19:57
boris-42Traceback (most recent call last):19:57
boris-42  File "/home/boris/openstack/nova/nova/tests/test_libvirt.py", line 2512, in test_spawn_with_network_info19:57
boris-42    network_info=network_info)19:57
boris-42  File "/home/boris/openstack/nova/nova/virt/libvirt/driver.py", line 1192, in spawn19:57
boris-42    block_device_info=block_device_info)19:57
boris-42  File "/home/boris/openstack/nova/nova/virt/libvirt/driver.py", line 1974, in to_xml19:57
boris-42    disk_info, rescue, block_device_info)19:57
boris-42  File "/home/boris/openstack/nova/nova/virt/libvirt/driver.py", line 1825, in get_guest_config19:57
boris-42    guest.sysinfo = self.get_guest_config_sysinfo(instance)19:57
boris-42  File "/home/boris/openstack/nova/nova/virt/libvirt/driver.py", line 1767, in get_guest_config_sysinfo19:57
boris-42    sysinfo.system_version = version.version_string_with_package()19:57
boris-42  File "/home/boris/openstack/nova/nova/version.py", line 87, in version_string_with_package19:57
boris-42    return version_info.version_string()19:57
boris-42  File "/home/boris/openstack/nova/nova/openstack/common/version.py", line 63, in version_string19:57
boris-42    for part in self.release_string().split('.'):19:57
boris-42AttributeError: 'NoneType' object has no attribute 'split'19:57
boris-42there is about 838 errors=)19:57
sgranplease use a pastebin19:57
boris-42sry19:57
boris-42http://pastebin.com/qYxAJjn519:58
*** mkollaro has joined #openstack-dev19:59
ayoungdolphm_, so, it seems that the reason that https://review.openstack.org/#/c/21886/  fails is that the sql tests are relying on the fact that admin is encapsualted in a role, and thus to make a token an admin token you need to provide a tenant.....this is such a kludge.19:59
*** stevebaker has joined #openstack-dev19:59
*** sandywalsh has quit IRC20:00
*** mmagr has quit IRC20:02
*** maurosr has quit IRC20:02
*** spzala has quit IRC20:02
*** syst3mw0rm has quit IRC20:05
*** Boxcar21 has quit IRC20:06
devanandaboris-42, dripton: I'm OK with models if it means not pulling huge chunks of data needlessly over the network twice :)20:06
*** anniec has quit IRC20:07
*** anniec has joined #openstack-dev20:07
*** bencherian has quit IRC20:08
clarkbboris-42: mordred would probably have ideas about what that exception is happening20:08
*** jsavak has joined #openstack-dev20:09
*** syst3mw0rm has joined #openstack-dev20:09
*** anniec has quit IRC20:09
boris-42clarkb: I don't now, only know that two days ago there was no exceptions   =)20:10
clarkbboris-42: mordred does a lot of the version code for openstack. so this is something he may know how to fix20:11
mordredhi!20:11
boris-42hi20:11
mordredboris-42: what's the env you're running in? are you using tox? are you just running testr directly? virtualenv?20:12
*** dachary has joined #openstack-dev20:13
boris-42i have delete old .venv and then run ./run_test.sh with venv20:13
boris-42deleted*20:13
mordredhrm.20:13
*** joesavak has quit IRC20:13
boris-42on two comps with ubuntu20:13
*** sandywalsh has joined #openstack-dev20:13
*** krtaylor has quit IRC20:14
*** jruzicka has quit IRC20:14
*** novas0x2a|laptop has joined #openstack-dev20:15
*** mnewby has quit IRC20:15
*** almaisan-away is now known as al-maisan20:18
*** dims has joined #openstack-dev20:19
*** yolanda has quit IRC20:20
*** alop has joined #openstack-dev20:22
*** colinmcnamara has quit IRC20:23
*** datsun180b has quit IRC20:27
*** datsun180b has joined #openstack-dev20:28
*** henrynash has quit IRC20:28
blamarmordred: do you know of any deployment-related summit topics?20:28
mordredboris-42: ok. let me try to reproduce. latest trunk?20:28
mordredblamar: I know of several things that want talking about - but I don't think any have been written up yet20:29
*** ctracey has quit IRC20:29
boris-42yes latest code from master20:30
*** joshuamckenty has quit IRC20:30
*** imsplitbit is now known as splitbit20:31
dolphm_gyee: you meant to take the token id out of the token response body, correct?20:31
*** splitbit is now known as imsplitbit20:32
*** Gordonz has quit IRC20:32
*** stevemar has quit IRC20:32
*** rnirmal has quit IRC20:32
gyeedolphm_, yes20:32
gyeetoken id is in X-Subject-Token header20:32
*** ek6 has joined #openstack-dev20:32
dolphm_gyee: pasted directly from the spec because can't link directly to this example: http://paste.openstack.org/raw/31205/20:33
dolphm_gyee: what's with the token->expires attribute on that response20:33
dolphm_gyee: why not just make it expires at the root level20:34
gyeeI could20:34
gyeeI can't think of a good reason for not be in the root level20:34
dolphm_gyee: k, i have some self-consistency fixes then20:35
*** kpavel has quit IRC20:35
*** ctracey has joined #openstack-dev20:36
*** ctracey has quit IRC20:37
*** lglenden has quit IRC20:37
*** ctracey has joined #openstack-dev20:38
matiuanyone know where is the link: developer guide something, that says you can't add new methods to os-api extensions ?20:38
*** stevemar has joined #openstack-dev20:38
matiuah nvm, found it20:38
dolphm_matiu: link?20:38
matiuthe page20:38
matiuso it turns out I didn't find it  after all20:39
matiui20:40
matiuit's like a page that talks about how extensions don't have versioning20:40
*** maurosr has joined #openstack-dev20:40
matiuso you shouldn't edit them20:40
dolphm_gyee: we have several totally different examples of catalog responses in the spec...20:40
matiufound it: http://wiki.openstack.org/APIChangeGuidelines20:40
*** annegentle has quit IRC20:41
gyeedolphm_, there are only two APs where the service catalog is returned right? POST /auth and GET /auth20:42
dolphm_gyee: yes20:42
gyeeand they should be the same format20:42
dolphm_gyee: identical20:42
gyeeright20:43
gyeedolphm_, can you fix it? I do see some difference20:43
dolphm_gyee: want to propose some other fixes first, but yes20:43
gyeek20:43
dolphm_gyee: tempted to just delete all the conflicting examples lol20:43
gyeeonly if markdown allow anchor links or something20:44
*** bswartz1 has joined #openstack-dev20:45
*** cp16net is now known as cp16net|away20:45
*** cp16net|away is now known as cp16net20:45
*** egallen has joined #openstack-dev20:45
dolphm_gyee: replacing them all with fixme's20:46
*** bswartz has quit IRC20:46
*** bswartz1 is now known as bswartz20:46
gyeek20:46
*** otherwiseguy has joined #openstack-dev20:49
dolphm_gyee: https://review.openstack.org/#/c/21910/20:49
*** annegentle has joined #openstack-dev20:50
*** HenryG has joined #openstack-dev20:50
gyeedolphm_, looks good, now I need to do some more code change :(20:52
dolphm_gyee: me too20:53
*** mdehaan has quit IRC20:54
*** Yada has quit IRC20:55
*** bearovercloud has left #openstack-dev20:55
dolphm_gyee: thoughts on moving the 'roles' attribute from the user to either the root or onto an attribute of the project/domain?20:56
dolphm_gyee: if a token is limited to either 1 project or 1 domain, then it makes the most sense (to me) to have them at the root20:57
dolphm_1 user, 1 project/domain, 1 list of roles20:57
*** mdehaan has joined #openstack-dev20:58
gyeedolphm_, root seems to make more sense, in case we need to do multiple-scoping or bring back identity roles20:58
gyeelike the super ADMIN role20:59
*** ek6 has quit IRC20:59
dolphm_gyee: i don't want to do that, but i semantically agree lol20:59
gyeewell, ADMIN should really be a role21:00
openstackgerritA change was merged to openstack/ceilometer: Update openstack/common tree  https://review.openstack.org/2189121:00
*** krtaylor has joined #openstack-dev21:01
dolphm_gyee: global super admin?21:01
gyeeright21:02
*** adjohn has quit IRC21:03
*** adjohn has joined #openstack-dev21:04
*** mlavalle has left #openstack-dev21:04
dolphm_gyee: i think there's also two conflicting examples of passing in a token to change scope -- did you want that in a header or in the request body? i vote request body21:06
dolphm_"methods": [21:06
dolphm_"methods": ["token"], "token": {"id": "abc123"}21:07
gyeefor rescoping, token should be in the request body21:07
dolphm_gyee: cool21:08
openstackgerritA change was merged to openstack/nova: VMWare driver to use current nova.network.model  https://review.openstack.org/2147521:10
*** sstent has quit IRC21:10
*** al-maisan is now known as almaisan-away21:10
*** boden has quit IRC21:11
*** mkollaro has quit IRC21:13
*** rkukura has quit IRC21:14
*** Gordonz has joined #openstack-dev21:14
*** flaper87 has quit IRC21:15
*** JonnyNomad has quit IRC21:15
*** gatuus has joined #openstack-dev21:16
*** JonnyNomad has joined #openstack-dev21:17
*** doude has quit IRC21:20
*** markmcclain has joined #openstack-dev21:21
topolgyee, quick question, does your PluggableIdentityAuthenticationHandler cover the use cases described in https://blueprints.launchpad.net/keystone/+spec/sql-identiy-pam?21:22
*** doude has joined #openstack-dev21:23
topolgyee, my guess is your blueprint is a more generalized blueprint than the one I mentioned?21:23
gyeetopod, sure, you can write you own LDAP authentication plug-in if you want21:24
topolgyee, that's awesome21:24
doudedansmith: ping21:24
dansmithdoude: ack21:24
topolgyee, I just now need to dig through the whole patch and review it :-)21:25
doudedansmith: Can we talk about the bp network-adapter-hotplug ?21:25
gyeetopol, please do21:25
dansmithdoude: I'm just jumping on a call right now, but we can in a bit, sure21:25
dansmithdoude: oh, you're the one that uploaded a tweak to that at one point, right?21:25
gyeetopol, I am also updating the documents on how to write a plug-in21:26
topolgyee, so it separates the authentication piece from the rest of the desired identity driver, correct?  So I could use the SQL driver for most stuff but use your plugin to handle just using authentication via LDAP?21:26
doudedansmith: ok. Me I'll leave IRC in few minutes. It's late now in France.21:26
gyeetopol, exactly21:26
dansmithdoude: okay, tomorrow then?21:27
doudedansmith: Just to say. I made some progress on the bp but I didn't have enough time to push it21:27
topolgyee, again. That's awesome! Very cool!21:27
gyeeovertime, I would like to make token provider as a plugin as well21:27
gyeeso that token is just an abstraction21:27
dansmithdoude: okay, I was going to try to run with it.. is that okay?21:28
doudedansmith: and I saw that you rebase and corrected unit test on a new branch21:28
dansmithdoude: yeah, just a quick revision to get it on track21:28
*** cyeoh is now known as cyeoh_21:28
doudeHow I can merge my change with your branch ?21:28
doudeshould I ask yaguang to retore the old branch ?21:29
doudewith your revisions21:30
doudeand contributors comments21:30
*** metral has quit IRC21:31
doudeOr perhaps create an new revision ?21:31
dansmithdoude: well, if he or you are going to push it, then you could open a new review,21:32
*** Gordonz has quit IRC21:32
*** dprince has quit IRC21:32
*** krtaylor has quit IRC21:32
dansmithdoude: lets talk tomorrow, as I need to be on this call tomorrow21:32
dansmithcan you be on the nova meeting tomorrow?21:33
dansmiththis time tomorrow21:33
doudedansmith: Yes I can21:33
dansmithdoude: okay, that would be good, thanks!21:33
*** anniec has joined #openstack-dev21:33
*** Gordonz has joined #openstack-dev21:33
doudedansmith: Okay. I'll create a new branch with my changes and I'll be on the Nova meeting tomorrow21:34
dansmithdoude: okay21:35
dansmithdoude: see you then, thanks21:35
doudedansmith: thanks and see you21:35
*** egallen_ has joined #openstack-dev21:35
gyeedolphm_, hold off on the expires changes21:37
gyeeI just realized for PKI tokens we also need "issued_at" in the token container21:37
*** egallen has quit IRC21:38
*** egallen__ has joined #openstack-dev21:38
dolphm_ayoung: please review the token spec and propose any necessary changes for PKI21:38
*** CrackerJackMack has quit IRC21:39
gyeedolphm_, I am changing it to a -1 for now21:39
gyeemy bad21:39
*** CrackerJackMack has joined #openstack-dev21:39
*** CrackerJackMack has quit IRC21:39
dolphm_gyee: i'm rewriting the entire authenticate section to have useful examples21:39
*** krtaylor has joined #openstack-dev21:39
*** CrackerJackMack has joined #openstack-dev21:39
*** CrackerJackMack has quit IRC21:39
*** CrackerJackMack has joined #openstack-dev21:40
*** CrackerJackMack has quit IRC21:40
*** CrackerJackMack has joined #openstack-dev21:41
gyeetopol, dolphm_, https://review.openstack.org/#/c/21487/21:41
gyeeI just added documentation and a few more tests21:41
topolgyee, in your blueprint, if an LDAP authentication plugin handler  was created, does the user still have to exist in say the SQL backend as well?21:41
*** adjohn has quit IRC21:41
gyeetopol, unfortunately, yes, user must also exist in Keystone backend21:41
gyeeunless you backend is also LDAP21:42
gyeeyour21:42
*** egallen_ has quit IRC21:42
gyeewe need user for role assignments21:42
topolgyee, interesting.  for havana might be cool to think about how we could do an auto shadow replicate from the authentication plugin source to keystone backend21:45
topoltopol now going to quit dawdling and review gyees code :-)21:47
*** donaldh has joined #openstack-dev21:49
*** annegentle has quit IRC21:49
gyeetopol, once we abstract out token provider, your user can come from anywhere :)21:49
gyeeyou can do role-mapping, federation, and whatever your imagination takes you21:50
*** dachary has quit IRC21:51
topolgyee, sounds good. lets discuss when we have more free time to think about havana enhancements21:51
dolphm_gyee: expires -> expires_at or issued_at -> issued ?21:51
dolphm_gyee: i can't think of any other timestamps in the api21:52
gyeedolphm_, sounds right21:53
*** brucer has joined #openstack-dev21:53
gyeeayoung, can you confirm?21:53
*** sstent has joined #openstack-dev21:53
dolphm_gyee: which one do you want to change to conform to the other?21:53
*** rnirmal has joined #openstack-dev21:54
gyeedolphm_, no preference, don't have a strong opinion on this one21:54
gyeeI can ask my magic 8 ball :)21:54
*** markvoelker has quit IRC21:55
dolphm_gyee: k21:55
dolphm_gyee: i'm tempted to vote for *_at because it's a string and you can't check the type to see that it's a timestamp21:56
gyeesounds good21:57
*** pcm_ has quit IRC21:58
*** koolhead17 has quit IRC22:01
*** renier_ has joined #openstack-dev22:03
*** cp16net is now known as cp16net|away22:03
*** imsplitbit has quit IRC22:04
ayounggyee, those were the only timestamps I ever saw22:04
ayoungissued at was used to maintain uniqueness for tokens that were reissued22:05
ayoungso they might end up with the same expiry22:05
*** renier has quit IRC22:05
ayoungtopol, interesting, but not trivial.  It has come up before22:06
*** dachary has joined #openstack-dev22:06
ayoungsqlalchemy is driving me nuts!22:07
ayoungdolphm_, you were asking about all the random session commits and closes?22:07
*** renier_ has quit IRC22:07
*** adjohn has joined #openstack-dev22:07
ayoungIt was because I end with things like this:  after merging with the https://review.openstack.org/#/c/19820/ domain scoping changes, my upgrades now fail on things that stink of consistancy errors22:08
ayoungthe postgres one hangs22:08
ayoungthe mysql one gives a no such table error22:08
gyeeayoung, I am also having helluva time with sql backend22:08
ayounggyee, does master work for you on all three rdbms's?22:08
*** martine has quit IRC22:08
ayoungI was about to check, to confirm that it is my code..22:09
*** mdehaan has quit IRC22:09
*** devoid has quit IRC22:09
*** renier has joined #openstack-dev22:10
*** cloudchimp has quit IRC22:10
ayounggyee, OK on master I have confirmed that sqlite and postgres run.  I am running mysql now, assume that will work, too22:12
gyeeayoung, I am having trouble with the tests, haven't tried other sql backends yet22:13
ayounggyee, I'm just testing  sqlite against the unit tests. THis is just the upgrade tests.22:16
*** cp16net|away is now known as cp16net22:18
*** digitalsanctum has quit IRC22:18
*** devoid has joined #openstack-dev22:18
*** armaan has quit IRC22:18
*** topol has quit IRC22:21
*** pabelanger has quit IRC22:22
ayounggyee, BTW, henrynash's domain patch wasn't ready for prime time.  I should have -2 it, but there is a lot that is wacko about the sqlite backend.  Right now, the sqlupgrade is subtly broken, to the point that it shows just how broken sqlite itself is.22:24
ayoungIf you change the backend for the sqlite database to be a file, you can look at the database in intermediate steps.22:25
*** adjohn has quit IRC22:25
*** adjohn has joined #openstack-dev22:25
*** danwent has joined #openstack-dev22:26
ayounggyee. after change 15 runs, the tenant table has been renamed to project, but the user_project_membership  still has constraints pointing to the member table.  Oh, and SQLite won't let you change them ex-post-factor.22:26
gyeeayoung, I am still trying to figure out why my user keep disappearing from one test case to another22:26
ayounggyee, sqlbackedn or kvs?22:26
gyeesql22:26
gyeesee the email I sent last night?22:27
*** boris-42 has quit IRC22:27
*** gatuus has quit IRC22:29
*** stevemar has quit IRC22:30
*** joshuamckenty has joined #openstack-dev22:30
ayounggyee, test_backend_sql?22:31
*** rkukura has joined #openstack-dev22:32
*** gatuus has joined #openstack-dev22:34
*** gatuus has quit IRC22:35
openstackgerritA change was merged to openstack/glance: Clean dangling image fragments in filesystem store  https://review.openstack.org/2047222:35
openstackgerritA change was merged to openstack/quantum: Support advanced validation of dictionaries in the API.  https://review.openstack.org/2048722:35
openstackgerritA change was merged to openstack/glance: Adding finer notifications.  https://review.openstack.org/2145222:35
*** gatuus has joined #openstack-dev22:36
*** donaldh has quit IRC22:36
ayounggyee, are your running in a debugger?22:37
*** gatuus has quit IRC22:37
*** john5223 has quit IRC22:37
*** baba has joined #openstack-dev22:38
*** megha has quit IRC22:38
gyeeayoung, not yet, just a bunch of log statements22:38
*** ewindisch has quit IRC22:39
rainyajk0, found you!22:39
rainyajk0, we were making inappropriate jokes and wondered where you were when we needed you! LOL22:40
jk0haha22:40
maurosrdansmith: sdague around?22:40
jk0I am always available for inappropriate things22:40
dansmithmaurosr: yeah22:40
rainyahad to do with blue footed boobies! muhahahahaha22:41
*** adjohn has quit IRC22:41
*** eharney has quit IRC22:41
*** adjohn has joined #openstack-dev22:41
maurosrdansmith: have a minute to a qq about migrations?22:41
dansmithmaurosr: sure22:42
*** jsavak has quit IRC22:43
maurosrdansmith: I just updated that patch (https://review.openstack.org/#/c/21681/) that normalized the ip, and now *if* I change migration 149 to use IPAddress it works, but I know that I can't change the migrations, so I'm not sure that I should create a new one or not22:43
*** mtreinish has quit IRC22:44
ayounggyee, run in the debugger.  It is so much faster.  I have notes how to set it up22:44
dansmithmaurosr: the migration itself fails?22:44
ayounggyee http://adam.younglogic.com/2012/12/keystone-and-eclipse-pydev/22:44
maurosrdansmith: no, but I can't include those longer ips (https://review.openstack.org/#/c/21300/3/nova/tests/test_migrations.py) on the test_migrations22:45
maurosrcause they are going to fail22:45
gyeeayoung, that URL is very helpful, my colleagues are using it too!22:46
dansmithmaurosr: I'm confused22:46
dansmithmaurosr: the normalized IPv6 addr fits before and after that migration to narrow the column, right?22:46
maurosrdansmith: well, let me explain with an example: this 0000:0000:caca:dada:0000:ffab:baba:4001 will fail, cause pgsql normalizes it automatically, and mysql/sqlite doesn't, unless I use Ipaddress instead of string  on https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/migrate_repo/versions/149_inet_datatype_for_postgres.py#L6122:50
dansmithmaurosr: so the migration test fails because the before and after addresses aren't the same?22:50
maurosryes22:50
maurosralso will fail to the mixed ipv6-v4 example22:51
dansmithokay, but the problem is not that they're different, but that they're not equivalent as *strings* right?22:51
dansmithif you parse and compare them then the test will pass right?22:51
dansmithi.e. don't just rely on string comparison, do a smarter one22:51
maurosryes, except by the one with the mixed ipv4-v622:51
dansmithmaurosr: because it gets destroyed as part of the migration, right?22:52
maurosryeah, I know, I have this better comparation ready to push... but I'm thinking on this last case ^22:52
maurosrdansmith: yes22:52
dansmithmaurosr: but that is something we can't fix22:52
*** bearovercloud has joined #openstack-dev22:53
maurosrif I can't change the type from string to Ipaddress no, we can't22:53
dansmithmaurosr: make sure that nova properly handles the case where a destroyed address tries to get pulled from the database and doesn't parse22:53
maurosrdansmith: ok, so if nova fails gracefully, everything is fine?22:54
dansmithmaurosr: what else can we do?22:54
maurosrwithout change 149, I don't think we can do anything22:54
dansmithyou have to treat that migration as set in stone/history. you can't change it22:54
dansmithright22:54
dansmithall you can do is make sure that nova doesn't fall over22:55
maurosrok, got it, thanks dansmith22:55
dansmithmaurosr: no problem :)22:55
*** lbragstad has quit IRC22:57
openstackgerritA change was merged to openstack/glance: Add _FATAL_EXCEPTION_FORMAT_ERRORS global.  https://review.openstack.org/2081122:58
*** dolphm_ has quit IRC22:59
*** egallen has joined #openstack-dev23:02
*** egallen__ has quit IRC23:04
*** egallen_ has joined #openstack-dev23:04
*** efoncubierta has joined #openstack-dev23:07
*** anteaya has quit IRC23:08
*** egallen has quit IRC23:08
*** egallen_ is now known as egallen23:08
*** bnemec has joined #openstack-dev23:08
*** boden has joined #openstack-dev23:10
*** enikanorov has quit IRC23:14
s1rpvishy: https://review.openstack.org/#/c/21921/ is back from the grave23:14
*** segv has joined #openstack-dev23:15
*** enikanorov has joined #openstack-dev23:15
*** kbringard has quit IRC23:16
*** pabelanger has joined #openstack-dev23:16
*** alobbs has quit IRC23:17
segvHey guys, no one seems to be responsive in the other channel, thought no better place to ask this, e1000 drivers on folsom, our hosts don't support the virtio driver for some reason (doesn't detect it on boot), so we wanted to know the easiest way to change it over to e1000 on folsom23:18
*** doude has left #openstack-dev23:20
*** jbr_ has left #openstack-dev23:20
*** pabelanger has quit IRC23:21
*** sacharya has quit IRC23:26
*** sthaha has joined #openstack-dev23:29
*** rpedde is now known as rpedde_away23:31
*** esheffield has quit IRC23:33
*** alexpilotti has quit IRC23:34
*** brucer has quit IRC23:39
*** mrodden has quit IRC23:39
*** datsun180b has quit IRC23:39
*** bknudson has left #openstack-dev23:39
*** brucer has joined #openstack-dev23:40
*** efoncubierta has quit IRC23:43
openstackgerritA change was merged to openstack/python-openstackclient: Add volume test cases and structure  https://review.openstack.org/2169723:46
*** cloudchimp has joined #openstack-dev23:49
*** jimfehlig has quit IRC23:49
*** thingee_zzz is now known as thingee23:53
*** soody has joined #openstack-dev23:55
*** alszar has quit IRC23:57
*** pvo has quit IRC23:58
*** gpernot has quit IRC23:59
zykes-anyone up for helping with a databsse code issue ?23:59

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