[Yahoo-eng-team] [Bug 1528081] [NEW] Unexpected API Error

2015-12-20 Thread yangbo
Public bug reported:


2015-12-20 04:22:59.286 DEBUG nova.api.openstack.wsgi 
[req-a2cd2bde-867b-4034-b801-992f587b2c68 admin admin] Calling method '>' _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
2015-12-20 04:22:59.288 INFO nova.osapi_compute.wsgi.server 
[req-a2cd2bde-867b-4034-b801-992f587b2c68 admin admin] 10.109.194.142 "GET 
/v2.1/ HTTP/1.1" status: 200 len: 656 time: 0.0067410
2015-12-20 04:22:59.503 DEBUG nova.api.openstack.wsgi 
[req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Calling method '>' _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
2015-12-20 04:22:59.523 ERROR nova.api.openstack.extensions 
[req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Unexpected exception in 
API method
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions Traceback 
(most recent call last):
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions return 
f(*args, **kwargs)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/api/openstack/compute/hypervisors.py", line 88, in index
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions for hyp in 
compute_nodes])
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/compute/api.py", line 3463, in service_get_by_compute_host
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions return 
objects.Service.get_by_compute_host(context, host_name)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File 
"/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 
180, in wrapper
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions result = 
fn(cls, context, *args, **kwargs)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/objects/service.py", line 219, in get_by_compute_host
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions db_service 
= db.service_get_by_compute_host(context, host)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/db/api.py", line 157, in service_get_by_compute_host
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions 
use_slave=use_slave)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/db/sqlalchemy/api.py", line 531, in 
service_get_by_compute_host
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions raise 
exception.ComputeHostNotFound(host=host)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions 
ComputeHostNotFound: Compute host controller1 could not be found.
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions
2015-12-20 04:22:59.524 INFO nova.api.openstack.wsgi 
[req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] HTTP exception thrown: 
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and 
attach the Nova API log if possible.

