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 ...
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 ...
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 ...
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']]
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 ...
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 ...
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 ...
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 ...
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>/...
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 ...
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 ...
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 ...
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 +...
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 ...
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 ...
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 ...
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.
...
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 ...
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.
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 ...
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.
...
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.
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 ...
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 "...
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]
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 ...
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 ...
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 - ...
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.
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-...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
openstack × 658openstack-nova × 96
openstack-neutron × 66
ubuntu × 44
networking × 44
kvm-virtualization × 37
cloud × 37
linux × 32
cinder × 32
openstack-keystone × 25
virtualization × 23
centos × 21
virtual-machines × 21
openstack-glance × 21
libvirt × 18
cloud-computing × 17
openstack-horizon × 17
kubernetes × 14
openvswitch × 14
kolla-ansible × 14
ceph × 13
iptables × 12
linux-networking × 12
centos7 × 12
qemu × 12