ODA X5-2 VM Clone Error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ODA X5-2 VM Clone Error

Michael M
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>
Reply | Threaded
Open this post in threaded view
|

Re: ODA X5-2 VM Clone Error

Michael M
Here is detail information ;

oakcli show version -detail
Reading the metadata. It takes a while...
System Version  Component Name            Installed Version         Supported Version
--------------  ---------------           ------------------        -----------------
12.1.2.8.0
                Controller_INT            4.230.40-3739             Up-to-date
                Controller_EXT            09.00.00.00               Up-to-date
                Expander                  0018                      Up-to-date
                SSD_SHARED {
                [ c1d20,c1d21,c1d22,      A29A                      Up-to-date
                c1d23 ]
                [ c1d16,c1d17,c1d18,      A29A                      Up-to-date
                c1d19 ]
                             }
                HDD_LOCAL                 A720                      Up-to-date
                HDD_SHARED                P9E2                      Up-to-date
                ILOM                      3.2.4.60 r104651          3.2.4.80 r110636
                BIOS                      30060100                  30080300
                IPMI                      1.8.12.4                  Up-to-date
                HMP                       2.3.5.2.1                 Up-to-date
                OAK                       12.1.2.8.0                Up-to-date
                OL                        6.7                       Up-to-date
                OVM                       3.2.10                    Up-to-date
                GI_HOME                   12.1.0.2.160719(2305      Up-to-date
                                          4246,23054327)
                DB_HOME                   12.1.0.2.160719(2305      Up-to-date
                                          4246,23054327)
Reply | Threaded
Open this post in threaded view
|

Re: ODA X5-2 VM Clone Error

ErmanArslansOracleBlog
Administrator
Probably you have a metadata corruption..
It may be related with the oakres.xml file..

You may need to modify this file manually..
But I recommend you to open an SR and get this action plan(or similar one) from Oracle Support.. (to be in the safe side)