TASK ERROR: missing 'arch' at 4.0 lxc container

yugawara

New Member
Mar 17, 2012
22
0
1
Dear


I am testing upgrade from 3.4 to 4.0 around openVZ container CentOs base.

I backuped the CT at 3.4, and I restored the file in 4.0.


The restoring was OK, however an error came at starting 4.0 CT.


TASK ERROR: missing 'arch' - internal error at /usr/share/perl5/PVE/LXC.pm line 1062.




Because the item 'architecture' of CT is 'unknown', So it happen?


If so, where is the conf files in 4.0? The /etc/pve/nodes/proc40/lxc/xxx.conf file?


Can I modify it?


yugawara
 
Hi,

the upgrade script had a problem detecting your CT arch, normally it should default to amd64 in this case.

Yes exactly, those are the config files for the CTs, you can and should edit it in this case.

Simply add (or edit if an empty entry is already there) a line with
Code:
arch: amd64
Instead of amd64 you can also use i386 respectively.
 
Yes, it was solved. No error came. Thank you.


However I faced an another problem of the CT.
I might be good to post it in another thread.

Anyway, thank you for very quick support.