2015-12-20 04:22:59.525 DEBUG nova.api.openstack.wsgi 
[req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Returning 500 to user: 
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and 
attach the Nova API log if possible.
 __call__ 
/opt/stack/nova/nova/api/openstack/wsgi.py:1180


Nova log is attached

** 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/1528081

Title:
   Unexpected API Error

Status in OpenStack Compute (nova):
  New

Bug description:
  
  2015-12-20 04:22:59.286 DEBUG nova.api.openstack.wsgi 
[req-a2cd2bde-867b-4034-b801-992f587b2c68 admin admin] Calling method '>' _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
  2015-12-20 04:22:59.288 INFO nova.osapi_compute.wsgi.server 
[req-a2cd2bde-867b-4034-b801-992f587b2c68 admin admin] 10.109.194.142 "GET 
/v2.1/ HTTP/1.1" status: 200 len: 656 time: 0.0067410
  2015-12-20 04:22:59.503 DEBUG nova.api.openstack.wsgi 
[req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Calling method '>' _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
  2015-12-20 04:22:59.523 ERROR nova.api.openstack.extensions 
[req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Unexpected exception in 
API method
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions Traceback 
(most recent call last):
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions return 
f(*args, **kwargs)
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File 

[Yahoo-eng-team] [Bug 1527067] [NEW] Unexpected API Error - nova hypervisor-list

2015-12-16 Thread yangbo
Public bug reported:

stack@controller1:~$ nova hypervisor-list
ERROR (ClientException): Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
 (HTTP 500) (Request-ID: 
req-d98480fd-fcca-4660-b992-7e9a1fa2e94b)
stack@controller1:~$ nova --version
2.35.0

What I did:
1. install  devstack on controller node
2. install  devstack on compute node

** 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/1527067

Title:
  Unexpected API Error - nova hypervisor-list

Status in OpenStack Compute (nova):
  New

Bug description:
  stack@controller1:~$ nova hypervisor-list
  ERROR (ClientException): Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
   (HTTP 500) (Request-ID: 
req-d98480fd-fcca-4660-b992-7e9a1fa2e94b)
  stack@controller1:~$ nova --version
  2.35.0

  What I did:
  1. install  devstack on controller node
  2. install  devstack on compute node

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1527067/+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 1524187] [NEW] Volume is not automatically detached after destroy instance

2015-12-08 Thread yangbo
Public bug reported:

stack@ubuntu:~$ nova show 2313788b-f5cf-4183-be65-9ac93015c6dc
ERROR (CommandError): No server with a name or ID of 
'2313788b-f5cf-4183-be65-9ac93015c6dc' exists.
stack@ubuntu:~$ cinder list |grep 2313788b-f5cf-4183-be65-9ac93015c6dc
| 7ef3590d-2ecb-4e32-8623-1e26ead8c889 |  in-use |- |   
   a  |  1   |  -  |   true   |False| 
2313788b-f5cf-4183-be65-9ac93015c6dc |


Volume is still "in-use" state after the instance was destroyed.

screen-n-cpu.log:2015-12-08 05:29:23.448 DEBUG nova.compute.manager 
[req-c574b833-e506-414d-ae25-ff5d56c62b1b admin admin] [instance: 
2313788b-f5cf-4183-be65-9ac93015c6dc] Start destroying the instance on the 
hypervisor. _shutdown_instance /opt/stack/nova/nova/compute/manager.py:2281
screen-n-cpu.log:2015-12-08 05:29:23.460 4324 INFO nova.virt.libvirt.driver [-] 
[instance: 2313788b-f5cf-4183-be65-9ac93015c6dc] During wait destroy, instance 
disappeared.
screen-n-cpu.log:2015-12-08 05:29:23.461 DEBUG nova.virt.libvirt.vif 
[req-c574b833-e506-414d-ae25-ff5d56c62b1b admin admin] vif_type=ovs 
instance=Instance(access_ip_v4=None,access_ip_v6=None,architecture=None,auto_disk_config=False,availability_zone=None,cell_name=None,cleaned=False,config_drive='',created_at=2015-12-08T04:33:44Z,default_ephemeral_device=None,default_swap_device=None,deleted=False,deleted_at=None,disable_terminate=False,display_description='instance_1_144956711519',display_name='instance_1_144956711519',ec2_ids=,ephemeral_gb=0,ephemeral_key_uuid=None,fault=,flavor=Flavor(2),host='ubuntu',hostname='instance-1-144956711519',id=8,image_ref='9121970b-4af5-4538-a659-0d16711efafb',info_cache=InstanceInfoCache,instance_type_id=2,kernel_id='',key_data=None,key_name=None,launch_index=0,launched_at=None,launched_on='ubuntu',locked=False,locked_by=None,memory_mb=512,metadata={},migration_context=,new_flavor=None,node='ubuntu',numa_topology=,old_flavor=None,os_type=N
 
one,pci_devices=PciDeviceList,pci_requests=,power_state=0,progress=0,project_id='10ad966fa76c4536ab0d85d41a260631',ramdisk_id='',reservation_id='r-wagg3ytl',root_device_name='/dev/vda1',root_gb=1,security_groups=SecurityGroupList,shutdown_terminate=False,system_metadata={image_base_image_ref='9121970b-4af5-4538-a659-0d16711efafb',image_container_format='bare',image_disk_format='qcow2',image_min_disk='1',image_min_ram='0',network_allocated='True'},tags=,task_state='deleting',terminated_at=None,updated_at=2015-12-08T05:21:07Z,user_data=None,user_id='4c0600df133d44feae965ec6ae44a6e6',uuid=2313788b-f5cf-4183-be65-9ac93015c6dc,vcpu_model=,vcpus=1,vm_mode=None,vm_state='error')
 vif=VIF({'profile': {}, 'ovs_interfaceid': 
u'aca27420-ef84-45a6-9d90-0d37d0069338', 'preserve_on_delete': False, 
'network': Network({'bridge': u'br-int', 'subnets': [Subnet({'ips': 
[FixedIP({'meta': {}, 'version': 6, 'type': u'fixed', 'floating_ips': [], 
'address': u'2001:db8::a'})], 'version': 6, 'meta': 
 {}, 'dns': [], 'routes': [], 'cidr': u'2001:db8::/64', 'gateway': IP({'meta': 
{}, 'version': 6, 'type': u'gateway', 'address': u'2001:db8::2'})}), 
Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': u'fixed', 
'floating_ips': [], 'address': u'172.24.4.9'})], 'version': 4, 'meta': {}, 
'dns': [], 'routes': [], 'cidr': u'172.24.4.0/24', 'gateway': IP({'meta': {}, 
'version': 4, 'type': u'gateway', 'address': u'172.24.4.1'})})], 'meta': 
{u'injected': False, u'tenant_id': u'10ad966fa76c4536ab0d85d41a260631'}, 'id': 
u'3677c113-d47b-44ff-ab10-d3a59357413d', 'label': u'public'}), 'devname': 
u'tapaca27420-ef', 'vnic_type': u'normal', 'qbh_params': None, 'meta': {}, 
'details': {u'port_filter': True, u'ovs_hybrid_plug': True}, 'address': 
u'fa:16:3e:a2:64:6b', 'active': False, 'type': u'ovs', 'id': 
u'aca27420-ef84-45a6-9d90-0d37d0069338', 'qbg_params': None}) unplug 
/opt/stack/nova/nova/virt/libvirt/vif.py:877
screen-n-cpu.log:2015-12-08 05:29:37.648 DEBUG nova.compute.manager 
[req-09c067d3-2e8c-492b-bf7e-09a9db593a25 None None] Triggering sync for uuid 
2313788b-f5cf-4183-be65-9ac93015c6dc _sync_power_states 
/opt/stack/nova/nova/compute/manager.py:5997
screen-n-cpu.log:2015-12-08 05:29:51.744 DEBUG oslo_concurrency.processutils 
[req-c574b833-e506-414d-ae25-ff5d56c62b1b admin admin] Running cmd 
(subprocess): mv 
/opt/stack/data/nova/instances/2313788b-f5cf-4183-be65-9ac93015c6dc 
/opt/stack/data/nova/instances/2313788b-f5cf-4183-be65-9ac93015c6dc_del execute 
/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:267
screen-n-cpu.log:2015-12-08 05:29:51.766 DEBUG oslo_concurrency.processutils 
[req-c574b833-e506-414d-ae25-ff5d56c62b1b admin admin] CMD "mv 
/opt/stack/data/nova/instances/2313788b-f5cf-4183-be65-9ac93015c6dc 
/opt/stack/data/nova/instances/2313788b-f5cf-4183-be65-9ac93015c6dc_del" 
returned: 0 in 0.022s execute 
/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:297
screen-n-cpu.log:2015-12-08 05:29:51.768 INFO nova.virt.libvirt.driver 

