[Yahoo-eng-team] [Bug 1669924] [NEW] InstanceUpdateConflict: Conflict updating instance Expected: {'vm_state': ['building', None]}. Actual: {'vm_state': u'error'}

2017-03-03 Thread sajuptpm
Public bug reported:

VM creation got stuck at nova-cells. I can see following error in nova-cells.
Because of this issue, nova scheduler not getting any Compute nodes to schedule 
the VM.
Please le me know if you need more infos.
I am using devstack master (master nova)

---

Log form nova-cells
--

2017-03-03 22:43:08.723 ERROR nova.cells.messaging 
[req-719c3e5b-8a74-446e-88ea-cd21a4c038ed nfv nfv_user] Error processing 
message locally
2017-03-03 22:43:08.723 TRACE nova.cells.messaging Traceback (most recent call 
last):
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/opt/stack/nova/nova/cells/messaging.py", line 188, in _process_locally
2017-03-03 22:43:08.723 TRACE nova.cells.messaging resp_value = 
self.msg_runner._process_message_locally(self)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/opt/stack/nova/nova/cells/messaging.py", line 1275, in 
_process_message_locally
2017-03-03 22:43:08.723 TRACE nova.cells.messaging return fn(message, 
**message.method_kwargs)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/opt/stack/nova/nova/cells/messaging.py", line 1024, in instance_update_at_top
2017-03-03 22:43:08.723 TRACE nova.cells.messaging 
expected_task_state=expected_task_state)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 
226, in wrappe
r
2017-03-03 22:43:08.723 TRACE nova.cells.messaging return fn(self, *args, 
**kwargs)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/opt/stack/nova/nova/objects/instance.py", line 777, in save
2017-03-03 22:43:08.723 TRACE nova.cells.messaging 
columns_to_join=_expected_cols(expected_attrs))
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/opt/stack/nova/nova/db/api.py", line 840, in instance_update_and_get_original
2017-03-03 22:43:08.723 TRACE nova.cells.messaging expected=expected)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/opt/stack/nova/nova/db/sqlalchemy/api.py", line 180, in wrapper
2017-03-03 22:43:08.723 TRACE nova.cells.messaging return f(*args, **kwargs)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 151, in wrapper
2017-03-03 22:43:08.723 TRACE nova.cells.messaging ectxt.value = e.inner_exc
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in 
__exit__
2017-03-03 22:43:08.723 TRACE nova.cells.messaging self.force_reraise()
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in 
force_reraise
2017-03-03 22:43:08.723 TRACE nova.cells.messaging six.reraise(self.type_, 
self.value, self.tb)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 139, in wrapper
2017-03-03 22:43:08.723 TRACE nova.cells.messaging return f(*args, **kwargs)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/opt/stack/nova/nova/db/sqlalchemy/api.py", line 251, in wrapped
2017-03-03 22:43:08.723 TRACE nova.cells.messaging return f(context, *args, 
**kwargs)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/opt/stack/nova/nova/db/sqlalchemy/api.py", line 2710, in 
instance_update_and_get_original
2017-03-03 22:43:08.723 TRACE nova.cells.messaging context, instance_uuid, 
values, expected, original=instance_ref))
2017-03-03 22:43:08.723 TRACE nova.cells.messaging   File 
"/opt/stack/nova/nova/db/sqlalchemy/api.py", line 2846, in _instance_update
2017-03-03 22:43:08.723 TRACE nova.cells.messaging raise exc(**exc_props)
2017-03-03 22:43:08.723 TRACE nova.cells.messaging InstanceUpdateConflict: 
Conflict updating instance 4d3dae25-906a-4e38-9075-1417c6fa7ad9. Expected:
 {'vm_state': ['building', None]}. Actual: {'vm_state': u'error'}
2017-03-03 22:43:08.723 TRACE nova.cells.messaging

** Affects: nova
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1669924

Title:
  InstanceUpdateConflict: Conflict updating instance Expected:
  {'vm_state': ['building', None]}. Actual: {'vm_state': u'error'}

Status in OpenStack Compute (nova):
  New

Bug description:
  VM creation got stuck at nova-cells. I can see following error in nova-cells.
  Because of this issue, nova scheduler not getting any Compute nodes to 
