← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1290468] Re: AttributeError: 'NoneType' object has no attribute '_sa_instance_state'

 

here is the traceback.

http://paste.openstack.org/show/81339/

Steps to reproduce:

1) deploy openstack with nova-network and some kind of shared storage on compute nodes (in our case it is Ceph)
2) launch a VM
3) associate a floating IP to this instance
4) try to do nova live-migration

Expected result:

instance migrates to the other node and transits to ACTIVE state

Actual result:

instance hangs forever in MIGRATING state


BUT: instance is already on the other node, so it looks like some floating IP migration finalization issue as it migrates seemlessly without floating IP.



** Also affects: fuel
   Importance: Undecided
       Status: New

** Changed in: fuel
   Importance: Undecided => Critical

** Also affects: fuel/5.0.x
   Importance: Critical
       Status: New

** Changed in: fuel/5.0.x
    Milestone: None => 5.0

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

Title:
  AttributeError: 'NoneType' object has no attribute
  '_sa_instance_state'

Status in Cinder:
  New
Status in Fuel: OpenStack installer that works:
  New
Status in Fuel for OpenStack 5.0.x series:
  New
Status in OpenStack Compute (Nova):
  New
Status in Oslo - a Library of Common OpenStack Code:
  Fix Released

Bug description:
  Dan Smith was seeing this in some nova testing:

  http://paste.openstack.org/show/73043/

  Looking at logstash, this is showing up a lot since 3/7 which is when
  lazy translation was enabled in Cinder:

  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiQXR0cmlidXRlRXJyb3I6IFxcJ05vbmVUeXBlXFwnIG9iamVjdCBoYXMgbm8gYXR0cmlidXRlIFxcJ19zYV9pbnN0YW5jZV9zdGF0ZVxcJ1wiIEFORCBmaWxlbmFtZTpsb2dzKnNjcmVlbi1jLWFwaS50eHQiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjEzOTQ0NzI5Nzg4MDV9

  https://review.openstack.org/#/q/status:merged+project:openstack/cinder+branch:master+topic:bug/1280826,n,z

  Logstash shows a 99% success rate when this shows up but it can't stay
  like this, but right now it looks to be more cosmetic than functional.

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