← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1767770] Re: Failed to launch instance - queens

 

[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]

** Changed in: nova
       Status: Incomplete => Expired

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

Title:
  Failed to launch instance  - queens

Status in OpenStack Compute (nova):
  Expired
Status in python-novaclient:
  Expired

Bug description:
  * Overcloud configuration

  	~~~
  	~~~
  	undercloud_memory: 10240
  	control_memory: 10000
  	compute_memory: 4048
  	~~~
  	~~~


  	[stack@undercloud ~]$ source stackrc 
  	(undercloud) [stack@undercloud ~]$ 

  
  	(undercloud) [stack@undercloud ~]$ nova list 
  	+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
  	| ID                                   | Name                    | Status | Task State | Power State | Networks               |
  	+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
  	| dc01a343-3c0a-4758-931b-739fdddbc090 | overcloud-controller-0  | ACTIVE | -          | Running     | ctlplane=192.168.24.8  |
  	| 7ec065d9-28d9-43ba-9f63-38cc43a661dc | overcloud-novacompute-0 | ACTIVE | -          | Running     | ctlplane=192.168.24.13 |
  	+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
  	(undercloud) [stack@undercloud ~]$ 

  
  	(undercloud) [stack@undercloud ~]$ source overcloudrc 
  	(overcloud) [stack@undercloud ~]$ 

  	~~~
  	(overcloud) [stack@undercloud ~]$ nova hypervisor-stats
  	+----------------------+-------+
  	| Property             | Value |
  	+----------------------+-------+
  	| count                | 1     |
  	| current_workload     | 0     |
  	| disk_available_least | 43    |
  	| free_disk_gb         | 49    |
  	| free_ram_mb          | -49   |
  	| local_gb             | 49    |
  	| local_gb_used        | 0     |
  	| memory_mb            | 4047  |
  	| memory_mb_used       | 4096  |
  	| running_vms          | 0     |
  	| vcpus                | 2     |
  	| vcpus_used           | 0     |
  	+----------------------+-------+
  	(overcloud) [stack@undercloud ~]$ 
  	~~~

  * ^^ Failed to launch instance

  * Even though I have enough resources on compute node.

  
  ### NEW TEST ###

  
  * Same hardware (server)

  * Tune overcloud config

  	~~~
  	undercloud_memory: 10240
  	control_memory: 10000
  	compute_memory: 10000
  	~~~

  
  	(undercloud) [stack@undercloud ~]$ source overcloudrc 
  	(overcloud) [stack@undercloud ~]$ 
  	(overcloud) [stack@undercloud ~]$ 
  	(overcloud) [stack@undercloud ~]$ 
  	(overcloud) [stack@undercloud ~]$ nova hypervisor-stats
  	+----------------------+-------+
  	| Property             | Value |
  	+----------------------+-------+
  	| count                | 1     |
  	| current_workload     | 0     |
  	| disk_available_least | 43    |
  	| free_disk_gb         | 49    |
  	| free_ram_mb          | 5903  |
  	| local_gb             | 49    |
  	| local_gb_used        | 0     |
  	| memory_mb            | 9999  |
  	| memory_mb_used       | 4096  |
  	| running_vms          | 0     |
  	| vcpus                | 2     |
  	| vcpus_used           | 0     |
  	+----------------------+-------+
  	(overcloud) [stack@undercloud ~]$ 


  
  	(overcloud) [stack@undercloud ~]$ nova list
  	+--------------------------------------+----------------------------+--------+------------+-------------+-------------------------------------+
  	| ID                                   | Name                       | Status | Task State | Power State | Networks                            |
  	+--------------------------------------+----------------------------+--------+------------+-------------+-------------------------------------+
  	| ec1a0101-ed91-4eb7-9e89-5452ed9d2f3b | cirros_2018-04-26_06-23-49 | ACTIVE | -          | Running     | private=10.10.10.8, 192.168.124.153 |
  	+--------------------------------------+----------------------------+--------+------------+-------------+-------------------------------------+
  	(overcloud) [stack@undercloud ~]$ 

  
  * Change compute memory able to launch instance.

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