Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

          total                        utilisé      libre           partagé    tamp/cache   disponible

Mem: 7.8G 4.6G 553M 54M 2.6G 2.8G

Partition d'échange: 975M 9.1M 966M

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

  total                        utilisé      libre           partagé    tamp/cache   disponible
disponible Mem:   7.8G                       4.6G           553M         54M           2.6G                2.8G Partition d'échange:        975M        9.1M        966M

Mem: 7.8G 4.6G 553M 54M 2.6G 2.8G

Partition d'échange: 975M 9.1M 966M

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

           total                        utilisé      libre           partagé    tamp/cache   disponible Mem:   7.8G                       4.6G           553M         54M           2.6G                2.8G Partition d'échange:        975M        9.1M        966M

root@controller:~# openstack host show compute1 +----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute1 | (total) | 6 | 7949 | 456 |

| compute1 | (used_now) | 0 | 512 | 3 |

| compute1 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show compute2

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute2 | (total) | 6 | 7949 | 456 |

| compute2 | (used_now) | 0 | 514 | 3 |

| compute2 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show controller

many found

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

           total                        utilisé      libre           partagé    tamp/cache   disponible Mem:   7.8G                       4.6G           553M         54M           2.6G                2.8G Partition d'échange:        975M        9.1M        966M

root@controller:~# openstack host show compute1 compute1

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute1 | (total) | 6 | 7949 | 456 |

| compute1 | (used_now) | 0 | 512 | 3 |

| compute1 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show compute2

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute2 | (total) | 6 | 7949 | 456 |

| compute2 | (used_now) | 0 | 514 | 3 |

| compute2 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show controller

many found

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

           total                        utilisé      libre           partagé    tamp/cache   disponible Mem:   7.8G                       4.6G           553M         54M           2.6G                2.8G Partition d'échange:        975M        9.1M        966M

root@controller:~# openstack host show compute1

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute1 | (total) | 6 | 7949 | 456 |

| compute1 | (used_now) | 0 | 512 | 3 |

| compute1 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show compute2

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute2 | (total) | 6 | 7949 | 456 |

| compute2 | (used_now) | 0 | 514 | 3 |

| compute2 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show controller

many found

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

           total                        utilisé      libre           partagé    tamp/cache   disponible Mem:   7.8G                       4.6G           553M         54M           2.6G                2.8G Partition d'échange:        975M        9.1M        966M

root@controller:~# openstack host show compute1

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute1 | (total) | 6 | 7949 | 456 |

| compute1 | (used_now) | 0 | 512 | 3 |

| compute1 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show compute2

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute2 | (total) | 6 | 7949 | 456 |

| compute2 | (used_now) | 0 | 514 | 3 |

| compute2 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show controller

many found

root@controller:~# openstack usage list

Usage from 2018-12-28 to 2019-01-26:

+-----------+---------+--------------+-----------+---------------+

| Project | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours |

+-----------+---------+--------------+-----------+---------------+

| myproject | 46 | 5084334.44 | 2486.24 | 49653.12 |

| admin | 14 | 100582.4 | 49.11 | 982.25 |

+-----------+---------+--------------+-----------+---------------+

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

           total                        utilisé      libre           partagé    tamp/cache   disponible Mem:   7.8G                       4.6G           553M         54M           2.6G                2.8G Partition d'échange:        975M        9.1M        966M

root@controller:~# openstack host show compute1

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute1 | (total) | 6 | 7949 | 456 |

| compute1 | (used_now) | 0 | 512 | 3 |

| compute1 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show compute2

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute2 | (total) | 6 | 7949 | 456 |

| compute2 | (used_now) | 0 | 514 | 3 |

| compute2 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show controller

many found

root@controller:~# openstack usage list

Usage from 2018-12-28 to 2019-01-26:

+-----------+---------+--------------+-----------+---------------+

| Project | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours |

+-----------+---------+--------------+-----------+---------------+

| myproject | 46 | 5084334.44 | 2486.24 | 49653.12 |

| admin | 14 | 100582.4 | 49.11 | 982.25 |

+-----------+---------+--------------+-----------+---------------+

virt-host-validate

QEMU: Checking for device assignment IOMMU support : WARN (No ACPI IVRS table found, IOMMU either disabled in BIOS or not supported by this hardware platform)

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

           total                        utilisé      libre           partagé    tamp/cache   disponible Mem:   7.8G                       4.6G           553M         54M           2.6G                2.8G Partition d'échange:        975M        9.1M        966M

root@compute1:~# free -mh

          total       utilisé      libre     partagé tamp/cache   disponible

Mem: 7.8G 444M 6.7G 1.0M 610M 7.1G Partition d'échange: 975M 0B 975M

root@compute2:~# free -mh

          total       utilisé      libre     partagé tamp/cache   disponible

Mem: 7.8G 446M 6.7G 1.0M 631M 7.1G Partition d'échange: 975M 0B 975M

root@controller:~# openstack host show compute1

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute1 | (total) | 6 | 7949 | 456 |

| compute1 | (used_now) | 0 | 512 | 3 |

| compute1 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show compute2

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute2 | (total) | 6 | 7949 | 456 |

| compute2 | (used_now) | 0 | 514 | 3 |

| compute2 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show controller

many found

root@controller:~# openstack usage list

Usage from 2018-12-28 to 2019-01-26:

+-----------+---------+--------------+-----------+---------------+

| Project | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours |

+-----------+---------+--------------+-----------+---------------+

