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
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
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
5 votes
Accepted

Joining variables in an openstack heat template

I found a solution using 'list_join': heat_template_version: 2013-05-23 int_network: type: OS::Neutron::Net properties: name: list_join: ['-', [ {get_param: tenant}, 'net']]
asl_marc's user avatar
5 votes

Joining variables in an openstack heat template

I found a solution using str_replace. My code looks something like: heat_template_version: 2013-05-23 description: Create network with parameters: client_code: type: string description: 4 ...
chriscowley's user avatar
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
  • 17.8k
5 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
4 votes

Extremely slow qemu storage performance with qcow2 images

Qcow2 file backend can be significantly slow with cache=none setting. Moreover, "-o prellocation=metadata" preallocate metadata only, and actual file data will be fragmented. In other words, the qcow2 ...
shodanshok's user avatar
  • 46.3k
4 votes
Accepted

What is reasonable storage failover time that most OS (VM) can tolerate?

The disk driver typically will wait until a configurable timeout is exceeded before even reporting an error for the operation requested. As you have found out, this is /sys/block/<devicename>/...
the-wabbit's user avatar
  • 40.6k
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,488
3 votes

VMware ESXi 6.0 and Openstack

ESXi doesn't support the OpenStack API directly. There's VMware Integrated OpenStack (VIO)... although I don't think it's supported to use other hypervisors with this. If you want to use vSphere as a ...
Mario Lenz's user avatar
  • 1,612
3 votes

Is it possible to monitor how OpenStack is allocating virtual infrastructure on a physical one?

If you want the resource usage per VM/tenant, you could use Ceilometer. If you want to monitor the OpenStack services and not the VMs, you probably have to create something yourself (collectd/diamond +...
Jeroen's user avatar
  • 1,339
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,924
3 votes

Extremely slow qemu storage performance with qcow2 images

cache=none is probably not a good idea when you're using qcow2 files. A qcow2 file makes it appear that every access to the disk is fragmented. This means you get the random access performance of the ...
user3710044'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
  • 75k
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

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.1k
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
  • 75k
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

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

cloud-init does not grow the partition nor the filesystem

I just fixed the same problem. My vmbuilder created an image with a root partition followed by a swap partition. cloud-utils-growpart can't grow the root partition if there's one immediately after ...
noelbk's user avatar
  • 121
2 votes

Access dashboard on freshly installed OpenStack from outside world

I resolve this problem with iptables forwarding: iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j DNAT --to-destination 10.0.3.12:80 iptables -A FORWARD -p tcp -d 10.0.3.12 --dport 80 -m ...
Stan Kondrat's user avatar
2 votes

How do you pull guest and host restource utilization data from Suse Cloud OpenStack

There are several ways I'd go about it: VM performance characteristics available in dashboard install Telemetry (ceilometer) which should add even more info if you want real low-level information - ...
Droopy4096's user avatar
2 votes
Accepted

install openstack in rhel 7 without subscribe to RHN

If you are using RH, you need to subscribe to the RHN. Period. If you don't want to subscribe, use CentOS or another RH derivative.
EEAA's user avatar
  • 109k
2 votes
Accepted

How Can I Update user-data on Openstack?

The only way I've found to update user-data on existing VMs is to modify the database contents. I detailed the steps for mysql here: http://www.asmatteringofit.com/blog/2015/4/18/updating-user-data-...
Joshua Miller's user avatar

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