← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1757956] [NEW] Error Handling is not proper as wrong error message during migration and stoping of nova instance at same time

 

Public bug reported:

Release: Stable Newton
Ubuntu 16.04
Environment for NFV

Note: Instance is part of VNF, created from tacker

controller:~/toscatmplts$ nova list --all
+--------------------------------------+-------------------------------------------------------+----------------------------------+--------+------------+-------------+---------------------+
| ID                                   | Name                                                  | Tenant ID                        | Status | Task State | Power State | Networks            |
+--------------------------------------+-------------------------------------------------------+----------------------------------+--------+------------+-------------+---------------------+
| 9fc24e9a-5a14-48d6-8dd6-5868f85aa5ed | ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx | 3f63cd58b8394fe5a08b4d2bd2e97a71 | ACTIVE | -          | Running     | mgmt=192.168.104.21 |
+--------------------------------------+-------------------------------------------------------+----------------------------------+--------+------------+-------------+---------------------+
controller:~/toscatmplts$ nova migrate 9fc24e9a-5a14-48d6-8dd6-5868f85aa5ed & nova stop 9fc24e9a-5a14-48d6-8dd6-5868f85aa5ed
[1] 23860

Request to stop server 9fc24e9a-5a14-48d6-8dd6-5868f85aa5ed has been accepted.
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.UnexpectedTaskStateError'> (HTTP 500) (Request-ID: req-de9fd9aa-33f1-488e-9b90-f6d0bdace088)

There should be proper error message

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

Title:
  Error Handling is not proper as wrong error message during migration
  and stoping of nova instance at same time

Status in OpenStack Compute (nova):
  New

Bug description:
  Release: Stable Newton
  Ubuntu 16.04
  Environment for NFV

  Note: Instance is part of VNF, created from tacker

  controller:~/toscatmplts$ nova list --all
  +--------------------------------------+-------------------------------------------------------+----------------------------------+--------+------------+-------------+---------------------+
  | ID                                   | Name                                                  | Tenant ID                        | Status | Task State | Power State | Networks            |
  +--------------------------------------+-------------------------------------------------------+----------------------------------+--------+------------+-------------+---------------------+
  | 9fc24e9a-5a14-48d6-8dd6-5868f85aa5ed | ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx | 3f63cd58b8394fe5a08b4d2bd2e97a71 | ACTIVE | -          | Running     | mgmt=192.168.104.21 |
  +--------------------------------------+-------------------------------------------------------+----------------------------------+--------+------------+-------------+---------------------+
  controller:~/toscatmplts$ nova migrate 9fc24e9a-5a14-48d6-8dd6-5868f85aa5ed & nova stop 9fc24e9a-5a14-48d6-8dd6-5868f85aa5ed
  [1] 23860

  Request to stop server 9fc24e9a-5a14-48d6-8dd6-5868f85aa5ed has been accepted.
  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.UnexpectedTaskStateError'> (HTTP 500) (Request-ID: req-de9fd9aa-33f1-488e-9b90-f6d0bdace088)

  There should be proper error message

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


Follow ups