Public bug reported:

I "accidentally" upgraded from Mitaka to Newton a few days ago and I'm
still cleaning up "the mess" that introduced (to used to Debian
GNU/Linux packages takes care of all that for me).

Anyway, I'm now getting

    ValueError: Field `instance_uuid' cannot be None

in the nova-api log.

I've been looking at
http://docs.openstack.org/releasenotes/nova/newton.html#upgrade-notes
but I'm not sure what to do.

I've run

    nova-manage db online_data_migrations
    => ERROR nova.db.sqlalchemy.api [req-c08dbccb-d841-4e38-a895-26768f24222b - 
- - - -] Data migrations for PciDevice are not safe, likely because not all 
services that access the DB directly are updated to the latest version

    nova-manage db sync
    => ERROR: could not access cell mapping database - has api db been created?

    nova-manage api_db sync
    => Seems to run ok

    nova-manage cell_v2 discover_hosts
    => error: 'module' object has no attribute 'session'

    nova-manage cell_v2 map_cell0
    => Seemed like it ran ok

    nova-manage cell_v2 simple_cell_setup --transport-url rabbit://blabla/
    => Seemed like it ran ok

    nova-manage db null_instance_uuid_scan
    => There were no records found where instance_uuid was NULL.

Other than that, I'm not sure what the problem is.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: upgrades

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

Title:
  ValueError: Field `instance_uuid' cannot be None

Status in OpenStack Compute (nova):
  New

Bug description:
  I "accidentally" upgraded from Mitaka to Newton a few days ago and I'm
  still cleaning up "the mess" that introduced (to used to Debian
  GNU/Linux packages takes care of all that for me).

  Anyway, I'm now getting

      ValueError: Field `instance_uuid' cannot be None

  in the nova-api log.

  I've been looking at
  http://docs.openstack.org/releasenotes/nova/newton.html#upgrade-notes
  but I'm not sure what to do.

  I've run

      nova-manage db online_data_migrations
      => ERROR nova.db.sqlalchemy.api [req-c08dbccb-d841-4e38-a895-26768f24222b 
- - - - -] Data migrations for PciDevice are not safe, likely because not all 
services that access the DB directly are updated to the latest version

      nova-manage db sync
      => ERROR: could not access cell mapping database - has api db been 
created?

      nova-manage api_db sync
      => Seems to run ok

      nova-manage cell_v2 discover_hosts
      => error: 'module' object has no attribute 'session'

      nova-manage cell_v2 map_cell0
      => Seemed like it ran ok

      nova-manage cell_v2 simple_cell_setup --transport-url rabbit://blabla/
      => Seemed like it ran ok

      nova-manage db null_instance_uuid_scan
      => There were no records found where instance_uuid was NULL.

  Other than that, I'm not sure what the problem is.

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