← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1786451] [NEW] Nova Instance creation is failing with request_spec.instance_group appears to be None

 

Public bug reported:

I'm trying to create a magnum cluster on Devstack(both Queens and
master). Cluster creation is failing.

Nova Instance is going to error state with the below error:

{"message": "'NoneType' object has no attribute 'hosts'", "code": 500, "details": "  File           
\"/opt/stack/nova/nova/conductor/manager.py\", line 585, in build_instances                         
     instance_uuids,                                                                                 
 return_alternates=True)                                                                             
   File \"/opt/stack/nova/nova/conductor/manager.py\", line 720, in                                  
 _schedule_instances                                                                                 
     scheduler_utils.setup_instance_group(context, request_spec)                                     
   File                                                                                              
 \"/opt/stack/nova/nova/scheduler/utils.py\", line 836, in setup_instance_group                      
                                                                                                     
 request_spec.instance_group.hosts = list(group_info.hosts)                                          
 ", "created": "2018-08-10T08:32:01Z"}    

Getting this error http://paste.openstack.org/show/727798/ in nova-cell-
region and http://paste.openstack.org/show/727799/  in nova-cell-child

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

Title:
  Nova Instance creation is failing with  request_spec.instance_group
  appears to be None

Status in OpenStack Compute (nova):
  New

Bug description:
  I'm trying to create a magnum cluster on Devstack(both Queens and
  master). Cluster creation is failing.

  Nova Instance is going to error state with the below error:

  {"message": "'NoneType' object has no attribute 'hosts'", "code": 500, "details": "  File           
  \"/opt/stack/nova/nova/conductor/manager.py\", line 585, in build_instances                         
       instance_uuids,                                                                                 
   return_alternates=True)                                                                             
     File \"/opt/stack/nova/nova/conductor/manager.py\", line 720, in                                  
   _schedule_instances                                                                                 
       scheduler_utils.setup_instance_group(context, request_spec)                                     
     File                                                                                              
   \"/opt/stack/nova/nova/scheduler/utils.py\", line 836, in setup_instance_group                      
                                                                                                       
   request_spec.instance_group.hosts = list(group_info.hosts)                                          
   ", "created": "2018-08-10T08:32:01Z"}    

  Getting this error http://paste.openstack.org/show/727798/ in nova-
  cell-region and http://paste.openstack.org/show/727799/  in nova-cell-
  child

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


Follow ups