[Yahoo-eng-team] [Bug 1520581] [NEW] TypeError at /project/network_topology/

2015-11-27 Thread yangbo
Public bug reported:

I installed latest Devstack, but got below error when tried to open
network topology on Dashboard. Anyone met this issue? or is this a
devstack build bug?

TypeError at /project/network_topology/
Client() got multiple values for keyword argument 'api_version'
Request Method: GET
Request URL:http://10.109.194.114/dashboard/project/network_topology/
Django Version: 1.8.7
Exception Type: TypeError
Exception Value:
Client() got multiple values for keyword argument 'api_version'
Exception Location: /opt/stack/manila-ui/manila_ui/api/manila.py in 
manilaclient, line 65
Python Executable:  /usr/bin/python
Python Version: 2.7.6
Python Path:
['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
 '/opt/stack/keystone',
 '/opt/stack/swift',
 '/opt/stack/glance',
 '/opt/stack/cinder',
 '/opt/stack/neutron',
 '/opt/stack/nova',
 '/opt/stack/heat',
 '/opt/stack/barbican',
 '/opt/stack/python-barbicanclient',
 '/opt/stack/sahara',
 '/opt/stack/manila',
 '/opt/stack/python-manilaclient',
 '/opt/stack/manila-ui',
 '/home/dev/devstack/src/horizon',
 '/opt/stack/tempest',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/opt/stack/horizon/openstack_dashboard']
Server time:Fri, 27 Nov 2015 13:48:04 +

** Affects: neutron
 Importance: Undecided
 Status: New

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

Title:
  TypeError at /project/network_topology/

Status in neutron:
  New

Bug description:
  I installed latest Devstack, but got below error when tried to open
  network topology on Dashboard. Anyone met this issue? or is this a
  devstack build bug?

  TypeError at /project/network_topology/
  Client() got multiple values for keyword argument 'api_version'
  Request Method:   GET
  Request URL:  http://10.109.194.114/dashboard/project/network_topology/
  Django Version:   1.8.7
  Exception Type:   TypeError
  Exception Value:  
  Client() got multiple values for keyword argument 'api_version'
  Exception Location:   /opt/stack/manila-ui/manila_ui/api/manila.py in 
manilaclient, line 65
  Python Executable:/usr/bin/python
  Python Version:   2.7.6
  Python Path:  
  ['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
   '/opt/stack/keystone',
   '/opt/stack/swift',
   '/opt/stack/glance',
   '/opt/stack/cinder',
   '/opt/stack/neutron',
   '/opt/stack/nova',
   '/opt/stack/heat',
   '/opt/stack/barbican',
   '/opt/stack/python-barbicanclient',
   '/opt/stack/sahara',
   '/opt/stack/manila',
   '/opt/stack/python-manilaclient',
   '/opt/stack/manila-ui',
   '/home/dev/devstack/src/horizon',
   '/opt/stack/tempest',
   '/usr/lib/python2.7',
   '/usr/lib/python2.7/plat-x86_64-linux-gnu',
   '/usr/lib/python2.7/lib-tk',
   '/usr/lib/python2.7/lib-old',
   '/usr/lib/python2.7/lib-dynload',
   '/usr/local/lib/python2.7/dist-packages',
   '/usr/lib/python2.7/dist-packages',
   '/opt/stack/horizon/openstack_dashboard']
  Server time:  Fri, 27 Nov 2015 13:48:04 +

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1520581/+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