← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1664465] [NEW] check instance exist before check in cell

 

Public bug reported:

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$

** Affects: nova
     Importance: Undecided
     Assignee: jichenjc (jichenjc)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => jichenjc (jichenjc)

-- 
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):
  New

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


Follow ups