Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : Problem create vps



Threaded Mode | Print  

 Problem create vps (4 Replies, Read 3396 times)
dianet
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hello,

Today we made an update to version 2.8.2. (2.8.1 -> 2.8.2)

Now we have a problem because we can not create new vps KVM.

We have a problem:

Home - setlocale: No such file or directory error: Failed to create
domain from /etc/libvirt/qemu/v1009.xml error: Can not create cgroup for
v1009: No such file or directory



Servers OpenVZ creates good, but the problem we have with KVM servers.

Please help.

Daniel
IP: --   

Problem create vps
dianet
Group: Member
Post Group: Newbie
Posts: 2
Status:
2016-01-08 22:25:40.495+0000: 7514: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1004: Nie ma takiego pliku ani katalogu
2016-01-08 22:25:40.514+0000: 7514: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1004
2016-01-08 22:25:40.514+0000: 7514: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1004
2016-01-08 22:25:40.515+0000: 7514: error : qemuAutostartDomain:297 : Automatyczne uruchomienie maszyny wirtualnej "v1004" nie powiodło się: Nie można utworzyć cgroup dla v1004: Nie ma takiego pliku ani katalogu
2016-01-08 22:25:40.515+0000: 7514: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1005/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 22:25:40.515+0000: 7514: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1005/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 22:25:40.515+0000: 7514: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1005: Nie ma takiego pliku ani katalogu
2016-01-08 22:25:40.520+0000: 7514: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1005
2016-01-08 22:25:40.520+0000: 7514: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1005
2016-01-08 22:25:40.521+0000: 7514: error : qemuAutostartDomain:297 : Automatyczne uruchomienie maszyny wirtualnej "v1005" nie powiodło się: Nie można utworzyć cgroup dla v1005: Nie ma takiego pliku ani katalogu
2016-01-08 22:26:10.194+0000: 7506: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1001/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 22:26:10.194+0000: 7506: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1001/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 22:26:10.194+0000: 7506: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1001: Nie ma takiego pliku ani katalogu
2016-01-08 22:26:10.203+0000: 7506: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1001
2016-01-08 22:26:10.203+0000: 7506: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1001
2016-01-08 22:34:14.424+0000: 7507: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1007/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 22:34:14.424+0000: 7507: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1007/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 22:34:14.424+0000: 7507: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1007: Nie ma takiego pliku ani katalogu
2016-01-08 22:34:14.435+0000: 7507: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1007
2016-01-08 22:34:14.435+0000: 7507: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1007
2016-01-08 22:36:24.270+0000: 7505: warning : qemuDomainObjTaint:1459 : Domain id=7 name='v1001' uuid=86aaf411-9a95-4ea5-b674-16118e11fcec is tainted: host-cpu
2016-01-08 22:36:34.833+0000: 7508: warning : qemuDomainObjTaint:1459 : Domain id=8 name='v1002' uuid=5548840e-a2de-4f24-841d-eb520b03100e is tainted: host-cpu
2016-01-08 22:36:46.023+0000: 7505: warning : qemuDomainObjTaint:1459 : Domain id=9 name='v1005' uuid=a5c837c6-e97e-4ae7-bf9e-26c8fd0fa06b is tainted: host-cpu
2016-01-08 22:36:55.929+0000: 7507: warning : qemuDomainObjTaint:1459 : Domain id=10 name='v1004' uuid=b5803d72-ec83-4c8c-bd4f-8a5f45001875 is tainted: host-cpu
2016-01-08 22:37:48.331+0000: 7506: warning : qemuDomainObjTaint:1459 : Domain id=11 name='v1006' uuid=ba99bfb5-de5f-4231-b38e-0502ab39491d is tainted: host-cpu
2016-01-08 22:37:55.406+0000: 7508: warning : qemuDomainObjTaint:1459 : Domain id=12 name='v1007' uuid=9c91a485-dade-487b-9449-01075c39ed8c is tainted: host-cpu
2016-01-08 22:38:23.754+0000: 7503: error : qemuMonitorIO:615 : wewnętrzny błąd End of file from monitor
2016-01-08 22:46:03.890+0000: 7505: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1007/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 22:46:03.890+0000: 7505: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1007/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 22:46:03.890+0000: 7505: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1007: Nie ma takiego pliku ani katalogu
2016-01-08 22:46:03.891+0000: 7505: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1007
2016-01-08 22:46:03.891+0000: 7505: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1007
2016-01-08 22:46:18.013+0000: 7506: warning : qemuDomainObjTaint:1459 : Domain id=14 name='v1007' uuid=66f86f46-85c3-4e4c-b287-279809370677 is tainted: host-cpu
2016-01-08 22:46:39.010+0000: 7503: error : qemuMonitorIO:615 : wewnętrzny błąd End of file from monitor
2016-01-08 22:46:41.730+0000: 7507: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1007/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 22:46:41.731+0000: 7507: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1007/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 22:46:41.731+0000: 7507: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1007: Nie ma takiego pliku ani katalogu
2016-01-08 22:46:41.731+0000: 7507: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1007
2016-01-08 22:46:41.731+0000: 7507: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1007
2016-01-08 22:46:52.976+0000: 7505: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1002/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 22:46:52.976+0000: 7505: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1002/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 22:46:52.976+0000: 7505: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1002: Nie ma takiego pliku ani katalogu
2016-01-08 22:46:52.977+0000: 7505: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1002
2016-01-08 22:46:52.977+0000: 7505: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1002
2016-01-08 22:47:04.144+0000: 7506: warning : qemuDomainObjTaint:1459 : Domain id=17 name='v1002' uuid=5548840e-a2de-4f24-841d-eb520b03100e is tainted: host-cpu
2016-01-08 22:47:20.477+0000: 7506: warning : qemuDomainObjTaint:1459 : Domain id=18 name='v1007' uuid=66f86f46-85c3-4e4c-b287-279809370677 is tainted: host-cpu
2016-01-08 22:48:14.462+0000: 7503: error : qemuMonitorIO:615 : wewnętrzny błąd End of file from monitor
2016-01-08 22:57:25.562+0000: 7503: error : qemuMonitorIO:615 : wewnętrzny błąd End of file from monitor
2016-01-08 22:57:28.671+0000: 7504: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1007/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 22:57:28.671+0000: 7504: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1007/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 22:57:28.671+0000: 7504: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1007: Nie ma takiego pliku ani katalogu
2016-01-08 22:57:28.672+0000: 7504: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1007
2016-01-08 22:57:28.672+0000: 7504: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1007
2016-01-08 23:01:32.745+0000: 7504: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1002/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 23:01:32.745+0000: 7504: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1002/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 23:01:32.745+0000: 7504: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1002: Nie ma takiego pliku ani katalogu
2016-01-08 23:01:32.745+0000: 7504: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1002
2016-01-08 23:01:32.745+0000: 7504: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1002
2016-01-08 23:01:55.752+0000: 7505: warning : qemuDomainObjTaint:1459 : Domain id=21 name='v1002' uuid=5548840e-a2de-4f24-841d-eb520b03100e is tainted: host-cpu
2016-01-08 23:02:03.991+0000: 7508: warning : qemuDomainObjTaint:1459 : Domain id=22 name='v1007' uuid=66f86f46-85c3-4e4c-b287-279809370677 is tainted: host-cpu
2016-01-08 23:03:06.404+0000: 7503: error : qemuMonitorIO:615 : wewnętrzny błąd End of file from monitor
2016-01-08 23:04:49.700+0000: 7507: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1002/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 23:04:49.700+0000: 7507: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1002/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 23:04:49.700+0000: 7507: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1002: Nie ma takiego pliku ani katalogu
2016-01-08 23:04:49.701+0000: 7507: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1002
2016-01-08 23:04:49.701+0000: 7507: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1002
2016-01-08 23:04:56.121+0000: 7505: warning : qemuDomainObjTaint:1459 : Domain id=24 name='v1002' uuid=5548840e-a2de-4f24-841d-eb520b03100e is tainted: host-cpu
2016-01-08 23:05:56.271+0000: 7503: error : qemuMonitorIO:615 : wewnętrzny błąd End of file from monitor
2016-01-08 23:07:58.032+0000: 7504: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1002/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 23:07:58.032+0000: 7504: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1002/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 23:07:58.032+0000: 7504: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1002: Nie ma takiego pliku ani katalogu
2016-01-08 23:07:58.032+0000: 7504: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1002
2016-01-08 23:07:58.032+0000: 7504: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1002
2016-01-08 23:10:00.661+0000: 7507: warning : qemuDomainObjTaint:1459 : Domain id=26 name='v1002' uuid=5548840e-a2de-4f24-841d-eb520b03100e is tainted: host-cpu
2016-01-08 23:11:07.901+0000: 7503: error : qemuMonitorIORead:515 : Unable to read from monitor: Połączenie zerwane przez drugą stronę
2016-01-08 23:11:28.121+0000: 7504: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1002/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 23:11:28.121+0000: 7504: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1002/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 23:11:28.121+0000: 7504: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1002: Nie ma takiego pliku ani katalogu
2016-01-08 23:11:28.121+0000: 7504: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1002
2016-01-08 23:11:28.121+0000: 7504: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1002
2016-01-08 23:11:34.339+0000: 7505: warning : qemuDomainObjTaint:1459 : Domain id=28 name='v1002' uuid=5548840e-a2de-4f24-841d-eb520b03100e is tainted: host-cpu
2016-01-08 23:12:41.809+0000: 7503: error : qemuMonitorIO:615 : wewnętrzny błąd End of file from monitor
2016-01-08 23:13:03.449+0000: 7504: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1007/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 23:13:03.449+0000: 7504: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1007/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 23:13:03.449+0000: 7504: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1007: Nie ma takiego pliku ani katalogu
2016-01-08 23:13:03.449+0000: 7504: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1007
2016-01-08 23:13:03.449+0000: 7504: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1007
2016-01-08 23:13:51.290+0000: 7505: warning : qemuDomainObjTaint:1459 : Domain id=30 name='v1007' uuid=1a7cc23d-d654-4843-b709-f50d6288a1de is tainted: host-cpu
2016-01-08 23:14:36.128+0000: 7508: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1002/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 23:14:36.128+0000: 7508: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1002/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 23:14:36.128+0000: 7508: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1002: Nie ma takiego pliku ani katalogu
2016-01-08 23:14:36.128+0000: 7508: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1002
2016-01-08 23:14:36.128+0000: 7508: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1002
2016-01-08 23:15:00.619+0000: 7508: warning : qemuDomainObjTaint:1459 : Domain id=32 name='v1002' uuid=5548840e-a2de-4f24-841d-eb520b03100e is tainted: host-cpu
2016-01-08 23:16:07.322+0000: 7503: error : qemuMonitorIO:615 : wewnętrzny błąd End of file from monitor
2016-01-08 23:16:17.330+0000: 7507: error : virFileReadAll:462 : Otwarcie pliku "/vz/root/102/sys/fs/cgroup/memory/libvirt/qemu/v1002/memory.use_hierarchy" nie powiodło się: Nie ma takiego pliku ani katalogu
2016-01-08 23:16:17.330+0000: 7507: error : virCgroupSetMemoryUseHierarchy:510 : Odczytanie /libvirt/qemu/v1002/memory.use_hierarchy (-2) nie powiodło się
2016-01-08 23:16:17.330+0000: 7507: error : qemuSetupCgroup:266 : Nie można utworzyć cgroup dla v1002: Nie ma takiego pliku ani katalogu
2016-01-08 23:16:17.330+0000: 7507: error : qemuRemoveCgroup:824 : wewnętrzny błąd Nie można odnaleźć cgroup dla v1002
2016-01-08 23:16:17.330+0000: 7507: warning : qemuProcessStop:4617 : Failed to remove cgroup for v1002
2016-01-08 23:16:24.262+0000: 7504: warning : qemuDomainObjTaint:1459 : Domain id=34 name='v1002' uuid=5548840e-a2de-4f24-841d-eb520b03100e is tainted: host-cpu
2016-01-08 23:17:30.121+0000: 7503: error : qemuMonitorIO:615 : wewnętrzny błąd End of file from monitor
IP: --   

Problem create vps
Elizine
Group: Member
Post Group: Newbie
Posts: 32
Status:
Follow the installation steps for KVM on Virtualizor mentioned in it's wiki page -
http://www.virtualizor.com/wiki/Install_KVM

-----------------------
Fully Managed Web Hosting Provider
IP: --   

Problem create vps
asim_shaikh
Group: Member
Post Group: Elite Member
Posts: 381
Status:
Quote

Today we made an update to version 2.8.2. (2.8.1 -> 2.8.2)

Now we have a problem because we can not create new vps KVM.

We have a problem:

Home - setlocale: No such file or directory error: Failed to create

domain from /etc/libvirt/qemu/v1009.xml error: Can not create cgroup for

v1009: No such file or directory

Servers OpenVZ creates good, but the problem we have with KVM servers.

Please help.


The cgroup errors are because you are using Mulitvirt in Virtualizor.
Multi Virtualization may not work with certain Hardware and Software.

You just need to run "service libvirtd restart" to start the KVM VPS.



-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com
IP: --   

Problem create vps
rfhmendes
Group: NOC
Post Group: Newbie
Posts: 3
Status:
Execute this:

cat /proc/mounts | grep cgroup


It will show you some lines like these ones:

cgroup /vz/root/102/sys/fs/cgroup/blkio ........
cgroup /vz/root/102/sys/fs/cgroup/memory ......


Try to turn off that particular vps:

vzctl stop 102


Now you can try to start your KVM vps again (for example):

virsh start v1004


It should be working now.  If not, restart libvirtd and try again if necessary at least two times. You may try to start your openvz vps now. Both vps's should be working. This is just a temporary solution.

Virtualizor simply doesn't seem to manage cgroups at all which is why this happens. It's not because of hardware if it's the same issue I had very recently. It seems to be happening only with openvz vps using systemd.

You can wait for virtualizor devs to fix it or you can try to fix it yourself manually by configuring cgroups properly on your server to work with KVMs.


More about cgroups: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch01.html


Disclaimer: cgroup is serious business. If you don't know what you are doing, don't mess with it on production machines. You might just trigger a kernel panic (lose of data is possible with kernel panics). In that situation you would be better to wait for virtualizor devs to fix it... (not sure it is in their plans). The commands I said above should be safe.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is June 6, 2024, 7:21 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.338