Comments (7)
Oleks: where are you seeing that failure? This will slow down the CI because it will use QEMU instead of KVM (and we should be supporting nested CI)
from atmosphere.
@mnaser sorry for the late response. seems i missed your comment.
Btw, I faced several times the kvm permission error in my atmosphere env. So I had to set virt_type as qemu manually and vms created ok.
from atmosphere.
I am used to using ams1 region for my atmosphere. Region can be related to this issue?
from atmosphere.
@okozachenko1203 it is possible, can you recreate your instances? we recently upadated things to better support nested virtual lately there
from atmosphere.
from atmosphere.
Same yet.
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [req-42a1ff40-7484-4fd9-b3e7-0b33c15026d7 17c4e617821a4f2ca56c720ee0726dde 15f61e63acd14d698d30454f4e03907d - default default] [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] Failed to build and run instance: libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: Could not access KVM kernel module: Permission denied
2022-08-17T07:27:48.365166Z qemu-system-x86_64: failed to initialize KVM: Permission denied
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] Traceback (most recent call last):
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/nova/compute/manager.py", line 2409, in _build_and_run_instance
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] self.driver.spawn(context, instance, image_meta,
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/nova/virt/libvirt/driver.py", line 4193, in spawn
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] self._create_guest_with_network(
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/nova/virt/libvirt/driver.py", line 7261, in _create_guest_with_network
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] self._cleanup(
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/oslo_utils/excutils.py", line 227, in __exit__
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] self.force_reraise()
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/oslo_utils/excutils.py", line 200, in force_reraise
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] raise self.value
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/nova/virt/libvirt/driver.py", line 7230, in _create_guest_with_network
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] guest = self._create_guest(
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/nova/virt/libvirt/driver.py", line 7170, in _create_guest
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] guest.launch(pause=pause)
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/nova/virt/libvirt/guest.py", line 162, in launch
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] LOG.exception('Error launching a defined domain with XML: %s',
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/oslo_utils/excutils.py", line 227, in __exit__
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] self.force_reraise()
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/oslo_utils/excutils.py", line 200, in force_reraise
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] raise self.value
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/nova/virt/libvirt/guest.py", line 159, in launch
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] return self._domain.createWithFlags(flags)
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/eventlet/tpool.py", line 190, in doit
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] result = proxy_call(self._autowrap, f, *args, **kwargs)
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/eventlet/tpool.py", line 148, in proxy_call
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] rv = execute(f, *args, **kwargs)
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/eventlet/tpool.py", line 129, in execute
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] six.reraise(c, e, tb)
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/six.py", line 703, in reraise
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] raise value
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/eventlet/tpool.py", line 83, in tworker
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] rv = meth(*args, **kwargs)
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] File "/var/lib/openstack/lib/python3.8/site-packages/libvirt.py", line 1366, in createWithFlags
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] raise libvirtError('virDomainCreateWithFlags() failed')
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: Could not access KVM kernel module: Permission denied
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114] 2022-08-17T07:27:48.365166Z qemu-system-x86_64: failed to initialize KVM: Permission denied
2022-08-17 07:27:48.945 158245 ERROR nova.compute.manager [instance: 54d7104f-e7d1-40cf-9026-fb448b667114]
from atmosphere.
hmm, I think that seems to be an issue with the cloud images we use where they have bad permissions for /dev/kvm
?
can you please try to fix permissions for /dev/kvm
and see what that looks like?
from atmosphere.
Related Issues (20)
- [stable/zed] Add missing deps to Molecule venv
- SRIOV and vGPU devices can't be discover by nova-compute HOT 1
- [stable/2024.1] fix(horizon): apply a patch to fix resource provider panel
- [stable/2023.2] fix(horizon): apply a patch to fix resource provider panel
- [stable/2023.1] fix(horizon): apply a patch to fix resource provider panel
- [stable/zed] fix(horizon): apply a patch to fix resource provider panel HOT 1
- [stable/2024.1] [ATMOSPHERE-302] fix: set variables for cluster issuer name for keycloak and kube-prom-stack
- [stable/2023.2] [ATMOSPHERE-302] fix: set variables for cluster issuer name for keycloak and kube-prom-stack
- [stable/2023.1] [ATMOSPHERE-302] fix: set variables for cluster issuer name for keycloak and kube-prom-stack
- [stable/zed] [ATMOSPHERE-302] fix: set variables for cluster issuer name for keycloak and kube-prom-stack
- [stable/zed] [ATMOSPHERE-307] Add Ironic
- [stable/2023.1] [ATMOSPHERE-307] Add Ironic
- [stable/2023.1] [ATMOSPHERE-327] images(python-openstackclient): Add python-ironicclient
- [stable/zed] [ATMOSPHERE-327] images(python-openstackclient): Add python-ironicclient
- Unable to install atmosphere HOT 6
- [stable/2023.1] Add TLS to node exporter
- [stable/zed] Add TLS to node exporter
- Issue with encrypted volumes be create from encrypted volume types HOT 1
- pxc_strict_mode HOT 1
- Keycloak ingress annotations not being used HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atmosphere.