Thursday, 2011-11-03

*** andreaf has quit IRC00:00
*** cdub has quit IRC00:00
openstackgerritSalvatore Orlando proposed a change to openstack/quantum: This changeset provides: - improved framework for API versioning, with separated controllers for each API version - Taken from nova:'Resource' class in WSGI framework. This class is a container for serializers, deserializers and controller - Better deseri  https://review.openstack.org/128300:01
nati2Hi I have a question about gerrit00:01
*** bsza has quit IRC00:04
openstackgerritVish Ishaya proposed a change to openstack/nova: Add local storage of context for logging  https://review.openstack.org/102200:09
*** jdg has quit IRC00:11
openstackgerritSalvatore Orlando proposed a change to openstack/quantum: This changeset provides: - improved framework for API versioning, with separated controllers for each API version - Taken from nova:'Resource' class in WSGI framework. This class is a container for serializers, deserializers and controller - Better deseri  https://review.openstack.org/128300:16
*** jog0 has quit IRC00:19
*** nati2 has quit IRC00:21
*** vladimir3p has joined #openstack-dev00:22
*** dtroyer has joined #openstack-dev00:24
*** cdub has joined #openstack-dev00:27
*** adjohn has quit IRC00:29
*** jakedahn has quit IRC00:29
*** jakedahn has joined #openstack-dev00:29
*** adjohn has joined #openstack-dev00:29
*** novas0x2a|laptop has quit IRC00:31
*** nati2 has joined #openstack-dev00:36
*** uncleofthestick has quit IRC00:41
*** dragondm has quit IRC00:48
*** cdub has quit IRC00:49
*** jakedahn has quit IRC00:56
*** adjohn has quit IRC01:01
*** danwent has quit IRC01:17
*** cdub has joined #openstack-dev01:21
*** jog0 has joined #openstack-dev01:24
*** ron-slc has quit IRC01:28
*** jog0 has quit IRC01:31
*** jakedahn has joined #openstack-dev01:39
*** cdub has quit IRC01:47
*** jog0 has joined #openstack-dev01:48
*** jog0 has quit IRC02:07
*** jdurgin has quit IRC02:17
*** pixelbeat has quit IRC02:22
*** danwent has joined #openstack-dev02:26
openstackjenkinsProject nova-docs build #1,550: SUCCESS in 4 min 22 sec: https://jenkins.openstack.org/job/nova-docs/1550/02:35
openstackjenkinsVishvananda Ishaya: Add local storage of context for logging02:35
*** mgius has quit IRC02:37
*** zns has joined #openstack-dev02:40
openstackgerritVerification of a change to openstack/nova failed: Fixing immediate delete after boot on Libvirt  https://review.openstack.org/123602:51
*** hugokuo has joined #openstack-dev02:54
openstackgerritJay Pipes proposed a change to openstack/glance: Fixes LP Bug#878411 - No docs for cache management  https://review.openstack.org/128402:55
openstackgerritJay Pipes proposed a change to openstack/glance: Fixes LP Bug#885529 - NameError on _ function  https://review.openstack.org/128502:55
*** helloworld has joined #openstack-dev02:59
*** helloworld has left #openstack-dev02:59
*** yeming has joined #openstack-dev03:02
openstackjenkinsProject nova-docs build #1,551: SUCCESS in 4 min 33 sec: https://jenkins.openstack.org/job/nova-docs/1551/03:05
openstackjenkinsrenuka.apte: Xen Storage Manager Volume Driver03:05
*** rohitk has joined #openstack-dev03:13
openstackgerritZiad Sawalha proposed a change to openstack/keystone: Fixes LP Bug#885434 - Documentation showing multiple tenants misleading  https://review.openstack.org/128603:14
*** joonwon has quit IRC03:14
*** mmetheny has joined #openstack-dev03:15
openstackjenkinsProject nova-docs build #1,552: SUCCESS in 4 min 28 sec: https://jenkins.openstack.org/job/nova-docs/1552/03:15
openstackjenkinsewan.mellor: Bug 884863: nova logs everything to syslog twice03:15
uvirtbotLaunchpad bug 884863 in nova "nova logs everything to syslog twice" [Undecided,Fix committed] https://launchpad.net/bugs/88486303:15
*** novas0x2a|laptop has joined #openstack-dev03:18
openstackgerritVerification of a change to openstack/keystone failed: X.509 client authentication with Keystone.  Implements blueprint 2-way-ssl  https://review.openstack.org/103803:21
*** sleepsontheflo-1 has joined #openstack-dev03:41
*** rods has quit IRC03:44
*** adjohn has joined #openstack-dev03:46
*** rohitk has quit IRC03:47
*** rohitk has joined #openstack-dev03:48
openstackjenkinsProject nova-docs build #1,553: SUCCESS in 4 min 30 sec: https://jenkins.openstack.org/job/nova-docs/1553/03:50
openstackjenkinsJohannes Erdfelt: Speed up tests yet another 45 seconds03:50
*** rohitk has quit IRC03:52
*** negronjl has joined #openstack-dev03:59
*** nati2_ has joined #openstack-dev04:00
*** nati2 has quit IRC04:02
*** vladimir3p has quit IRC04:08
*** nati2_ has quit IRC04:11
*** nati2 has joined #openstack-dev04:12
openstackjenkinsProject nova-docs build #1,554: SUCCESS in 4 min 22 sec: https://jenkins.openstack.org/job/nova-docs/1554/04:15
openstackjenkinsVishvananda Ishaya: Moves a-zone scheduling into simple scheduler04:15
*** nati2 has quit IRC04:16
*** jog0 has joined #openstack-dev04:19
openstackgerritjoe-gordon0 proposed a change to openstack/nova: fix bug 816630  https://review.openstack.org/123704:23
uvirtbotLaunchpad bug 816630 in nova "broadcast ip is being assigned out as IP address" [Medium,Confirmed] https://launchpad.net/bugs/81663004:23
*** jog0 has quit IRC04:29
*** negronjl has quit IRC04:31
*** rohitk has joined #openstack-dev04:32
*** rohitk has quit IRC04:39
openstackgerritZiad Sawalha proposed a change to openstack/keystone: X.509 client authentication with Keystone.  Implements blueprint 2-way-ssl  https://review.openstack.org/103804:40
*** gyee has quit IRC04:44
*** rohitk has joined #openstack-dev04:45
*** thickskin has left #openstack-dev04:56
*** chomping has joined #openstack-dev04:58
*** hugokuo has quit IRC05:01
*** vladimir3p has joined #openstack-dev05:15
*** zaitcev has quit IRC05:30
*** vladimir3p has quit IRC05:31
*** rohitk has quit IRC05:31
*** donaldngo_hp has quit IRC05:32
*** adjohn has quit IRC05:40
*** clayg has quit IRC05:41
*** 31NAADY1U is now known as clayg05:41
*** mandela123 has joined #openstack-dev06:03
*** cdub has joined #openstack-dev06:10
*** novas0x2a|laptop has quit IRC06:11
*** jog0 has joined #openstack-dev06:13
*** jog0 has quit IRC06:15
*** hugokuo has joined #openstack-dev06:24
*** andreaf has joined #openstack-dev06:59
*** mnour has quit IRC07:19
*** andreaf has quit IRC07:38
*** zns has quit IRC07:56
*** jdag has quit IRC08:10
*** jeffjapan has quit IRC08:10
*** jdag has joined #openstack-dev08:11
*** reidrac has joined #openstack-dev08:14
*** rohitk has joined #openstack-dev08:16
*** jdag has left #openstack-dev08:17
*** jdag has quit IRC08:17
*** rohitk has quit IRC08:25
*** rohitk has joined #openstack-dev08:29
openstackgerritNikolay Sokolov proposed a change to openstack/nova: Sync URLs with trunk  https://review.openstack.org/128708:32
openstackgerritNikolay Sokolov proposed a change to openstack/nova: Ported NetworkAdmin extention from openstackx. Migrated from bazaar.  https://review.openstack.org/80108:32
*** mandela123 has quit IRC08:53
*** mnour has joined #openstack-dev08:56
*** yeming has quit IRC09:03
openstackgerritgaryk proposed a change to openstack/nova: Blueprint - lasterror  https://review.openstack.org/128809:07
*** pixelbeat has joined #openstack-dev09:23
*** darraghb has joined #openstack-dev09:31
*** adjohn has joined #openstack-dev09:40
*** chomping has quit IRC09:56
*** chomping has joined #openstack-dev10:00
*** Oneiroi has joined #openstack-dev10:11
*** viraptor has joined #openstack-dev10:21
*** dolphm has joined #openstack-dev10:47
*** dolphm has quit IRC10:51
*** markmc has joined #openstack-dev10:51
*** dolphm has joined #openstack-dev11:17
*** naehring has joined #openstack-dev11:18
*** bsza has joined #openstack-dev11:20
*** markvoelker has joined #openstack-dev11:34
*** dolphm has quit IRC11:47
zykes-danwent: around ?12:08
zykes-probably sleeping still over there but ;)12:08
*** rkukura has joined #openstack-dev12:16
*** rkukura has quit IRC12:21
openstackgerrittom-hancock proposed a change to openstack/glance: Fix two issues with checked_iter  https://review.openstack.org/128912:22
*** dolphm has joined #openstack-dev12:22
*** lorin1 has joined #openstack-dev12:28
*** cdub_ has joined #openstack-dev12:29
*** cdub has quit IRC12:29
*** rkukura has joined #openstack-dev12:34
viraptorthere's a nice speedup patch with 2 +1s - maybe someone wants to have a look / approve? ;) https://review.openstack.org/122512:36
*** dolphm has quit IRC12:45
*** dprince has joined #openstack-dev12:47
*** rbasak has joined #openstack-dev12:56
*** rbasak has joined #openstack-dev12:56
*** lorin1 has quit IRC12:58
*** dolphm has joined #openstack-dev13:00
*** lorin1 has joined #openstack-dev13:04
*** lorin1 has quit IRC13:04
*** rkukura has left #openstack-dev13:04
*** Oneiroi has quit IRC13:11
*** rohitk has quit IRC13:12
*** bcwaldon has joined #openstack-dev13:16
*** beekhof_muc has joined #openstack-dev13:17
*** rkukura has joined #openstack-dev13:19
openstackgerritBrian Waldon proposed a change to openstack/nova: exception.KeypairNotFound usage correction  https://review.openstack.org/129013:23
*** rods has joined #openstack-dev13:27
*** mmetheny has quit IRC13:28
*** mmetheny_ has joined #openstack-dev13:28
*** dolphm has quit IRC13:32
openstackgerritSandy Walsh proposed a change to openstack/nova: Added a new PickledScheduler which takes its configuration from a remote web server.  https://review.openstack.org/129113:33
openstackgerritBrian Waldon proposed a change to openstack/nova: Fixing immediate delete after boot on Libvirt  https://review.openstack.org/123613:37
openstackgerritSandy Walsh proposed a change to openstack/nova: Added a new PickledScheduler which takes its configuration from a remote web server.  https://review.openstack.org/129113:38
*** dolphm has joined #openstack-dev13:39
openstackgerritSandy Walsh proposed a change to openstack/nova: This branch adds the ability to define a local JSON file that will hold configuration information that the scheduler can use.  https://review.openstack.org/129113:39
zykes-annegentle: you around ?13:40
*** rohitk has joined #openstack-dev13:46
*** dolphm has quit IRC13:46
*** dolphm has joined #openstack-dev13:48
*** rbasak has quit IRC13:56
openstackgerrittom-hancock proposed a change to openstack/glance: Fix two issues with checked_iter  https://review.openstack.org/128914:00
*** rbasak has joined #openstack-dev14:01
*** pringles_ has quit IRC14:01
*** zns has joined #openstack-dev14:06
openstackgerritSandy Walsh proposed a change to openstack/nova: Add auto-reloading JSON config file support to scheduler.  https://review.openstack.org/129114:08
*** mnour has quit IRC14:12
*** tryggvil_ has joined #openstack-dev14:14
*** joesavak has joined #openstack-dev14:16
openstackgerritVerification of a change to openstack/keystone failed: X.509 client authentication with Keystone.  Implements blueprint 2-way-ssl  https://review.openstack.org/103814:18
*** lorin1 has joined #openstack-dev14:20
*** jsavak has joined #openstack-dev14:22
*** joesavak has quit IRC14:26
*** mattray has joined #openstack-dev14:28
*** zns has quit IRC14:32
zykes-would something like http://etherpad.openstack.org/HkEvt4crw9 < be interesting?14:32
sorenYes.14:36
zykes-i think it's cool that you could get a "service" record for a XaaS service instance pointing to the XaaS vm instance automagically when going to the XaaS service for example...14:37
*** dubsquared has joined #openstack-dev14:38
*** danwent has quit IRC14:38
*** zns has joined #openstack-dev14:40
zykes-soren: is there any concept of a "service" or utility vm in openstack ?14:40
*** rnirmal has joined #openstack-dev14:41
*** cp16net has joined #openstack-dev14:42
sorenzykes-: There's the cloudpipe one.14:43
zykes-soren: how's that managed in the sence of nova?14:43
sorenzykes-: Don't really know. I've never used it.14:43
sorenSo "magic and pixie dust".14:44
zykes-;)14:44
zykes-i guess i can look at reddwarf and atlas14:44
rnirmalzykes-: reddwarf is on top of nova... so basically it's a forked version of nova, with very minor changes and the new additions specific to reddwarf14:46
*** code_franco has joined #openstack-dev14:47
zykes-rnirmal: doesn't reddwarf run inside nova?14:47
*** clayg_ has joined #openstack-dev14:47
zykes-i mean, like a vm controlled by nova14:47
rnirmalyes it is14:47
zykes-same thing this should be14:47
rnirmalbut it has it's own api and a guest agent14:47
rnirmalzykes-: I guess I just jumped in not knowing what you wanted14:48
rnirmalI thought you were asking for a skeleton project14:48
zykes-rnirmal: guest agent meaning ?14:48
rnirmalit's a another service that runs inside the vm14:48
zykes-rnirmal: i'm using the atlas / rd as a skeleton for the service yeah14:48
rnirmalto manage the database and such14:48
zykes-as in you have a api that's available to other users and you have dns servers running in instances14:49
rnirmalessentially its a managed vm14:49
bcwaldonmtaylor: marco14:49
rnirmalzykes-: yes there's a api and database servers in the instances14:49
rnirmalnot dns14:50
rnirmaldatabase server per instance14:50
openstackjenkinsProject nova-docs build #1,555: SUCCESS in 4 min 39 sec: https://jenkins.openstack.org/job/nova-docs/1555/14:50
openstackjenkinsstanislaw.pitucha: Enable admin access to EC2 API server14:50
zykes-rnirmal: you have dbaas vm instance, in that vm instance you have a db instance pr db ?14:51
rnirmalzykes-: a single mysql instance per dbaas vm14:52
zykes-rnirmal: what's openvz for then ?14:52
zykes-i thought that was to be able to run multiple databases pr vm ?14:52
rnirmalopenvz is the hypervisor in this case... a container based one14:52
rnirmalwe are not using, kvm or xenserver14:53
zykes-yeah, but within nova, you have 1 vm instance on kvm or whatever hypervisor you want, within that vm you have multiple openvz instances where the mysql processes runs ?14:53
openstackgerritDan Prince proposed a change to openstack/openstack-chef: Add boolean flag for allow_ec2_admin_api.  https://review.openstack.org/129214:54
rnirmalzykes-: no... openvz is the hypervisor we are using with nova. so nova and the virt layer is openvz... the driver for that is being proposed into nova14:54
rnirmalso openvz is a replacement for kvm in this case14:55
zykes-rnirmal: so you run this on a physical box or ?14:55
*** crobinso has joined #openstack-dev14:55
rnirmalzykes-: openvz runs on the physical compute node where the compute service is14:56
openstackgerritBrian Waldon proposed a change to openstack/nova: Correcting libvirt tests that were failing  https://review.openstack.org/129314:56
zykes-ah14:56
rnirmalthe openvz containers are created on the physical node14:56
zykes-i thought you did openvz within a vm node14:56
rnirmalnope14:57
*** rbasak has quit IRC14:57
annegentleJenkins folks (mtaylor, jeblair): does anyone know why Jenkins can't see that the stable/diablo branch of openstack-manuals changed based on the configuration in https://jenkins.openstack.org/view/Openstack-manuals/job/openstack-admin-manuals-diablo/configure ? Do I need a different build trigger when it's on a different branch than master?14:57
zykes-would it be a bad idea though rnirmal ?14:57
*** zns has quit IRC14:59
rnirmalwell not in the managed environment, the user won't have access to the actual instance... just the mysql service within it14:59
*** adjohn has joined #openstack-dev15:00
zykes-yeah, but won't it be the same if you have the db server instance spawn up like cloudpipe?15:00
rnirmalzykes-: I haven't looked at cloudpipe, so I'm not sure15:01
rnirmalok looks like it's adding some extra payload and starting an instance, so yeah in a way sort of, but there's a whole lot of other things we do15:02
zykes-rnirmal: i mean, about spawning a say x gb big vm inside of nova and have it with openvz so you can "plug" it into multiple tenant networks and or others?15:03
zykes-like citrix does with the "vpx" concept15:03
*** zns has joined #openstack-dev15:05
*** dragondm has joined #openstack-dev15:05
*** clayg has quit IRC15:06
*** Gordonz has joined #openstack-dev15:06
rnirmalzykes-: so like a virtual appliance?15:06
*** clayg_ is now known as clayg15:06
*** clayg_ has joined #openstack-dev15:06
*** jdg has joined #openstack-dev15:07
jdgrnirmal:  Morning!15:09
*** f-yang has joined #openstack-dev15:09
vishykpepple: what if you have instances in history that are using that flavor?  The usage calculations will get lost if you delete them.  I don't like that this is the one and only place that nova actually permanently deletes stuff from the db15:09
*** fred_ has joined #openstack-dev15:09
*** fred_ is now known as Guest8952715:09
*** f-yang has quit IRC15:13
*** Guest89527 has quit IRC15:13
*** f-yang has joined #openstack-dev15:14
kpepplevishy: it was a usability compromise for easy installation and private clouds. for easy installation, the migration for this change creates the amazon ec2 defnitions as the defaults -- cutting a possibly confusing step out of the install process (which was difficult enough at the times). for private clouds, many of them want to start fresh with just their numbers from 1.15:15
kpepplevishy: having said that, i am not against purging the --purge option15:15
kpepplevishy: but people will howl :)15:15
vishykpepple: i am not that unhappy with using purge as a first step15:15
vishyas in when you are installing the cloud15:15
vishybut using it later seems like a bad idea15:15
vishythis is all coming up because someone added code in purge to delete instance_type_extra specs15:16
vishyand accidentally broke it15:16
vishyand it made me realize how non-obvious the code and the ideas are15:16
vishybecause no other part of the code does it.15:16
kpepplevishy: agreed on the non-obviousness part15:17
kpepplevishy: we could also just not set default flavors15:18
vishyI don't understand fully the problem with flavor_id and instance_name being non-unique?15:18
vishycan't you just change your code to check for deleted=0 as well?15:18
kpepplewe key our billing and rating off the flavor id -- it's our offer code15:18
vishyflavor_id should be unique across deleted=015:18
*** jdg_ has joined #openstack-dev15:18
*** jdg has quit IRC15:19
kpeppleoh, sorry, i get it now. yeah, names and/or flavor id wouldn't have to be unique there and we could leave it to operator choice15:20
vishyi still think that they should be unique for non-deleted rows15:20
kpeppleyes15:20
vishythe unique constraint breaks things when we try to have deletd=115:20
vishyok cool15:21
*** rbasak has joined #openstack-dev15:23
rnirmaljdg_: you back?15:23
jdg_rnimral: :)  Yep15:23
f-yangsandywalsh: ???15:24
sandywalshf-yang, hey!15:24
*** Gordonz has quit IRC15:25
*** Gordonz has joined #openstack-dev15:25
f-yangsandywalsh:  I saw flatten scheduler got merged, but it still missing ZoneManager object passes to filter_hosts15:25
*** adjohn has quit IRC15:27
*** dolphm has quit IRC15:27
sandywalshf-yang, there is a new object call HostInfo that gets passed in. It has all the services as ReadOnly dicts in it. You can add your "virtual" service to HostInfo just like the others15:28
f-yangsandywalsh: ok, let me check it out, thX15:28
*** lorin1 has quit IRC15:29
*** lorin1 has joined #openstack-dev15:29
*** dolphm has joined #openstack-dev15:30
*** dtroyer has quit IRC15:33
*** cdub_ has quit IRC15:33
*** mnour has joined #openstack-dev15:34
openstackjenkinsProject nova-docs build #1,556: SUCCESS in 4 min 30 sec: https://jenkins.openstack.org/job/nova-docs/1556/15:35
openstackjenkinsewan.mellor: Bug #884534: nova-ajax-console-proxy crashes on shutdown15:35
uvirtbotLaunchpad bug 884534 in nova "nova-ajax-console-proxy crashes on shutdown" [Undecided,Fix committed] https://launchpad.net/bugs/88453415:35
*** beekhof_muc has quit IRC15:38
zykes- rnirmal yeah15:39
zykes-what you think vishy ?15:39
*** rbasak has quit IRC15:40
vishyabout?15:40
zykes-would something like http://etherpad.openstack.org/HkEvt4crw9 < be interesting?15:41
*** mnour has quit IRC15:42
*** lorin1 has quit IRC15:45
*** lorin1 has joined #openstack-dev15:46
*** yogirackspace has joined #openstack-dev15:47
*** zns has quit IRC15:51
*** dtroyer has joined #openstack-dev15:57
openstackgerritNikolay Sokolov proposed a change to openstack/nova: Ported NetworkAdmin extention from openstackx. Migrated from bazaar.  https://review.openstack.org/80115:57
openstackgerritNikolay Sokolov proposed a change to openstack/nova: Ported NetworkAdmin extention from openstackx. Migrated from bazaar.  https://review.openstack.org/80115:59
*** zaitcev has joined #openstack-dev16:00
f-yangsandywalsh:  ???16:01
f-yangsandywalsh: we still need zoneMgr besides HostInfo - We cache some data within ZoneMgr and servicees, which will be needed by filter_hosts(0 to recheck for consitency, since the filter_hosts(0 can only see data which is ~1 minutes old16:03
f-yangthat is why we would need go back to services in ZoneMgr again for checking16:04
*** jdg_ has quit IRC16:04
sandywalshf-yang, where does your data live in zonemanager?16:05
openstackgerritJoe Heck proposed a change to openstack/keystone: adding docs to test classes, updating run_tests.sh to match reality adding debug middleware factory adding docs on enabling debug middleware  https://review.openstack.org/127816:06
rnirmalzykes-: did you look at this blueprint https://blueprints.launchpad.net/nova/+spec/public-and-private-dns16:06
f-yangSandywalsh: pls look at https://review.openstack.org/#patch,unified,675,2,nova/scheduler/filters/json_filter_integrity.py line#96, though the code is old16:06
sandywalshf-yang, I thought it was in zm.service_states['virtual'] = {xxx}16:06
f-yangsandywalsh: the above code relatively show the usage more than service_state{}16:07
*** reed has joined #openstack-dev16:09
f-yangsandywalsh: line#147 of https://review.openstack.org/#patch,unified,675,2,nova/scheduler/manager_integrity.py will be the zoneMgr supported functions16:10
sandywalshf-yang, ok, so line 85 can be handled if you have "trust_state" added to HostInfo (just like compute/volume/network) ... but I'm not sure if we should be attempted to update the zonemanager in host_filter16:11
sandywalsh(uh, filter_hosts)16:11
openstackgerritgaryk proposed a change to openstack/nova: Blueprint - lasterror  https://review.openstack.org/128816:11
sandywalshf-yang, perhaps you need a hook at the end of the DistributedScheduler._schedule() method to do some other post-processing on the selected hosts?16:12
sandywalsh(you could derive from DistributedScheduler, override _schedule(), call the base-class first and do your work afterwards?16:13
*** jog0 has joined #openstack-dev16:13
f-yangsandywalsh: need to digest ....16:13
*** negronjl_mobile has joined #openstack-dev16:13
*** reidrac has quit IRC16:14
*** zns has joined #openstack-dev16:15
f-yangsandywalsh: immediate response is that is to create yet another scheduler, rather than to add on a new filter16:15
zykes-uhm, rnirmal but isn't dhcp i wonder handled by netstack and not nova? vishy ?16:22
rnirmalzykes-: not sure... that one is a old blueprint.16:22
rnirmalzykes-: haven't kept up with all the netstack changes16:23
*** pringles_ has joined #openstack-dev16:26
*** negronjl_mobile has quit IRC16:29
vishyhandled by nova16:31
vishyatm16:31
*** masom has joined #openstack-dev16:39
*** jdurgin has joined #openstack-dev16:39
*** jog0 has quit IRC16:43
*** jog0 has joined #openstack-dev16:43
* pixelbeat is away: Away16:57
jog0How do I change a commit message on gerrit when there is no code change ?17:02
*** reed has quit IRC17:05
*** mnour has joined #openstack-dev17:06
*** rohitk has quit IRC17:12
*** rods has quit IRC17:12
viraptorjog0: isn't the commit accepted again after you do commit --amend and rewrite the message?17:13
*** dolphm has quit IRC17:16
*** naehring has quit IRC17:17
openstackgerritjoe-gordon0 proposed a change to openstack/nova: Partial fix for bug 817107  https://review.openstack.org/124517:18
uvirtbotLaunchpad bug 817107 in nova "Exceptions should be united and exception.wrap_exception should be updated or removed" [Low,Triaged] https://launchpad.net/bugs/81710717:18
*** gyee has joined #openstack-dev17:19
*** jdurgin has quit IRC17:19
jog0viraptor: it was a  conflict issue, thanks17:19
*** stuntmachine has joined #openstack-dev17:20
*** rods has joined #openstack-dev17:20
viraptordoes anyone know where can I find a list of ssh commands for gerrit?17:20
*** Gordonz has quit IRC17:20
openstackjenkinsProject nova-docs build #1,557: SUCCESS in 4 min 23 sec: https://jenkins.openstack.org/job/nova-docs/1557/17:20
openstackjenkinsbrian.waldon: exception.KeypairNotFound usage correction17:20
*** rohitk has joined #openstack-dev17:21
*** gyee has quit IRC17:21
*** lorin1 has quit IRC17:26
openstackgerritStuart McLaren proposed a change to openstack/glance: Adds option to encrypt 'location' metadata.  https://review.openstack.org/118917:27
*** mnour has quit IRC17:28
*** novas0x2a|laptop has joined #openstack-dev17:29
*** tryggvil_ has quit IRC17:30
*** tryggvil_ has joined #openstack-dev17:30
*** lorin1 has joined #openstack-dev17:32
*** joesavak has joined #openstack-dev17:32
bcwaldonmtaylor:17:34
*** Gordonz has joined #openstack-dev17:34
openstackjenkinsProject nova-docs build #1,558: SUCCESS in 4 min 23 sec: https://jenkins.openstack.org/job/nova-docs/1558/17:35
openstackjenkinsJohannes Erdfelt: Log original dropped exception when a new exception occurs17:35
*** jsavak has quit IRC17:36
*** jsavak has joined #openstack-dev17:37
*** bengrue has quit IRC17:37
*** joesavak has quit IRC17:38
*** novas0x2a|lapto1 has joined #openstack-dev17:38
*** jdurgin has joined #openstack-dev17:38
*** bengrue has joined #openstack-dev17:38
*** novas0x2a|laptop has quit IRC17:39
*** novas0x2a|laptop has joined #openstack-dev17:43
*** novas0x2a|lapto1 has quit IRC17:45
*** bengrue has quit IRC17:47
*** gyee has joined #openstack-dev17:47
*** novas0x2a|laptop has quit IRC17:47
openstackgerritjoe-gordon0 proposed a change to openstack/nova: fix bug 816630  https://review.openstack.org/123717:52
uvirtbotopenstackgerrit: Error: Could not parse data returned by Launchpad: The read operation timed out17:52
*** dprince has quit IRC17:55
*** reed has joined #openstack-dev17:55
*** jk0 has quit IRC17:56
*** pyhole has quit IRC17:56
*** jk0 has joined #openstack-dev18:00
*** jk0 has joined #openstack-dev18:00
*** ChanServ sets mode: +v jk018:00
*** adjohn has joined #openstack-dev18:01
*** dolphm has joined #openstack-dev18:03
*** dolphm_ has joined #openstack-dev18:05
*** lorin1 has quit IRC18:06
*** dolphm has quit IRC18:07
*** gyee has quit IRC18:09
*** gyee has joined #openstack-dev18:09
*** seats has joined #openstack-dev18:10
*** gyee has joined #openstack-dev18:12
*** masom has quit IRC18:13
*** jk0 has quit IRC18:17
*** lorin1 has joined #openstack-dev18:20
openstackgerritBrian Lamar proposed a change to openstack/openstack-integration-tests: Tests were not passing for test_servers in Kong tests. Kong was expecting too much information back from the POST.  https://review.openstack.org/129618:23
openstackgerritBrian Waldon proposed a change to openstack/nova: Gracefully handle Xen resize failure  https://review.openstack.org/129718:24
*** dolphm_ has quit IRC18:30
*** dolphm has joined #openstack-dev18:31
*** cdub has joined #openstack-dev18:40
*** darraghb has quit IRC18:42
zykes-vishy: how would you think would be the best way to do it ?18:42
*** pyhole has joined #openstack-dev18:42
*** jk0 has joined #openstack-dev18:42
*** jk0 has joined #openstack-dev18:42
*** ChanServ sets mode: +v jk018:42
*** bengrue has joined #openstack-dev18:44
vishyzykes-: no idea. :)18:45
zykes-guess i'll give a shot at Dan18:47
*** bcwaldon has quit IRC18:47
vishyautomatic dns would be awesome, I haven't thought about how to implement it thtough18:48
*** novas0x2a|laptop has joined #openstack-dev18:48
*** jk0 has quit IRC18:48
*** pyhole has quit IRC18:48
openstackgerritGabe Westmaas proposed a change to openstack/nova: Don't update database before to resize  https://review.openstack.org/130318:52
*** bcwaldon has joined #openstack-dev18:52
*** zns has quit IRC18:54
*** Gordonz_ has joined #openstack-dev18:54
*** Gordonz_ has quit IRC18:55
*** Gordonz_ has joined #openstack-dev18:55
*** pyhole has joined #openstack-dev18:55
*** jk0 has joined #openstack-dev18:56
*** jk0 has joined #openstack-dev18:56
*** ChanServ sets mode: +v jk018:56
*** novas0x2a|laptop has quit IRC18:57
*** Gordonz has quit IRC18:58
*** zns has joined #openstack-dev18:59
openstackgerritGabe Westmaas proposed a change to openstack/nova: Don't update database before to resize  https://review.openstack.org/130319:01
*** dolphm has quit IRC19:02
*** reed has quit IRC19:02
*** stuntmachine has quit IRC19:03
*** adjohn has quit IRC19:05
*** adjohn has joined #openstack-dev19:05
*** pyhole has quit IRC19:08
f-yangsandywalsh: question again?!19:09
*** novas0x2a|laptop has joined #openstack-dev19:09
f-yangsandywalsh: HostInfo() only picks up compute+volume+network caps, am I correct?19:10
openstackjenkinsProject nova-docs build #1,559: SUCCESS in 4 min 25 sec: https://jenkins.openstack.org/job/nova-docs/1559/19:10
openstackjenkinsrenuka.apte: Adds documentation for Xen Storage Manager19:10
*** mdomsch has joined #openstack-dev19:10
*** lorin1 has quit IRC19:10
*** bcwaldon_ has joined #openstack-dev19:11
*** bcwaldon has quit IRC19:11
*** danwent has joined #openstack-dev19:12
*** reed has joined #openstack-dev19:14
*** stuntmachine has joined #openstack-dev19:14
*** reed has quit IRC19:17
*** bcwaldon_ has quit IRC19:17
*** bcwaldon has joined #openstack-dev19:17
*** lorin1 has joined #openstack-dev19:17
*** lorin1 has quit IRC19:18
*** lorin1 has joined #openstack-dev19:18
*** lorin1 has joined #openstack-dev19:19
*** jk0 has quit IRC19:23
sandywalshf-yang, correct, you'll need to add your 'trusted' block19:27
*** viraptor has quit IRC19:28
f-yangsandywalsh: how am I to add it?  overwirt HostInfo() ?19:29
sandywalshf-yang, is your branch going into nova core or is it an optional component?19:31
f-yangsandywalsh: Nova core19:32
sandywalshf-yang, ok, then just add it to the HostInfo object directly19:33
sandywalsh(modify HostInfo)19:33
f-yangsandywalsh: ok, thX!  but question though, what will be the way if it is optional component ?19:34
f-yangsandywalsh: there seems no easy or clean way to do it for other "block"19:35
sandywalshf-yang, then we need a way for you to hook in your own ZoneManager19:35
sandywalshf-yang, we may need to do that anyway for something else going on19:35
f-yangsandywalsh: should I submit a patch on HostInfo() 1st?19:36
f-yangsandy: I didn't catch the purpose of only hardcode those 3 components?!19:37
sandywalshf-yang, I wanted to lessen the dependency on dict keys19:38
*** tryggvil_ has quit IRC19:38
sandywalsh(I should say having to know what keys are important)19:38
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Bug #884930 Support/Remove additional calls for for Tenant.  https://review.openstack.org/128119:39
uvirtbotLaunchpad bug 884930 in keystone "Support/Remove additional calls for for Tenant." [Medium,Confirmed] https://launchpad.net/bugs/88493019:39
f-yangsandy, (???) not quite nderstand19:39
*** yogirackspace has left #openstack-dev19:40
*** reed has joined #openstack-dev19:43
*** pyhole has joined #openstack-dev19:44
*** jk0 has joined #openstack-dev19:44
*** jk0 has quit IRC19:44
*** jk0 has joined #openstack-dev19:44
*** ChanServ sets mode: +v jk019:44
*** adjohn has quit IRC19:51
*** cdub has quit IRC19:53
f-yangsandywalsh: I will 1st submit patch for both HostInfo() and json_filter._parse_string()?? though I still need to create my own json_filter() and derived _scheduler().  Is this ok to you?19:55
*** dolphm has joined #openstack-dev19:55
sandywalshf-yang, sure, we'll give it a look to make sure we're saying the same thing :)19:56
openstackgerritA change to openstack/nova has been rejected: Fix deletion of instances without a domain.  https://review.openstack.org/96819:56
f-yangok!19:56
openstackjenkinsProject nova-docs build #1,560: SUCCESS in 4 min 26 sec: https://jenkins.openstack.org/job/nova-docs/1560/20:00
openstackjenkinsbrian.waldon: Fixing immediate delete after boot on Libvirt20:00
*** zns has quit IRC20:00
openstackgerritGaurav Gupta proposed a change to openstack/nova: Added support for creating nova volume snapshots using OS API.  https://review.openstack.org/120220:01
*** jakedahn has quit IRC20:03
*** jakedahn has joined #openstack-dev20:03
*** jk0 has quit IRC20:06
openstackgerritA change to openstack/nova has been rejected: Update the EC2 API versions.  https://review.openstack.org/109320:07
*** zns has joined #openstack-dev20:12
*** gyee has quit IRC20:13
*** jk0 has joined #openstack-dev20:16
*** jk0 has joined #openstack-dev20:16
*** ChanServ sets mode: +v jk020:16
*** jk0 has quit IRC20:17
*** dolphm has quit IRC20:17
*** jk0 has joined #openstack-dev20:17
*** jk0 has joined #openstack-dev20:17
*** ChanServ sets mode: +v jk020:17
*** zns has quit IRC20:19
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Bug #884930 Support/Remove additional calls for for Tenant. - Supported call to get users for a tenant for a specific role. - Removed calls to get specific role for a user and to get all the roles for a specific tenant as they are not useful. - Fixed LDAP  https://review.openstack.org/128120:21
uvirtbotLaunchpad bug 884930 in keystone "Support/Remove additional calls for for Tenant." [Medium,Confirmed] https://launchpad.net/bugs/88493020:21
*** zns has joined #openstack-dev20:22
*** pixelbeat has quit IRC20:22
*** bcwaldon has quit IRC20:23
*** dtroyer has quit IRC20:24
*** bengrue has quit IRC20:29
openstackgerrityunmao proposed a change to openstack/keystone: fixed the output message error on granting user a role  https://review.openstack.org/131320:29
openstackjenkinsProject nova-docs build #1,561: SUCCESS in 4 min 32 sec: https://jenkins.openstack.org/job/nova-docs/1561/20:30
openstackjenkinsbrian.waldon: Gracefully handle Xen resize failure20:30
*** jakedahn_ has joined #openstack-dev20:31
*** jdg_ has joined #openstack-dev20:32
jdg_Does anybody know why when running devstack on a VM (Vbox) eth0 is lost after a reboot of the VM?20:33
*** jakedahn has quit IRC20:34
*** jakedahn_ is now known as jakedahn20:34
*** rkukura has quit IRC20:34
zykes-rnirmal: here still ?20:40
zykes-danwent: around ?20:40
openstackjenkinsProject nova-docs build #1,562: SUCCESS in 4 min 41 sec: https://jenkins.openstack.org/job/nova-docs/1562/20:40
openstackjenkinsjogo: fix bug 81663020:40
uvirtbotopenstackjenkins: Error: Could not parse data returned by Launchpad: timed out20:41
openstackjenkinsuvirtbot did you mean me? Unknown command 'Error:'20:41
uvirtbotopenstackjenkins: Error: "did" is not a valid command.20:41
openstackjenkinsUse '!jenkins help' to get help!20:41
openstackjenkinsuvirtbot did you mean me? Unknown command 'Error:'20:41
uvirtbotopenstackjenkins: Error: "did" is not a valid command.20:41
openstackjenkinsUse '!jenkins help' to get help!20:41
openstackjenkinsuvirtbot did you mean me? Unknown command 'Error:'20:41
uvirtbotopenstackjenkins: Error: "did" is not a valid command.20:41
openstackjenkinsUse '!jenkins help' to get help!20:41
openstackjenkinsuvirtbot did you mean me? Unknown command 'Error:'20:41
openstackjenkinsUse '!jenkins help' to get help!20:41
uvirtbotopenstackjenkins: Error: "did" is not a valid command.20:41
openstackjenkinsuvirtbot did you mean me? Unknown command 'Error:'20:41
openstackjenkinsUse '!jenkins help' to get help!20:41
uvirtbotopenstackjenkins: Error: "did" is not a valid command.20:41
openstackjenkinsuvirtbot did you mean me? Unknown command 'Error:'20:41
openstackjenkinsUse '!jenkins help' to get help!20:41
uvirtbotopenstackjenkins: You've given me 5 invalid commands within the last minute; I'm now ignoring you for 10 minutes.20:41
openstackjenkinsuvirtbot did you mean me? Unknown command 'You've'20:41
openstackjenkinsUse '!jenkins help' to get help!20:41
zykes-what the hellp :/20:41
*** bengrue has joined #openstack-dev20:43
jdg_That was oddd20:43
*** Gordonz_ has quit IRC20:43
f-yangsandywalsh: ??? Not a right way to overwrite _schedule() since it is to duplicate whole logic of _Schedule() only for one hook.  The best way is to create a "common hook" right after selected_filter.filter_hosts() in DS.  that is, call out to FLAG.PostFilter_hosts if not None.   Though Kludge,  hope this won't overloading it20:43
*** mdomsch has quit IRC20:49
*** jdg_ has quit IRC20:52
*** jdg has joined #openstack-dev20:53
*** jsavak has quit IRC20:56
openstackgerritEdgar Magana Perdomo proposed a change to openstack/quantum: Adding an entry for Nexus Extensions  https://review.openstack.org/131420:56
openstackgerritAaron Lee proposed a change to openstack/nova: Move failed instances to error state  https://review.openstack.org/131520:58
*** cp16net has quit IRC20:59
*** zns has quit IRC21:00
*** stuntmachine has quit IRC21:01
*** stuntmachine has joined #openstack-dev21:01
*** gyee has joined #openstack-dev21:02
*** lorin1 has quit IRC21:03
*** lorin1 has joined #openstack-dev21:03
*** adjohn has joined #openstack-dev21:04
*** lorin1 has left #openstack-dev21:06
*** zns has joined #openstack-dev21:06
openstackgerritEdgar Magana Perdomo proposed a change to openstack/quantum: Adding an entry for Nexus Extensions  https://review.openstack.org/131421:08
*** stuntmachine has quit IRC21:13
*** zns has quit IRC21:17
*** zns has joined #openstack-dev21:21
*** adjohn has quit IRC21:31
vishycomstud: ping21:35
*** danwent has quit IRC21:39
openstackgerritAaron Lee proposed a change to openstack/nova: Move failed instances to error state  https://review.openstack.org/131521:43
*** sdake has quit IRC21:45
*** bsza-I has joined #openstack-dev21:50
*** bsza has quit IRC21:51
*** bsza-I has quit IRC21:55
*** reed has quit IRC22:01
*** crobinso has quit IRC22:03
comstudvishy: pong22:05
vishywe have some concurrency issues with kombu22:05
vishyi have a couple questions for ya22:05
comstudhm ok22:05
comstudfire away22:05
*** mattray has quit IRC22:05
vishy1st: is there any reason why multicall doesn't use the with … as conn: like everything else does?22:06
comstudhm... it hangs onto the connection22:06
comstuduntil the caller iterates through the results22:06
comstudso...22:07
comstudI think it would add it back into the pool too early?22:07
*** markvoelker has quit IRC22:08
vishyhmm22:09
comstudie, on exit of the 'with'22:09
comstudwhich you wouldn't want22:09
comstudbecause the caller is still using the connection22:09
vishymaybe i don't understand how the with works there22:09
vishyhow does it get released?22:09
comstudmulticall itself will release it22:09
vishydoes the waiter manually release it at the end?22:09
comstudwhen it gets the last result22:09
comstudand I think I also added a __del__22:09
comstudjust in case22:09
comstudon the multicall object or the ConnectionContext22:09
comstudi'd have to look22:10
vishyah gotcha22:10
vishy_connection.close22:10
comstudyes22:10
vishyok22:10
comstudit's a bit tricky22:10
vishyso I've managed to break it by adding some tests that do a whole bunch of calls22:10
comstudi was actively trying to make sure that the connection get back into the pool no matter what22:10
comstudso I think I hae a __del__ on ConnectionContext22:10
vishyand then running three copies of the tests22:10
*** dubsquared has quit IRC22:10
comstudinteresting22:10
comstudgot a pointer to those?22:11
vishybut it randomly breaks with different error messages22:11
vishyyes, unfortunately i've just totally hosed my vm22:11
comstudhaha22:11
comstudi'm going to be out of town tomorrow until Tues22:11
comstudso I prob won't have much time to look until then22:12
comstudi can't think offhand why there would be concurrency issues with what I did22:13
comstudI thought i took extra care to make sure connections didn't get back into the pool until they were done being used22:13
vishycomstud: https://gist.github.com/133795622:14
vishythese could be kombu issues22:14
vishyI've seen three different errors22:15
comstudcould be.. not sure what would cause it there also22:15
comstudbut if this test reproduces it, i'm confident i'll figure it out22:15
comstudapplying that now22:16
vishyso i run the test once with -N to create the db22:17
vishythen (./run_tests.sh -N -n test_rpc_kombu &);(./run_tests.sh -N -n test_rpc_kombu &);./run_tests.sh -N -n test_rpc_kombu22:17
vishyto run three at once without creating the db22:17
vishyand it fails almost every time (with different errors)22:17
vishythe last time i seem to have destroyed my ability to connect to rabbit22:17
vishyi can't even run the test anymore22:17
vishyi think i've maxed out my tcp connections to rabbit22:17
vishylooks like there are a whole bunch open22:17
comstudbtw, sould just be able to self.flags(fake_rabbit=False) in those tests22:17
comstudshould22:17
comstudand +1 on the use of '42'22:18
vishycomstud yeah but i'm setting up stuff in setup22:19
vishyi could have put it there22:19
gyeenewbie question: I added my ssh public key to review.openstack.org/#settings,ssh-keys, but keeping getting "Permission denied (publickey)" when running "ssh -T git@github.com"22:19
vishybut whatev22:19
*** reed has joined #openstack-dev22:19
vishy(you probably don't want rabbit password on yours)22:19
comstudyea22:19
vishycomstud: i had xrange set to 10 during my testing22:21
comstudok22:21
vishycomstud: when i up to 100 it doesn't even complete the test22:21
comstudi see that22:21
comstudi think that's because the pool is too small22:21
comstudalthough22:22
comstudhm22:22
comstudi guess it should work22:22
vishycomstud: yes22:23
vishy20 works22:23
vishy30 doesn't22:23
vishyso the pool doesn't seem to be working properly22:23
comstudalrighty22:23
vishyif it makes you feel any better it is broken in carrot too!22:23
comstudhaha22:23
comstudi guess it does a little22:24
comstudhm, looks like self.flags doesn't work here for some reason22:24
comstudhad to mod fakes22:24
vishyyeah22:25
vishyso we have two bugs22:25
comstudok22:25
comstudso tests pass for me22:25
comstudwith xrange 1022:25
comstudupping it22:25
comstud20 is ok for me22:25
vishya) connection over pool size breaks22:26
vishyb) random errors from kombu22:26
comstudok22:26
comstudi'm not getting b) at all22:27
comstudwhat version of kombu you running?22:27
vishywow22:28
vishyi can't up pool size22:28
vishyapparently22:28
vishyexample: AMQPConnectionException: (503, u"COMMAND_INVALID - second 'channel.open' seen", (20, 10), 'Channel.open')22:29
comstudshoot22:29
comstudwhat version of kombu?22:30
vishycomstud: are you doing: (./run_tests.sh -N -n test_rpc_kombu &);(./run_tests.sh -N -n test_rpc_kombu &);./run_tests.sh -N -n test_rpc_kombu22:30
comstudi assume 1.04 because that's in pip22:30
comstudoh no, i'm not22:30
comstudgot it22:30
vishyno 1.4.322:30
comstudhm22:30
comstudok22:30
comstudlet me try the above22:30
comstudi'm at 1.0.4 i believe22:30
*** danwent has joined #openstack-dev22:31
comstudAMQPChannelException: (405, u"RESOURCE_LOCKED - cannot obtain exclusive access to locked queue 'a_direct' in vhost '/'", (50, 10), 'Channel.queue_declare')22:31
comstudyou seeing that one too?22:31
vishyAMQPChannelException: (404, u"NOT_FOUND - no exchange 'a_direct' in vhost '/'", (50, 20), 'Channel.queue_bind')22:31
vishyyup got that one22:32
comstudok22:32
comstudi'm curious why this only happens when running 2 copies of the tests22:32
comstudif it only happens then22:33
comstudactually22:33
comstuddoes't this try to start 2 consumers on the same exclusive queue?22:33
* comstud looks at the tests more closely22:34
comstudno, i guess exclusive is False22:35
comstudbut the 'cannot obtain exclusive access to locked queue' seems rather odd, if exclusive is false.22:37
*** dtroyer has joined #openstack-dev22:37
comstudi can't get any other error here right now, other than the 'locked' one22:38
comstudlet me try 1.4.322:38
comstudhm, same thing22:39
vishythe errors are very intermittent22:40
vishycomstud: I'm concerned about:  File "/usr/local/lib/python2.7/dist-packages/kombu/syn.py", line 49, in __eblocking__22:42
vishyit goes into greenthread there22:42
comstudAsk mentioned something about that22:42
vishyso there is potential for some state to get messed up22:42
comstudin that bug report22:43
comstudi think he suggested something22:43
comstudmight have been in private email22:43
comstudlet me dig it out22:43
comstudokay22:44
comstudi know what the locked issue is22:45
comstudit's running the 'test_direct_send_receive'22:45
comstuddirect is an exclusive queue22:45
comstudrunning it twice at same time will cause locked error22:45
comstudthat's 'normal'22:45
comstudshould never have 2 consumers on same queue name and the test hardcodes 'a_direct'22:46
vishythe exclusive access is for a_direct queue22:46
comstudyeah22:46
comstudthis is a direct queue22:46
comstudtest_direct_send_receive()22:46
vishyyeah22:46
comstudso22:46
vishyi just noticed taht at the same time22:46
vishy:022:46
comstudi'm going to ignore that one22:46
comstudok :)22:46
vishyagreed22:46
comstudor i'll randomize the queue name22:46
vishysimilarly: NOT_FOUND - no exchange 'a_direct' in vhost '/'22:47
comstudyeah22:47
vishyis probably 1 test deleting the queue22:47
comstudyep22:47
vishybefore the other is done with it22:47
vishyalso not a big deal22:47
comstudyeah, i just i randomized the queue name for that direct test now22:49
comstudi can't recreate any other errors22:49
comstudi'll continue to run22:49
vishyis this one: 503, u"COMMAND_INVALID - second 'channel.open' seen", (20, 10), 'Channel.open' the same?22:51
vishyok i randomized the name22:51
vishyfixed those two issues22:51
vishyother still appears22:51
vishycomstud: http://paste.openstack.org/show/3068/22:51
comstudhm22:51
comstudthat feels like a concurrency issue22:52
comstudnot sure what that's about22:52
comstudyou should be able to self.connection.channel() to open new channels IIRC22:52
comstudeither way.. pretty sure I close the old channel22:53
vishyi get that mb 1/3 times22:53
vishymaybe even less22:53
comstudi can't get an error at all22:54
comstudi can try running more22:54
vishynot sure if it gets us any closer to debugging the issue where instance create fails22:54
vishyi mean i guess it is two things both trying to create the same channel?22:55
*** adjohn has joined #openstack-dev22:55
comstudno clue22:55
comstudi didn't think there was really anything specific with channels that they could 'collide'22:56
comstudyou can open multiple channels on a connection22:56
vishycomstud: https://answers.launchpad.net/nova/+question/17721322:56
vishyit happens irl too22:56
comstudright now i'm confused about my environment22:58
comstudi'd added a debug msg to impl_kombu.py22:58
comstudand I've removed it now22:58
comstudyet it's still printing somehow22:58
comstudand I cleared the pyc and everything22:58
comstud*shakes head*22:59
*** cdub has joined #openstack-dev23:00
vishyhehe23:01
comstudi'm stumped23:01
vishycomstud: (nova.rpc): TRACE: AMQPChannelException: (404, u"NOT_FOUND - no exchange23:01
vishy'21937a9d485c483da78f2dbc9aeca78e' in vhost '/'", (60, 40),23:01
vishy'Channel.basic_publish')23:01
vishythat is the really scary one23:01
comstudyeah.23:01
comstudwhat pyamqplib version do you have?23:01
vishyi'm stiil not sure how the channel can be deleted before the message is sent23:01
vishy1.0.023:01
comstudhm23:02
comstudi think i was using that before23:02
comstudi have 1.0.2 right now23:02
comstudvishy: yeah, exactly23:02
comstudno matter what I do, I can't reproduce this23:03
*** andreaf has joined #openstack-dev23:04
vishycomstud: interesting let us see if updating helps23:04
vishycomstud: ineteesting the NOT_FOUND is happening on close23:04
vishycomstud: not on send23:04
vishycomstud: what happens if you send a message on a direct queue and it is consumed23:04
comstudhm23:04
vishycomstud: is it possible the consumer is closing the channel?23:04
vishyand then the publisher tries to close and fails?23:05
comstuda channel is tied to a connection23:05
comstudit's nothing shared23:05
comstudbut..23:05
vishysorry23:05
comstudexchange?23:05
vishythe exchange23:05
vishyi mean23:05
comstudthat's an interesting thought23:05
comstudbut23:06
comstudthe AMQP command seemed to be a 'basic_publish'23:06
comstudnot a close23:06
comstudyour NOT_FOUND above says while doing a Channel.basic_publish23:06
*** andreaf has quit IRC23:07
vishyyeah that one is different23:07
comstudok23:07
vishythe NOT_FOUND in the bug report is on reset23:07
vishybtw, upgraded to 1.0.2 and still got the 50323:07
comstudok23:08
*** andreaf has joined #openstack-dev23:08
comstudi'll try this on another host23:08
*** bhall has quit IRC23:09
*** sdake has joined #openstack-dev23:09
*** bhall has joined #openstack-dev23:11
vishyi'm running in a vm, so it may be some odd bug that only happens when the kernel is locked or something23:11
comstudis your rabbit server on localhost or further away?23:11
comstudso am I23:12
comstudi was running it under nested VMs, actually23:12
comstudfusion -> xenserver -> squeeze23:12
comstudwhich is faster than any of my other machines23:12
comstudon this mac23:12
comstudi still can't reproduce it on this other host23:13
vishycomstud: 404, u"NOT_FOUND - no exchange that one is actually an easy fix23:13
vishyi still would like to know how the exchange is getting closed early23:13
*** pixelbeat has joined #openstack-dev23:14
comstudi could see there being a race condition if the consumer popped the msg off extremely quickly and closed the channel (so the exchange is removed)... before the sender side closed its tie to the exchange23:14
comstudalthough it seems kind of dumb that a channel close would care if the exchange still existed or not23:15
comstudi'm not sure why a channel.close() results in a Channel.basic_publish command to the server.23:16
comstudbut I don't pretend to know AMQP very well23:16
comstudi'm starting to wonder what's different with our environments23:17
comstudbecause I can't reproduce this... and I don't think we've seen it at all in our group (even once)23:17
*** cdub has quit IRC23:17
comstudlet me find that thing from Ask23:18
comstudfor you to try23:18
comstud'Maybe, you could try replacing kombu.syn.blocking with a dummy version that just23:18
comstudexecutes the function?'23:18
vishybasic_publish? it doesn't23:19
comstudsays that could be relevant difference compared to kombu23:19
vishycomstud: look at the trace here: https://launchpadlibrarian.net/83304253/nova-network.log23:19
vishyit is in close that it fails23:19
comstudvishy: I see Channel.basic_publish in the 404 error23:19
comstudpyamqplib is putting it in the exception23:19
*** adjohn has quit IRC23:19
comstudbut i dunno if that string came from rabbit or not23:19
vishycomstud: 125                 'auto_delete': True,23:20
vishyin direct consumer23:20
comstudyep23:20
vishywhy do we try to delete it on the other end?23:20
comstudOh23:20
comstudis the publisher trying to delete it?23:20
comstud(also)23:20
vishywell the publisher calls close at the end23:21
comstudlooks like it.23:21
comstudi close the channel so I can open a new one... to re-use the same connection23:21
*** zns has quit IRC23:21
vishy(nova.rpc): TRACE:   File "/opt/stack/nova/nova/rpc/impl_kombu.py", line 382, in reset23:21
vishy(nova.rpc): TRACE:     self.channel.close()23:21
*** adjohn has joined #openstack-dev23:21
vishyso should we try accept around that?23:22
comstudbut I see auto_delete=True in DirectPublisher23:22
comstudfor some reason, i think that might need to match the consumer23:22
comstudbut we could try removing that also23:22
comstudvishy: maybe23:22
comstudalthough23:22
vishythey are both auto_delete in carrot23:22
comstudi'm concerned that would leave the connection in a broken state23:22
comstudsuch that if it goes back into the pool for someone else, it'll be broken23:23
vishyit just needs to not try to delete teh exchange twice23:23
comstudi'm not sure that the publisher actually tries to delete it23:23
comstudlet me look at docs23:23
comstudyeah23:24
comstudi don't think it does23:24
comstudauto_delete tells the server to delete the exchange when the consumer disconnects23:25
comstudwell23:25
comstudto be clear:23:25
comstudhttp://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol#Exchanges23:26
comstudsee auto_delete under Exchanges and Queues23:26
comstudit really only applies to consumers23:26
comstudbut for whatever reason, a publisher has to specify the setting to match the consumer23:26
comstudIIRC23:26
comstudamqp is kinda screwy if you ask me :)23:26
comstudthis is all server side stuff23:27
comstudand I know a publisher disconnecting doesn't delete the queue... because I ran into this in testing23:27
vishywait but it tries to do something with the exchange23:28
comstudyou can declare an exchange/queue as auto_delete=True... push a msg to it23:28
comstudclose the publusher23:28
comstudand the queue/exchange will stick around23:28
comstuduntil a consumer subscribes and disconnects23:28
vishysure23:28
vishybut the error is on the publisher side23:29
comstudyeah, makes no sense to me23:29
comstudi almost want to blame rabbit for that.23:29
*** rnirmal has quit IRC23:29
comstudbecause i don't think the client is trying to delete anything23:29
vishy File "/opt/stack/nova/nova/rpc/impl_kombu.py", line 382, in reset23:30
vishy(nova.rpc): TRACE:     self.channel.close()23:30
comstudauto_delete happens on the server23:30
comstudthat's just closing the amqp channel23:30
comstudessentially that's the same as closing the socket23:31
comstudalthouhg it doesn't close the socket23:31
vishycomstud: check out 211 in  211             After sending this method any received met23:31
comstud211 in where?23:31
*** misheska has joined #openstack-dev23:32
vishyusr/lib/python2.7/dist-packages/amqplib/client_0_8/channel.py23:33
vishywow23:33
vishyit really looks like _do_close is called twice23:34
comstudimmediately after i close the channel, i re-open a new one23:34
comstudessentially that 'resets' things for the next person to grab the connection out of the pool23:34
comstudthere def should be no more commands on the channel after closing it23:35
vishycomstud: but it says any other method besides close_ok should be ignored23:35
comstudon the channel23:35
comstudnot the connection23:35
vishythe method we get back is : (60, 40), 'Channel.basic_publish')23:35
vishywhy isn't it being ignored23:36
vishy?23:36
comstudhm, true23:36
comstudi see23:36
comstudit's unclear to me where that basic_publish is coming from23:37
comstudit feels like that the server is giving us a 404 when trying to do that command23:37
vishyunless that is a copy paste error form the close method above23:37
comstudie... amqplib sent the basic_publish23:37
*** jdg has quit IRC23:38
comstudand this is where there might be a concurrency thing23:38
vishythe server sent basic publish instead of close_ok?23:38
comstudif 2 things somehow got ahold of the same connection23:38
comstudit's possible we have 1 greenthread doing a publish23:39
comstudat the same time another is closing23:39
vishyoh interesting23:43
*** cdub has joined #openstack-dev23:44
*** novas0x2a|laptop has quit IRC23:44
comstudi'm not sure i see a point to this kombu.syn.blocking() call for eventlet23:44
comstudit just does a spawn().wait()23:45
comstudif that created a _real_ thread, maybe i'd understand23:45
vishycomstud: https://github.com/pika/pika/issues/8423:46
vishycomstud: https://github.com/wulczer/pika/commit/2e32388d97bbecdd83e90572e203783ca1b2d01c23:47
vishyi think a close-ok isn not being sent properly sometimes23:48
vishybecause the stuff talked about in that issue is exactly what we are seeing23:49
comstudhm, that's pika tho23:49
*** andreaf has quit IRC23:49
comstudisn't that just an alternative to amqplib?23:49
vishyi know but i't is the same issue23:49
vishygetting back weird responses23:49
vishywhen you send a close23:49
comstudah23:49
vishythere is an explanation there of why it happens23:50
*** jeffjapan has joined #openstack-dev23:50
comstudreading further23:50
*** andreaf has joined #openstack-dev23:50
comstudoh23:51
comstudinteresting.23:51
*** cdub has quit IRC23:51
vishy(from here on after, every operation the app will attempt using the closed channel will immediately raise an ChannelClosed error with a 404 code)23:51
*** code_franco has quit IRC23:51
vishyso that message may be referring to an earlier call?23:52
vishyi'm still at a loss to why this works with carrot23:52
vishythis might be a lot easier with amqp debugging turned on23:53
*** dtroyer_ has joined #openstack-dev23:53
vishyperhaps i need to reproduce his error with debugging on and request logging active23:53
vishyso i can actually see the different threads23:54
vishyand make it log message_id as well23:54
comstudi wish i could reproduce it23:54
comstudthe one thing I can look at is the pool exhaustion thing23:54
*** andreaf has quit IRC23:55
*** dtroyer has quit IRC23:56
*** dtroyer_ is now known as dtroyer23:56
*** andreaf has joined #openstack-dev23:56
comstudah23:56
comstudi guess i have an explanation for that.23:56
comstudwell, for the nested case23:58
comstudhm23:58
*** andreaf has quit IRC23:59

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