schedule the VM.
  Please le me know if you need more infos.
  I am using devstack master (master nova)

  ---

  Log form nova-cells
  --

  2017-03-03 22:43:08.723 ERROR nova.cells.messaging 
[req-719c3e5b-8a74-446e-88ea-cd21a4c038ed nfv nfv_user] Error processing 
message locally
  2017-

[Yahoo-eng-team] [Bug 1596709] [NEW] [neutron-lbaas] neutron-lbaasv2-agent not updating the Member status based on collected haproxy stats

2016-06-27 Thread sajuptpm
Public bug reported:

In neutron-lbaasv2-agent code, I could not find the statements which
updating the Member status based on collected haproxy stats.I could find
same logic in neutron-lbaas-agent code.

** Affects: neutron
 Importance: Undecided
 Assignee: sajuptpm (sajuptpm)
 Status: New


** Tags: neutron-lbaas

** Changed in: neutron
 Assignee: (unassigned) => sajuptpm (sajuptpm)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1596709

Title:
  [neutron-lbaas] neutron-lbaasv2-agent not updating the Member status
  based on collected haproxy stats

Status in neutron:
  New

Bug description:
  In neutron-lbaasv2-agent code, I could not find the statements which
  updating the Member status based on collected haproxy stats.I could
  find same logic in neutron-lbaas-agent code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1596709/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1566524] [NEW] create security group raises HTTPForbidden on SecurityGroupLimitExceeded

2016-04-05 Thread sajuptpm
Public bug reported:

create security group raises HTTPForbidden on SecurityGroupLimitExceeded 
exception from nov-api server.
Because of that, novaclient raises Forbidden instead of OverLimit exception.

** Affects: nova
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1566524

Title:
  create security group raises HTTPForbidden on
  SecurityGroupLimitExceeded

Status in OpenStack Compute (nova):
  New

Bug description:
  create security group raises HTTPForbidden on SecurityGroupLimitExceeded 
exception from nov-api server.
  Because of that, novaclient raises Forbidden instead of OverLimit exception.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1566524/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1523209] [NEW] glance image-create fails with ValueError: invalid literal for int() with base 16: ''

2015-12-06 Thread sajuptpm
Public bug reported:

I am using openstack kilo with rbd store (ceph hammer)
-

from ceph cluster
--
#rbd info images/b04ba38c-5e41-4e6f-85c7-a68e2d677fab

rbd image 'b04ba38c-5e41-4e6f-85c7-a68e2d677fab':
size 12891 kB in 2 objects
order 23 (8192 kB objects)
block_name_prefix: rbd_data.2a03e445c34a7
format: 2
features: layering
flags: 

glance-api.log
-

2015-08-03 16:14:08.408 40309 WARNING glance.api.middleware.version_negotiation 
[req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 
9c57e5684dee4a99958e2b3985a9fcdb - - -] Unknown version. Returning version 
choices.
2015-08-03 16:14:08.411 40309 INFO eventlet.wsgi.server 
[req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 
9c57e5684dee4a99958e2b3985a9fcdb - - -] 127.0.0.1,127.0.0.1 - - [03/Aug/2015 
16:14:08] "GET / HTTP/1.1" 300 804 0.005931
2015-08-03 16:14:08.412 40309 DEBUG glance_store._drivers.rbd 
[req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 
9c57e5684dee4a99958e2b3985a9fcdb - - -] creating image 
b04ba38c-5e41-4e6f-85c7-a68e2d677fab with order 23 and size 13200896 add 
/usr/lib/python2.7/dist-packages/glance_store/_drivers/rbd.py:343 <==
2015-08-03 16:14:08.530 40309 DEBUG glance_store._drivers.rbd 
[req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 
9c57e5684dee4a99958e2b3985a9fcdb - - -] writing chunk at offset 0 add 
/usr/lib/python2.7/dist-packages/glance_store/_drivers/rbd.py:379 <==
2015-08-03 16:14:10.584 40307 DEBUG glance.api.middleware.version_negotiation 
[req-e76e2669-f456-440e-b427-d7e5bc403bc3 d28a3add04d74ed699a9f707ce5580b6 
4802e1920fd64ed9894ee99d88d20d5c - - -] Determining version of request: GET / 
Accept:  process_request 
/usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:47
2015-08-03 16:14:10.585 40307 DEBUG glance.api.middleware.version_negotiation 
[req-e76e2669-f456-440e-b427-d7e5bc403bc3 d28a3add04d74ed699a9f707ce5580b6 
4802e1920fd64ed9894ee99d88d20d5c - - -] Using url versioning process_request 
/usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:60
2015-08-03 16:14:10.586 40307 WARNING glance.api.middleware.version_negotiation 
[req-e76e2669-f456-440e-b427-d7e5bc403bc3 d28a3add04d74ed699a9f707ce5580b6 
4802e1920fd64ed9894ee99d88d20d5c - - -] Unknown version. Returning version 
choices.
2015-08-03 16:14:10.590 40307 INFO eventlet.wsgi.server 
[req-e76e2669-f456-440e-b427-d7e5bc403bc3 d28a3add04d74ed699a9f707ce5580b6 
4802e1920fd64ed9894ee99d88d20d5c - - -] 10.140.15.21,127.0.0.1 - - [03/Aug/2015 
16:14:10] "GET / HTTP/1.1" 300 804 0.005613
2015-08-03 16:14:11.653 40309 ERROR glance.api.v1.upload_utils 
[req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 
9c57e5684dee4a99958e2b3985a9fcdb - - -] Failed to upload image 
b04ba38c-5e41-4e6f-85c7-a68e2d677fab <==

