[Starlingx-discuss] Failure launching Cirros Image

Saul Wold sgw at linux.intel.com
Thu Sep 19 14:46:38 UTC 2019


More information, I found that the neutron-ovs-agent-controller-0 was in 
CrashLoopBackOff status.

> kubectl get pods --all-namespaces -o wide | grep -v Running | grep -v Completed
> NAMESPACE     NAME                                                 READY   STATUS             RESTARTS   AGE     IP               NODE           NOMINATED NODE   READINESS GATES
> openstack     neutron-ovs-agent-controller-0-937646f6-hxpdb        0/1     CrashLoopBackOff   231        19h     192.168.204.3    controller-0   <none>           <none>
> [sysadmin at controller-0 ~(keystone_admin)]$ kubectl logs neutron-ovs-agent-controller-0-937646f6-hxpdb -n openstack 
> + exec neutron-openvswitch-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /tmp/pod-shared/ml2-local-ip.ini --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini
> 2019-09-19 14:33:28.328 9214 INFO neutron.common.config [-] Logging enabled!
> 2019-09-19 14:33:28.328 9214 INFO neutron.common.config [-] Logging enabled!
> 2019-09-19 14:33:28.328 9214 INFO neutron.common.config [-] /var/lib/openstack/bin/neutron-openvswitch-agent version 14.0.3.dev46
> 2019-09-19 14:33:28.328 9214 INFO neutron.common.config [-] /var/lib/openstack/bin/neutron-openvswitch-agent version 14.0.3.dev46
> 2019-09-19 14:33:28.946 9214 INFO neutron.agent.agent_extensions_manager [-] Loaded agent extensions: []
> 2019-09-19 14:33:28.946 9214 INFO neutron.agent.agent_extensions_manager [-] Loaded agent extensions: []
> 2019-09-19 14:33:29.875 9214 INFO neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ovs_bridge [-] Bridge br-int has datapath-ID 0000862009f0be4d
> 2019-09-19 14:33:29.875 9214 INFO neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ovs_bridge [-] Bridge br-int has datapath-ID 0000862009f0be4d
> 2019-09-19 14:33:36.881 9214 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [-] Parsing bridge_mappings failed: Value br-phy0 in mapping: 'physnet1:br-phy0' not unique. Agent terminated!
> 2019-09-19 14:33:36.881 9214 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [-] Parsing bridge_mappings failed: Value br-phy0 in mapping: 'physnet1:br-phy0' not unique. Agent terminated!

I setup the networking based on the test/automated-robot-suite for 
baremetal provisioning.

Recommendations for further debugging this?

Thanks
   Sau!


On 9/18/19 3:19 PM, Saul Wold wrote:
> 
> Folks,
> 
> I have been working on setting up a baremetal system on a NUC with dual 
> NICs.  I have been able to provision it and have the stx-openstack 
> application manifest fully loaded.
> 
> I have created a flavor, image and subnet to use for this instance, but 
> when I try to launch it with:
> 
> openstack server create --image cirros --flavor f1.small --nic 
> net-id=3fd14704-8482-4cdd-975d-6e9e0a14e61e vm-cirros-1
> 
> I get an Error and iget the following output from openstack server show.
> 
>> controller-0:~$ openstack server show vm-cirros-1
>> +-------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 
>>
>> | Field                               | 
>> Value                                                                                                                                                                                                                                                                                                                                                                                                      
>> |
>> +-------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 
>>
>> | OS-DCF:diskConfig                   | 
>> MANUAL                                                                                                                                                                                                                                                                                                                                                                                                     
>> |
>> | OS-EXT-AZ:availability_zone         
>> |                                                                                                                                                                                                                                                                                                                                                                                                            
>> |
>> | OS-EXT-SRV-ATTR:host                | 
>> None                                                                                                                                                                                                                                                                                                                                                                                                       
>> |
>> | OS-EXT-SRV-ATTR:hypervisor_hostname | 
>> None                                                                                                                                                                                                                                                                                                                                                                                                       
>> |
>> | OS-EXT-SRV-ATTR:instance_name       | 
>> instance-00000001                                                                                                                                                                                                                                                                                                                                                                                          
>> |
>> | OS-EXT-STS:power_state              | 
>> NOSTATE                                                                                                                                                                                                                                                                                                                                                                                                    
>> |
>> | OS-EXT-STS:task_state               | 
>> None                                                                                                                                                                                                                                                                                                                                                                                                       
>> |
>> | OS-EXT-STS:vm_state                 | 
>> error                                                                                                                                                                                                                                                                                                                                                                                                      
>> |
>> | OS-SRV-USG:launched_at              | 
>> None                                                                                                                                                                                                                                                                                                                                                                                                       
>> |
>> | OS-SRV-USG:terminated_at            | 
>> None                                                                                                                                                                                                                                                                                                                                                                                                       
>> |
>> | accessIPv4                          
>> |                                                                                                                                                                                                                                                                                                                                                                                                            
>> |
>> | accessIPv6                          
>> |                                                                                                                                                                                                                                                                                                                                                                                                            
>> |
>> | addresses                           
>> |                                                                                                                                                                                                                                                                                                                                                                                                            
>> |
>> | config_drive                        
>> |                                                                                                                                                                                                                                                                                                                                                                                                            
>> |
>> | created                             | 
>> 2019-09-18T21:26:48Z                                                                                                                                                                                                                                                                                                                                                                                       
>> |
>> | fault                               | {u'message': u'Exceeded 
>> maximum number of retries. Exhausted all hosts available for retrying 
>> build failures for instance 9525360e-6ac6-4da1-a0dd-8f5d8c82ee75.', 
>> u'code': 500, u'details': u'  File 
>> "/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py", 
>> line 627, in build_instances\n    raise 
>> exception.MaxRetriesExceeded(reason=msg)\n', u'created': 
>> u'2019-09-18T21:27:00Z'} |
>> | flavor                              | f1.small 
>> (15efd6ca-c402-4aba-819a-8ab323d9f482)                                                                                                                                                                                                                                                                                                                                                            
>> |
>> | hostId                              
>> |                                                                                                                                                                                                                                                                                                                                                                                                            
>> |
>> | id                                  | 
>> 9525360e-6ac6-4da1-a0dd-8f5d8c82ee75                                                                                                                                                                                                                                                                                                                                                                       
>> |
>> | image                               | cirros 
>> (88a002f8-ba00-4aa3-9920-66f126fd2efc)                                                                                                                                                                                                                                                                                                                                                              
>> |
>> | key_name                            | 
>> None                                                                                                                                                                                                                                                                                                                                                                                                       
>> |
>> | name                                | 
>> vm-cirros-1                                                                                                                                                                                                                                                                                                                                                                                                
>> |
>> | project_id                          | 
>> 64f69c36cfd44c96802b40a3534d8906                                                                                                                                                                                                                                                                                                                                                                           
>> |
>> | properties                          
>> |                                                                                                                                                                                                                                                                                                                                                                                                            
>> |
>> | status                              | 
>> ERROR                                                                                                                                                                                                                                                                                                                                                                                                      
>> |
>> | updated                             | 
>> 2019-09-18T21:27:00Z                                                                                                                                                                                                                                                                                                                                                                                       
>> |
>> | user_id                             | 
>> 079d6c910606497c9e9329bb81f9afb4                                                                                                                                                                                                                                                                                                                                                                           
>> |
>> | volumes_attached                    
>> |                                                                                                                                                                                                                                                                                                                                                                                                            
>> |
>> +-------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 
>>
> 
> More logs needed?  Where do I look?
> 
> Thoughts?
> 
> Sau!



More information about the Starlingx-discuss mailing list