Ask Your Question
0

Using PackStack on machine with root partition only 50GB

asked 2017-04-21 13:26:17 -0500

tiger gravatar image

Tried to instantiate an m1.medium and it circles the drain with the "NoValidHost: No valid host was found. There are not enough hosts available" error. I run "nova hypervisor-show 1" which hints at insufficient disk space (40GB needed, 29GB free). My /home partition has 400+ GB free. How can I tell OpenStack to use that space in addition to the root partition?

Thanks in advance!

[root@kvm7 ccn(keystone_admin)]# nova hypervisor-show 1 /usr/lib/python2.7/site-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored. warnings.warn(msg) +---------------------------+------------------------------------------+ | Property | Value | +---------------------------+------------------------------------------+ | cpu_info_arch | x86_64 | | cpu_info_features | ["pge", "clflush", "sep", "syscall", | | | "vme", "dtes64", "tsc", "vmx", "xtpr", | | | "cmov", "ssse3", "est", "pat", | | | "monitor", "smx", "pcid", "lm", "msr", | | | "fpu", "fxsr", "tm", "sse4.1", "pae", | | | "sse4.2", "pclmuldq", "acpi", "mmx", | | | "arat", "cx8", "mce", "de", "tm2", "ht", | | | "dca", "pni", "pdcm", "mca", "pdpe1gb", | | | "apic", "sse", "pse", "ds", "invtsc", | | | "lahf_lm", "rdtscp", "nx", "aes", | | | "sse2", "ss", "ds_cpl", "pbe", "cx16", | | | "pse36", "mtrr", "popcnt"] | | cpu_info_model | Westmere | | cpu_info_topology_cells | 2 | | cpu_info_topology_cores | 6 | | cpu_info_topology_sockets | 1 | | cpu_info_topology_threads | 2 | | cpu_info_vendor | Intel | | current_workload | 0 | | disk_available_least | 5 | | free_disk_gb | 29 | | free_ram_mb | 95731 | | host_ip | 192.168.140.217 | | hypervisor_hostname | http://kvm7.mia.ccncore.net | | hypervisor_type | QEMU | | hypervisor_version | 2006000 | | id | 1 | | local_gb | 49 | | local_gb_used | 24 | | memory_mb | 98291 | | memory_mb_used | 30415 | | running_vms | 1 | | service_disabled_reason | None | | service_host | http://kvm7.mia.ccncore.net | | service_id | 16 | | state | up | | status | enabled | | vcpus | 24 | | vcpus_used | 1 | +---------------------------+------------------------------------------+

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-04-21 14:28:13 -0500

tiger gravatar image

updated 2017-04-21 14:29:47 -0500

Here's what I just tried that seems to work:

  1. Edit /etc/nova/nova.conf
  2. Find 'state_path' set it to /home/nova
  3. Find 'lock_path' set it to /home/nova/tmp
  4. Move the buckets/ CA/ instances/ keys/ networks/ and tmp/ directories from /var/lib/nova to /home/nova
  5. service openstack-nova-api restart
  6. service openstack-nova-compute restart

Now do a nova hypervisor-show 1 (output edited for brevity)

| local_gb | 503 | | local_gb_used | 90 |

Hope this helps someone else!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-04-21 13:26:17 -0500

Seen: 43 times

Last updated: Apr 21