2015-08-03 16:14:11.660 40309 DEBUG glance.common.client 
[req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 
9c57e5684dee4a99958e2b3985a9fcdb - - -] Constructed URL: 
http://localhost:19191/images/b04ba38c-5e41-4e6f-85c7-a68e2d677fab 
_construct_url /usr/lib/python2.7/dist-packages/glance/common/client.py:401 
<==
2015-08-03 16:14:11.952 40309 DEBUG glance.registry.client.v1.client 
[req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 
9c57e5684dee4a99958e2b3985a9fcdb - - -] Registry request PUT 
/images/b04ba38c-5e41-4e6f-85c7-a68e2d677fab HTTP 200 request id 
req-cc9e0445-7a9e-4a79-9da4-e3a21fdce4b7 do_request 
/usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py:124
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/greenpool.py", line 82, in 
_spawn_n_impl
func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 671, in 
process_request
proto.__init__(sock, address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 342, in handle
self.handle_one_request()
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 330, in 
handle_one_request
self.handle_one_response()
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 492, in 
handle_one_response
while self.environ['eventlet.input'].read(MINIMUM_CHUNK_SIZE):
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 188, in read
return self._chunked_read(self.rfile, length)
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 178, in 
_chunked_read
self.chunk_length = int(rfile.readline().split(b";", 1)[0], 16)
ValueError: invalid literal for int() with base 16: ''
2015-08-03 16:14:18.434 40307 DEBUG glance.api.middleware.version_negotiation 
[req-e76e2669-f456-440e-b427-d7e5bc403bc3 d28a3add04d74ed699a9f707ce5580b6 
4802e1920fd64ed9894ee99d88d20d5c - - -]

[Yahoo-eng-team] [Bug 1416103] [NEW] Remove redundant statement from l3agentscheduler

2015-01-29 Thread sajuptpm
Public bug reported:

Following statement is redundant in class
L3AgentsHostingRouterController of
neutron/extensions/l3agentscheduler.py.

plugin =
manager.NeutronManager.get_service_plugins().get(service_constants.L3_ROUTER_NAT)

we can use plugin = self.get_plugin() instead.

** Affects: neutron
 Importance: Undecided
 Assignee: sajuptpm (sajuptpm)
 Status: New

** Attachment added: "Screen-shot of the code"
   
https://bugs.launchpad.net/bugs/1416103/+attachment/4308259/+files/Screenshot%20from%202015-01-30%2002%3A08%3A23.png

** Changed in: neutron
 Assignee: (unassigned) => sajuptpm (sajuptpm)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1416103

Title:
  Remove redundant statement from l3agentscheduler

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Following statement is redundant in class
  L3AgentsHostingRouterController of
  neutron/extensions/l3agentscheduler.py.

  plugin =
  
manager.NeutronManager.get_service_plugins().get(service_constants.L3_ROUTER_NAT)

  we can use plugin = self.get_plugin() instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1416103/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp