HTTPS: nova.exception.CinderConnectionFailed' when boot VM from volume ERROR (ClientException): Unexpected API Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Invalid
|
Medium
|
chen haochuan |
Bug Description
Brief Description
-----------------.
Below VM launch command failed with exception with unexpected API Error.
nova --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-08-25 00:34:46,689] 423 DEBUG MainThread ssh.expect :: Output:
+------
| application | version | manifest name | manifest file | status | progress |
+------
| platform-integ-apps | 1.0-7 | platform-
| stx-openstack | 1.0-17-
+------
nd 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-08-25 00:34:50,226] 423 DEBUG MainThread ssh.expect :: Output:
+----+-
| ID | Hypervisor Hostname | Hypervisor Type | Host IP | State |
+----+-
| 4 | compute-0 | QEMU | 192.168.206.149 | up |
| 7 | compute-1 | QEMU | 192.168.206.188 | up |
+----+-
'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-08-25 00:34:52,254] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Field | Value |
+------
| backup-gigabytes | 1000 |
| backups | 10 |
| cores | 9 |
| fixed-ips | -1 |
| floating-ips | 3 |
| gigabytes | 1000 |
| gigabytes_
| groups | 10 |
| health_monitors | None |
| injected-file-size | 10240 |
| injected-files | 5 |
| injected-path-size | 255 |
| instances | 3 |
| key-pairs | 100 |
| l7_policies | None |
| listeners | None |
| load_balancers | None |
| location | Munch({'project': Munch({
| name | None |
| networks | 5 |
| per-volume-
| pools | None |
| ports | 51 |
| project | 8eb5c4c9e2f5491
| project_name | tenant1 |
| properties | 128 |
| ram | 51200 |
| rbac_policies | 10 |
| routers | 10 |
| secgroup-rules | 100 |
| secgroups | 10 |
| server-
| server-groups | 10 |
| snapshots | 6 |
| snapshots_
| subnet_pools | -1 |
| subnets | 15 |
| volumes | 6 |
| volumes_ceph-store | -1 |
+------
Cinder volume is created and available
'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-08-25 00:37:38,148] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | true |
| consistencygroup_id | None |
| created_at | 2019-08-
| description | None |
| encrypted | False |
| id | 6a47ae76-
| multiattach | False |
| name | vol-tenant1-
| os-vol-
| properties | |
| replication_status | None |
| size | 2 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| type | ceph-store |
| updated_at | 2019-08-
| user_id | a8d7887854194f9
| volume_
+------
[2019-08-25 00:37:38,252] 301 DEBUG MainThread ssh.send :: Send 'nova --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-08-25 00:37:39,985] 423 DEBUG MainThread ssh.expect :: Output:
ERROR (ClientException): Unexpected API Error. Please report this at http://
<class 'nova.exception
[sysadmin@
[2019-08-25 00:37:39,985] 301 DEBUG MainThread ssh.send :: Send 'echo $?'
[2019-08-25 00:37:40,088] 423 DEBUG MainThread ssh.expect :: Output:
1
Severity
--------
Major
Steps to Reproduce
------------------
1. Check system health make sure healthy
2. Create flavor
'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-08-25 00:37:20,310] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Field | Value |
+------
| OS-FLV-
| OS-FLV-
| disk | 2 |
| id | 24f9af18-
| name | virtio |
| os-flavor-
| properties | |
| ram | 1024 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 2 |
+------
3. Create Network virtio-1
openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-08-25 00:37:28,321] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Field | Value |
+------
| admin_state_up | UP |
| allowed_
| binding_host_id | None |
| binding_profile | None |
| binding_vif_details | None |
| binding_vif_type | None |
| binding_vnic_type | normal |
| created_at | 2019-08-
| data_plane_status | None |
| description | |
| device_id | |
| device_owner | |
| dns_assignment | None |
| dns_domain | None |
| dns_name | None |
| extra_dhcp_opts | |
| fixed_ips | ip_address=
| id | e2c0bea7-
| location | Munch({'project': Munch({
| mac_address | fa:16:3e:71:cb:55 |
| name | port_virtio-1 |
| network_id | 064a2ec7-
| port_security_
| project_id | 8eb5c4c9e2f5491
| propagate_
| qos_policy_id | None |
| resource_request | None |
| revision_number | 1 |
| security_group_ids | e4d18b60-
| status | DOWN |
| tags | |
| trunk_details | None |
| updated_at | 2019-08-
+------
4. Create Cinder volume
'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-08-25 00:37:36,429] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2019-08-
| description | None |
| encrypted | False |
| id | 6a47ae76-
| multiattach | False |
| name | vol-tenant1-
| properties | |
| replication_status | None |
| size | 2 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| type | ceph-store |
| updated_at | None |
| user_id | a8d7887854194f9
+------
5. Volume created . Vm creation failure with exception as below
'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-08-25 00:37:38,148] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | true |
| consistencygroup_id | None |
| created_at | 2019-08-
| description | None |
| encrypted | False |
| id | 6a47ae76-
| multiattach | False |
| name | vol-tenant1-
| os-vol-
| properties | |
| replication_status | None |
| size | 2 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| type | ceph-store |
| updated_at | 2019-08-
| user_id | a8d7887854194f9
| volume_
+------
[sysadmin@
[2019-08-25 00:37:38,148] 301 DEBUG MainThread ssh.send :: Send 'echo $?'
[2019-08-25 00:37:38,251] 423 DEBUG MainThread ssh.expect :: Output:
0
[sysadmin@
[2019-08-25 00:37:38,252] 406 INFO MainThread cinder_
[2019-08-25 00:37:38,252] 307 INFO MainThread cinder_
[2019-08-25 00:37:38,252] 957 INFO MainThread vm_helper.boot_vm :: Booting VM tenant1-virtio-0-1 with args: --boot-
[2019-08-25 00:37:38,252] 1534 DEBUG MainThread ssh.get_
[2019-08-25 00:37:38,252] 466 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2019-08-25 00:37:38,252] 301 DEBUG MainThread ssh.send :: Send 'nova --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-08-25 00:37:39,985] 423 DEBUG MainThread ssh.expect :: Output:
ERROR (ClientException): Unexpected API Error. Please report this at http://
<class 'nova.exception
[sysadmin@
[2019-08-25 00:37:39,985] 301 DEBUG MainThread ssh.send :: Send 'echo $?'
[2019-08-25 00:37:40,088] 423 DEBUG MainThread ssh.expect :: Output:
1
[sysadmin@
[2019-08-25 00:37:40,089] 128 DEBUG MainThread table_parser.
3.
Expected Behavior
------------------
No exception launch of VM
Actual Behavior
----------------
As per description exception
Reproducibility
---------------
Not sure tested once seen
System Configuration
-------
2+2 system
Branch/Pull Time/Commit
-------
BUILD_DATE= 2019-08-23_20-59-00
Last Pass
---------
2019-08-09_20-59-00 on storage system
Timestamp/Logs
--------------
[2019-08-25 00:37:38,252]
Test Activity
-------------
Regression test
description: | updated |
tags: | added: stx.retestneeded |
summary: |
- nova.exception.CinderConnectionFailed' when boot VM from volume ERROR - (ClientException): Unexpected API Error + HTTPS: nova.exception.CinderConnectionFailed' when boot VM from volume + ERROR (ClientException): Unexpected API Error |
Changed in starlingx: | |
assignee: | yong hu (yhu6) → chen haochuan (martin1982) |
Changed in starlingx: | |
status: | Triaged → Confirmed |
As this issue is intermittent and not easily reproducible (passed in other regressions), making stx.3.0 gating and medium priority.
Assigning to distro.openstack PL to assign a prime for this bug.