Reviewed:  https://review.openstack.org/433470
Committed: 
https://git.openstack.org/cgit/openstack/nova/commit/?id=4ac27e815c48d1ff89218bd62fef49ab238f2764
Submitter: Jenkins
Branch:    master

commit 4ac27e815c48d1ff89218bd62fef49ab238f2764
Author: jichenjc <jiche...@cn.ibm.com>
Date:   Mon Jan 23 23:11:39 2017 +0800

    Check instance existing before check in mapping
    
    The instance might be not exist during checking so
    we provide a incorrect info to admin, this patch check
    instance exist before check in mapping.
    
    Closes-Bug: 1664465
    
    Change-Id: I21a7d1effaadcbda4cfbd0a0465b984ebb484f24


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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/1664465

Title:
  check instance exist before check in cell

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  we should check whether instance exist before saying (upgrade is incomplete)
  as the instance itself doesn't exist (I removed 'e' on purpose)

  stack@ubuntu1604:/opt/stack/nova$ nova-manage cell_v2 verify_instance --uuid  
0e7a7e72-3d75-46af-86a9-3ccf7b97699e
  /usr/local/lib/python2.7/dist-packages/pymysql/cursors.py:166: Warning: 
(3090, u"Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be 
removed in a future release.")
    result = self._query(query)
  Instance 0e7a7e72-3d75-46af-86a9-3ccf7b97699e is in cell: None 
(85980b20-6ca3-451f-a873-af4a5ba3809f)

  
  stack@ubuntu1604:/opt/stack/nova$ nova-manage cell_v2 verify_instance --uuid  
0e7a7e72-3d75-46af-86a9-3ccf7b97699
  /usr/local/lib/python2.7/dist-packages/pymysql/cursors.py:166: Warning: 
(3090, u"Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be 
removed in a future release.")
    result = self._query(query)
  Instance 0e7a7e72-3d75-46af-86a9-3ccf7b97699 is not mapped to a cell (upgrade 
is incomplete)
  stack@ubuntu1604:/opt/stack/nova$

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

Reply via email to