16 votes

Turn off strict checking of ssh keys

The problem is that ssh presumes a 1-to-1 mapping between IP addresses and hosts. We need to break that mapping only for the IP addresses of your cloud servers. The Solution Add the following stanza ...
hackerb9's user avatar
  • 261
8 votes

How to get list of openstack Instances with Project name

The command to list all instances of a project is: openstack server list --all-projects --project $projectname The parameter --all-projects is needed to list instances that don't belong to the ...
Gerald Schneider's user avatar
6 votes
Accepted

Openstack: What the difference between nova migrate and nova evacuate?

The nova help is a bit confusing, as it frequently uses the word "server" where "instance" is actually meant, and "host" where "compute node" is meant. OpenStack's terminology has changed over its ...
Michael Hampton's user avatar
6 votes
Accepted

OpenStack soft reboot instance vs. sudo reboot

OpenStack Dashboard Server Reboot Use this function to perform either a soft or hard reboot of a server. With a soft reboot, the operating system is signaled to restart, which allows for a graceful ...
kinjelom's user avatar
  • 176
5 votes
Accepted

Should I regard openstack cloud servers as just another type of virtualization?

If you want redundancy you still need to plan for it. Cloud providers (regardless of the platform) still have outages on both the host and datacenter levels. Usually there is a pool of hosts and you ...
Grant's user avatar
  • 18k
5 votes

How to resize a volume in an instance on OpenStack?

I had exactly same issue. Than i found the solution, here's mine : After you finally resize the Volume from Ceph (Like the question above) Login to your VM ## Grow part (i.e resize root partition) ...
Nicolas Julian's user avatar
4 votes
Accepted

How to attach an interface to an instance with the openstack client?

I also wanted to do this and eventually found openstack server add port $SERVERNAME $PORTUUID works with latest python-openstack. See here for documentation. But I really just wanted to do this ...
mp3foley's user avatar
  • 618
4 votes

How to make a linux VM working as a router

You are on the right track with your firewall rules. I do things the "old fashioned" way - write a script, put it in /etc and call it from /etc/rc.local. However you like to do it, here's what works ...
ivanivan's user avatar
  • 1,498
4 votes

What is the best way to repair a situation where the nova database contains an attachment, but cinder doesn't?

For any case if someone if still looking for the solution: You need to find record in table block_device_mapping (nova DB) and delete it. select * from nova.block_device_mapping where deleted_at is ...
Мифотворец Вольный's user avatar
3 votes

Relationship between Vagrant, Docker, Chef and OpenStack (or similar products)?

I think coming from a developer background will make becoming a 'devops' actually more tricky, your question is almost 3 years old so It would be interesting to hear how you are finding the journey, I ...
Sum1sAdmin's user avatar
  • 1,964
3 votes

OpenStack Juno Live-Migration never completes for instances with high load and size >64GB

Failing migration due to too-busy VMs has been recognized as a problem. Unfortunately, while qemu provides a solution, it is not exposed via the libvirt API, and is thus unavailable to OpenStack. ...
Michael Hampton's user avatar
3 votes
Accepted

Multiple DNS records with different networks

I'm not quite clear what you want, but multiple entries for the same resource record in a single zone such as: h1 IN A 192.168.1.4 h1 IN A 10.14.6.4 is called round-robin DNS and the effect is ...
HBruijn's user avatar
  • 80.3k
3 votes

How to enforce Password complexity for root in Redhat

Enforcing the policy for root can be accomplished using: enforce_for_root The module will return error on failed check even if the user changing the password is root. This option is off by ...
dawud's user avatar
  • 15.3k
3 votes

Automatically distribute lvm (stripes) for specific LVM2 VG on Linux

You can configure this in /etc/lvm.conf. If you set raid_stripe_all_devices=1 the default should be striped instead of linear. You should also take a look at use_linear_target.
Andreas Rogge's user avatar
3 votes
Accepted

