Code Monkey home page Code Monkey logo

Comments (7)

mnaser avatar mnaser commented on September 11, 2024

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.

okozachenko1203 avatar okozachenko1203 commented on September 11, 2024

@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.

okozachenko1203 avatar okozachenko1203 commented on September 11, 2024

I am used to using ams1 region for my atmosphere. Region can be related to this issue?

from atmosphere.

mnaser avatar mnaser commented on September 11, 2024

@okozachenko1203 it is possible, can you recreate your instances? we recently upadated things to better support nested virtual lately there

from atmosphere.

Meritadev avatar Meritadev commented on September 11, 2024

@okozachenko1203 ^

from atmosphere.

okozachenko1203 avatar okozachenko1203 commented on September 11, 2024

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.

mnaser avatar mnaser commented on September 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.