ODA X5-2 VM Clone Error
Posted by Michael M on Jul 05, 2018; 1:31pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/ODA-X5-2-VM-Clone-Error-tp6361.html
Hi Erman
I have problem to clone oda x5-2 vm clone.. I followed the document 1633166.1 and commands..
But oakcli clone command is not succesful. I am getting this error. Do you have any idea ?
OAKERR:7041 Error encountered while cloning VM - 'NoneType' object has no attribute 'getAttrValue'
tar -Scvfz <vm_name>.tgz -C <backup VM path> .
ie:
tar -Scvfz OL6U4.tgz -C /VMBackup/OL6U4 .
You can now import such <vm_name>.tgz as VM template, from ODA_BASE:
oakcli import vmtemplate vmtemplatename -files image_files -repo repo_name [- node 0 | 1 ]
Having the template imported you can now clone the VM:
oakcli clone vm vm_name -vmtemplate template_name -repo repo_name [-node 0|1]
you can start the VM issuing the following command from ODA_BASE:
oakcli start vm <vm_name>