Questions tagged [openstack-nova]
Openstack's Compute is a component that can be used to host and manage systems
120
questions
5
votes
1
answer
18k
views
Openstack: What the difference between nova migrate and nova evacuate?
On liberty, I've been searching for a way to "empty" a hypervisor from all its VMs.
At the nova client docs, I've found the following commands related to this:
nova evacuate : Evacuate ...
4
votes
3
answers
17k
views
How to get list of openstack Instances with Project name
My openstack setup is Mitaka version.
I want to list all the Instances with Project Name.
I tried with below command but it shows Tenant ID but not name.
nova list --all-tenants
4
votes
4
answers
6k
views
Openstack: Is it possible to migrate an instance from a dead compute server to a live one?
I've got a cluster with 84 Openstack Essex compute nodes, one of which decided to pine for the fjords about 2 hours ago, with 8 running instances on it.
The instances are all running off qcow2 disks ...
4
votes
1
answer
367
views
Is it possible to monitor how OpenStack is allocating virtual infrastructure on a physical one?
I've been wondering whether there's a tool for monitoring how OpenStack is using physical resources (cluster [cpus, ram], network [interfaces, switches]) for its virtual infrastructures? The virtual ...
4
votes
2
answers
960
views
Virtualization limits for Ubuntu Server 14.04 LTS with KVM?
Essentially I'm after something like this:
Virtualization limits for Red Hat Enterprise Linux with KVM
but for Ubuntu Server 14.04 LTS.
I'm trying to create some KVM guests with very large 1TB+ RAM ...
3
votes
2
answers
6k
views
Default SSH credentials for CoreOS?
I am trying to play around with CoreOS, and I just went to their ISO download site and downloaded the latest stable ISO. I then created a new VM instance with that ISO, and it looks like the instance ...
3
votes
2
answers
5k
views
Permission denied error when launching instance ("Could not open backing file")
Working with OpenStack, installed from packages available on Debian testing (buster). When I try to launch an instance, it fails after building with this message in nova-compute.log:
Could not open ...
3
votes
0
answers
784
views
Openstack Nova and Ceph Volume Attachment Issue
I am trying out the volume attachment function at Openstack (version:wallaby) to the server as additional device but failed.
The volume backend is ceph which all of the osds are up and healthy.
ceph-...
3
votes
0
answers
1k
views
Openstack Error: No valid host was found. There are not enough hosts available
As a purpose of testing, I am trying to spin up instances of large size, I mean of 8 vCPU's and greater than 20 GB memory, with 50 GB storage. Physical host has 48 GB RAM and 16 CPU. But everytime ...
3
votes
0
answers
7k
views
Exhausted all hosts available for retrying build failures for instance
Trying to make a proof of concept cloud by following this guide https://www.rdoproject.org/install/packstack/
I managed to get OpenStack installed and I'm able to access the dashboard. When I go to ...
2
votes
1
answer
1k
views
What is the best way to repair a situation where the nova database contains an attachment, but cinder doesn't?
In our OpenStack cloud there are a server with server_id and a volume with <volume_id>. We are in a situation where there is a volume that appears to be attached from the perspective of Nova, ...
2
votes
1
answer
977
views
OpenStack Juno Live-Migration never completes for instances with high load and size >64GB
I have run into situations where live migrations never seem to complete or error out.
Here is how I have been able to reproduce the problem.
Here is the instance I am migrating:
[root@osc1-mgmt-001 ...
2
votes
3
answers
16k
views
Error on nova-compute strart - libvirt: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Any attempt to start nova compute services fails with the error HypervisorUnavailable: Connection to the hypervisor is broken on host:
The trace log is the following (taken from /var/log/nova/nova-...
2
votes
0
answers
557
views
How to provision a baremetal kubernetes cluster using a magnum with only one vlan?
There does not seem to be a guide that follows through on how to deploy a baremetal Kubernetes cluster using magnum. I got to the point of having the baremetal servers turn on and initiate the pxe ...
2
votes
0
answers
2k
views
OpenStack Hyper-V vSwitch not being selected
I'm updating this, as the original did not get much support. And, I'm not seeing that error anymore since restarting with a fresh install using packstack. To help try to "help you, help me." I am ...
2
votes
0
answers
493
views
Changing boot order while using ipxe with nova
I am using ipxe to boot a VM with openstack Nova.
Here is the answer link i have used to setup my boot process
Does nova support pxe boot?
I am using the answer by larsks to boot the VM using ipxe....
2
votes
2
answers
14k
views
Cloud-init not finding metadata server (Openstack)
I am trying to understand why my server is failing to connect to the metadata server (and thus not able to log in with the SSH key).
Similar problems online seem to be caused by Security Group ...
2
votes
1
answer
5k
views
Cloud-init unable to retrieve metadata
I set up OpenStack with Puppet, and it's working great for the most part, but I've come across a rather pernicious issue: my Ubuntu guests (and likely others) are unable to retrieve metadata during ...
1
vote
1
answer
584
views
Openstack only building one VM per machine in cluster, then runs out of resources
I am building an openstack cluster and am having some issues with what I think may be a quota problem. I can successfully build vms on every host, but only one vm per host.
I deployed the system using ...
1
vote
1
answer
1k
views
Openstack change IP address of compute node, controller will not change
Ran into some trouble... when installing more compute nodes, I acidentially left the local_ip located in /etc/neutron/plugins/ml2/linuxbridge_agent.ini the same for the additional compute nodes. Now a
...
1
vote
1
answer
145
views
Can I use OpenStack Rocky with a neoverse-n1?
Situation: For now, I'm stuck on OpenStack Rocky on Ubuntu 18.04.6 and I have some beefy Neoverse-n1 hardware (aarch64, 64-core, 1TB memory) to integrate. Can I accomplish this with on my current OS ...
1
vote
1
answer
368
views
How to use hosts with no storage disks and virtual machine instances with no local drive in Openstack
In Openstack, is it possible to create compute nodes with no hard drives and use PXE in order to boot the host's system and therefore launch instances with no local drive which is needed to boot the ...
1
vote
1
answer
1k
views
Openstack: How to make a VM to autostart
I have deployed Openstack queens for testing purposes.
nova --version
14.2.0
I noticed that when I reboot a compute host, all VMs running on it turn into SHUTOFF state.
I tried to change this ...
1
vote
1
answer
113
views
Does Open-stack supports heterogeneous servers as infrastructure
My company uses Apache cloud stack, but we are planing on upgrading our on premise cluster, and change our IAAS from Cloud-Stack to Open-stack my question is, can we use different servers generations, ...
1
vote
1
answer
4k
views
openstack: can't launch instance, multiple errors
I'm working with Openstack Mitaka, at the point to try launch an instance.
When creating the instance it hangs in ERROR-state , just after built.
I collected the errors from the logs, but so far I ...
1
vote
2
answers
294
views
Alternative ways to detect hung OpenStack/Linux services?
I have noticed on some of my linux servers that a linux service will be hung. The only way I know that it is hung is operations that rely on the service fails and when I restart the service it fails ...
1
vote
1
answer
148
views
Questions on Openstack networking (Neutron) configuration
newbie here who's trying to understand Openstack networking topic.
My setup:
I have 3 physical machines with Openstack installed and running:
- controller (with Keystone, Glance, Placement, Neutron, ...
1
vote
1
answer
3k
views
Nova Compute State "down"
I am doing a live migration test in an OpenStack cluster. (Mitaka). I have 3 VMs deployed on 2 compute hosts. The nova-compute state is UP when I start the cluster. But after sometime the although the ...
1
vote
0
answers
176
views
Start instances from specific subnet
we have a network with two subnets (subnet1, subnet2).
However when instances are launched they receive IP only one from subnet1 (probably until it has no more IPs to offer)
Do you know the rule on ...
1
vote
0
answers
94
views
openstack nova have a long startup after the fast created volume
i have reinstalled OpenStack with the newest version (Yoga) and all base modules. The system is running fine but the time between the creation of the volume and the startup ist very long with ~10 ...
1
vote
1
answer
3k
views
MySQL ERROR 1045 Access denied for 'nova'@'controller'
Description
I installed Openstack Wallaby using OpenStack Installation Guide, all command and configuration is on my Github.
This LAB is running on VirtualBox and I have another LAB with the same ...
1
vote
0
answers
210
views
(Solved) How to setup aodh and heat to auto scale in openstack victoria based on cpu usage?
As the metric cpu_util is now deprecated, how can someone use heat to auto scale up and down using cpu usage of the instance?
Any insight is appreciated.
Edited:
We used to have transformers that did ...
1
vote
0
answers
564
views
Cannot create an instance due to failed binding
I'm deploying openstack on 3 nodes (controller, compute and block storage).
Each of my nodes have 2 attachements eno1 on the management network and eno2 on a provider network (192.168.3.0/24). I'm ...
1
vote
0
answers
234
views
item not found in create server console
I would like to create server console. It has the below error.
{"itemNotFound":{"code":404,"message":"The resource could not be found."}
I send request to :...
1
vote
1
answer
633
views
LUKS encryption for mounted disk - how to decrypt cinder volume
I have a question about the possible decryption of LUKS volume. I'm testing currently barbican+cinder, but I'm just wondering if there is a way, to somehow decrypt my LUKS volume with payload ...
1
vote
0
answers
88
views
New compute node with openstack base bundle
In my scenario which is deployed with maas and juju, I have a network 10.10.10.0/24 which is used to deploy openstack base churm bundle.
Also the maas and juju are within this network/subnet.
Recently ...
1
vote
0
answers
521
views
AttributeError: module 'openstack.proxy' has no attribute 'Proxy'
I'm runing an Ussuri install on openSUSE 15.2. According the official install guide, the Keystone, Glance, and Placemente has run withou any bigger issues. But, when i try run any command with nova-...
1
vote
0
answers
1k
views
nova conductor and scheduler not starting
Another question which I think is related to my previous question:
When I do:
nova service-list
nova-conductor and scheduler seems to be enabled, but status is down.
How can I start these services.?...
1
vote
0
answers
99
views
Bootstraping Openstack instances using sql injection?
I have been tasked with migrating multiple VMware virtual machines to Openstack without rebooting them. We currently use the VMwareVCDriver to allow Openstack to manage the virtual machines. The ...
1
vote
0
answers
45
views
Visibility of VM in DevStack
I just configured my DevStack environment on a VM with IP 192.168.249.1. I would like that instance to generate VMs that are reachable within my private company network. Thus, I configured DevStack to ...
1
vote
0
answers
586
views
Doubts about OpenStack nova and swap files
I have some doubts about the qcow2 swap files created by nova when launching instances.
I've launched two instances with respectively 1G and 8G of swap memory. So, I verified that four disks where ...
1
vote
0
answers
159
views
Is it possible to manage group of vms in openstack as a single instance?
I am reviewing openstack technology as a possible solution for creating sandboxes. What I am going to do is to create instances that contains several vms connected within virtual network. There will ...
1
vote
1
answer
3k
views
How to source admin credentials to gain access to admin-only CLI commands in Openstack's Nova?
According to this documentation the admin credentials need to be sourced as follows:
[vagrant@localhost ~]$ source admin-openrc.sh
-bash: admin-openrc.sh: No such file or directory
The suspicion is ...
0
votes
2
answers
487
views
How to have node affinity in openstack?
For Example, I have 3 Compute servers and I want to have 1 Specific Instance on each of them and I want to have Node Affinity on them.
instance_1 --> compute_node_1 (Always on this node)
...
0
votes
1
answer
660
views
openstack using name instead of id
Can I use name instead of id for openstack api such as show instance? When I send server name in the url, I got 404. Is there any way to get the id of the instance by means of its name?
0
votes
2
answers
660
views
OpenStack Juno: Is it possible to keep instance on same compute host after resizing?
I have OpenStack Juno setup with 1 controller and 3 compute nodes.
I have enabled password less authentication between compute nodes for re-sizing to work.
Instance re-sizing is working fine up till ...
0
votes
1
answer
788
views
nova-compute for compute node in openstack not working No DB access allowed in nova-compute
I have followed this guide https://docs.openstack.org/neutron/yoga/install/compute-install-ubuntu.html the configuration i have is
$ sudo egrep -v '^#|^$' /etc/nova/nova.conf
[DEFAULT]
log_dir = /var/...
0
votes
1
answer
106
views
difference between creating server via nova and heat [closed]
What are the pros and cons of creating server via nova and heat stack?
When should we use nova and when we should use heat?
0
votes
1
answer
76
views
containerized Openstack services
I have a difficulties in the following question:
"Does it make sense to containerized/dockerize the openstack controlling services like Neurtron/Cinder/Glance/Keystone server services (neutron-...
0
votes
1
answer
2k
views
Update instance and flavor
How can I update flavor and image of an instance? It is not possible with this api.
As another question, how can I update ram, disk and vcpu of the flavor?