Permission denied error when launching instance ("Could not open backing file")

This is caused because the AppArmor profile for libvirt included in the debian libvirt packages does not include access to nova's instances directory (/var/lib/nova/instances), and the openstack ...
d3query's user avatar
  • 61
3 votes

Openstack VM (redhat as well) is sending strange DNS queries

I would assume that such is the result of a simple misconfiguration where a hostname variable is expected but missing and the next command line option, -P, gets interpreted as the hostname parameter. ...
HBruijn's user avatar
  • 80.3k
3 votes

Can more than 10 instances be created in openstack

The limit you see is the quota configured for your project. When the quota is set higher you can create more instances.
Gerald Schneider's user avatar
3 votes
Accepted

OpenStack client image save overflows RAM

You could try the glance client, or you just use the API. The latter requires an authentication token in the x-auth-token HTTP header, which you can acquire with the openstack token issue command. The ...
berndbausch's user avatar
  • 1,033
3 votes

OpenStack cinder api - Malformed request url

Ok, the issue resolved, after running a debug from openstack client using -vvv so this trick leads to what API call performed to list volumes the issue was that token generated was from admin project, ...
doubando's user avatar
3 votes

Is it possible to run a virtual machine with the combined processing power of multiple physical machines?

No, commodity hypervisors commonly used for enterprise cannot span a virtual machine across multiple physical hosts. More difficult to do, and outside their typical use cases of consolidation of "...
John Mahowald's user avatar
2 votes

GPU support on OpenStack/CloudStack

There is support in Cloudstack for GPU support starting version 4.4. The design document is referenced at [1]
Antoine Coetsier's user avatar
2 votes

QCOW2 virtual size lowering

You need to convert the qcow2 image to raw qemu-img convert -O raw guest.img guest.raw Then resize the raw file qemu-img resize guest.raw 3G Then convert it back to qcow2 qemu-img convert -O qcow2 -o ...
user370956's user avatar
2 votes
Accepted

QCOW2 virtual size lowering

If you want to shrink the virtual size, you need to use virt-resize
dyasny's user avatar
  • 18.9k
2 votes
Accepted

Why is module os_keypair not returning private_key?

I believe the os_keypair module has not performed any changes to the system. The contents of your keypair variable indicate: { "changed": false, ... } The ansible docs say this about return of a ...
jscott's user avatar
  • 24.8k
2 votes
Accepted

Openstack redundant architecture on three servers

You cannot deploy Control and Compute nodes in the same server for a production environment (only for PoC purposes, like devstack and packstack all-in-one solutions). Normally, you will have 3 ...
José Castillo Lema's user avatar
2 votes

Does VMware centralized supports image repository like OpenStack Glance?

Content Libraries is what you're after - you can even use them via Glance if you're running Openstack for VMware.
Chopper3's user avatar
  • 102k
2 votes
Accepted

Do prometheus metrics have some sort of "freshness" lifetime?

To the title question - yes, it is documented at https://prometheus.io/docs/prometheus/latest/querying/basics/#staleness: If no sample is found (by default) 5 minutes before a sampling timestamp, ...
Michał Politowski's user avatar
2 votes
Accepted

How to resize a volume in an instance on OpenStack?

Openstack just increases the physical disk size. You will need to use the operating system utilities to increase the disk space allocated to / for example.
skyman's user avatar
  • 156
2 votes

How to resize a volume in an instance on OpenStack?

I had a similar issue, and it was not clear for me how to resize the partition if you use an openstack volume. This did it for me: Start with unmounting sudo umount /dev/sdb Then make the system aware ...
Arie's user avatar
  • 21
2 votes

How to run openstack components' cli without SSL validation?

To run nova with the '--insecure' option you have to be a bit more strict with the syntax. nova --insecure list should work whereas nova list --insecure should give the same errors that @rawmain has ...
kenape's user avatar
  • 21

Only top scored, non community-wiki answers of a minimum length are eligible