Failed to launch instance - queens
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned | ||
python-novaclient |
Expired
|
Undecided
|
Unassigned |
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-
| 7ec065d9-
+-----
(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_
| 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_
| 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-
+-----
(overcloud) [stack@undercloud ~]$
* Change compute memory able to launch instance.
> * ^^ Failed to launch instance
Needs more information (CLI arguments, nova log files, nova and novaclient version, etc).
IMO, there is a possibility that it is not an issue in python-novaclient but an issue in nova.
So report the issue in nova.