| myproject | 46 | 5084334.44 | 2486.24 | 49653.12 |

| admin | 14 | 100582.4 | 49.11 | 982.25 |

+-----------+---------+--------------+-----------+---------------+

virt-host-validate

QEMU: Checking for device assignment IOMMU support : WARN (No ACPI IVRS table found, IOMMU either disabled in BIOS or not supported by this hardware platform)

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

           total                        utilisé      libre           partagé    tamp/cache   disponible Mem:   7.8G                       4.6G           553M         54M           2.6G                2.8G Partition d'échange:        975M        9.1M        966M




#root@compute1:~# free -mh
          total       utilisé      libre     partagé tamp/cache   disponible Mem:           7.8G        444M        6.7G        1.0M       610M        7.1G Partition d'échange:        975M          0B        975M



#root@compute2:~# free -mh
          total       utilisé      libre     partagé tamp/cache   disponible Mem:           7.8G        446M        6.7G        1.0M        631M        7.1G Partition d'échange:        975M          0B        975M

root@compute1:~# free -mh

          total       utilisé      libre     partagé tamp/cache   disponible

Mem: 7.8G 444M 6.7G 1.0M 610M 7.1G Partition d'échange: 975M 0B 975M

root@compute2:~# free -mh

          total       utilisé      libre     partagé tamp/cache   disponible

Mem: 7.8G 446M 6.7G 1.0M 631M 7.1G Partition d'échange: 975M 0B 975M

root@controller:~# openstack host show compute1

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute1 | (total) | 6 | 7949 | 456 |

| compute1 | (used_now) | 0 | 512 | 3 |

| compute1 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show compute2

+----------+------------+-----+-----------+---------+

+----------+------------+-----+-----------+---------+ | Host | Project |Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| +----------+------------+-----+-----------+---------+ | compute2 | (total) | 6 | 7949 | 456 |

| | compute2 | (used_now) | 0 | 514 | 3 |

| | compute2 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+|+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show controller

many found

root@controller:~# openstack usage list

Usage from 2018-12-28 to 2019-01-26:

+-----------+---------+--------------+-----------+---------------+

| Project | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours |

+-----------+---------+--------------+-----------+---------------+

| myproject | 46 | 5084334.44 | 2486.24 | 49653.12 |

| admin | 14 | 100582.4 | 49.11 | 982.25 |

+-----------+---------+--------------+-----------+---------------+

virt-host-validate

QEMU: Checking for device assignment IOMMU support : WARN (No ACPI IVRS table found, IOMMU either disabled in BIOS or not supported by this hardware platform)

How can i solve the problem and get more free ram?

ps: all created instances are deleted

No more free ram in my controller node

After a month of openstack installation and creation and deletion of instances. Now i couldn't create any more, and i got this error "{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-01-22T15:14:31Z'} "

Ps: i have one controller node and two compute nodes.

By executing the below command on my controller node i got "free_ram_mb" is equal to -1510

root@controller:~# nova hypervisor-stats

+----------------------+-------+

| Property | Value |

+----------------------+-------+

| count | 2 |

| current_workload | 0 |

| disk_available_least | 860 |

| free_disk_gb | 752 |

| free_ram_mb | -1510 |

| local_gb | 912 |

| local_gb_used | 6 |

| memory_mb | 15898 |

| memory_mb_used | 1026 |

| running_vms | 7 |

| vcpus | 12 |

| vcpus_used | 0 |

+----------------------+-------+

root@controller:~# free -mh

           total                        utilisé      libre           partagé    tamp/cache   disponible Mem:   7.8G                       4.6G           553M         54M           2.6G                2.8G Partition d'échange:        975M        9.1M        966M




#root@compute1:~# free -mh
          total       utilisé      libre     partagé tamp/cache   disponible Mem:           7.8G        444M        6.7G        1.0M       610M        7.1G Partition d'échange:        975M          0B        975M



#root@compute2:~# free -mh
          total       utilisé      libre     partagé tamp/cache   disponible Mem:           7.8G        446M        6.7G        1.0M        631M        7.1G Partition d'échange:        975M          0B        975M

root@controller:~# openstack host show compute1

+----------+------------+-----+-----------+---------+

| Host | Project | CPU | Memory MB | Disk GB |

+----------+------------+-----+-----------+---------+

| compute1 | (total) | 6 | 7949 | 456 |

| compute1 | (used_now) | 0 | 512 | 3 |

| compute1 | (used_max) | 0 | 0 | 0 |

+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show compute2

+----------+------------+-----+-----------+---------+ | Host |Project | CPU | Memory MB | Disk GB | +----------+------------+-----+-----------+---------+ | compute2 | (total) | 6 | 7949 | 456 | | compute2 | (used_now) | 0 | 514 | 3 | | compute2 | (used_max) | 0 | 0 | 0 |+----------+------------+-----+-----------+---------+

root@controller:~# openstack host show controller

many found

root@controller:~# openstack usage list

Usage from 2018-12-28 to 2019-01-26:

+-----------+---------+--------------+-----------+---------------+

| Project | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours |

+-----------+---------+--------------+-----------+---------------+

| myproject | 46 | 5084334.44 | 2486.24 | 49653.12 |

| admin | 14 | 100582.4 | 49.11 | 982.25 |

+-----------+---------+--------------+-----------+---------------+

virt-host-validate

QEMU: Checking for device assignment IOMMU support : WARN (No ACPI IVRS table found, IOMMU either disabled in BIOS or not supported by this hardware platform)

How can i solve the problem and get more free ram?

ps: all created instances are deleted