Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Robert_CCSM_E
Participant
Participant

Export CMA from MDS with "_" in the name of the CMA

Im trying to export a CMA from an MDS, lets call it "MY_Cma".

Im using the following command on the MDS to export it:

mgmt_cli export-management version "Rxx" domain-name "MY_Cma" file-path "/var/log/My_Cma_exported.tgz" --domain 'System Data' --format json

If I try to export a 1 word CMA that does not include the "_" in the name it exports fine but when I try to export the domain that has the "_" in it, it fails with:

code: "generic_err_object_not_found"
message: "Requested object [My_Cma] not found"

Is there an undocumented issue with having an "_" in the name of the CMA when it comes to exporting it?  I cannot find any sk article or anything on google about this.  The Global and all of the other CMA's that didnt have "_" in them exported just fine, it's just this one CMA I cannot export and Im thinking it has to do with the "_" as thats the only thing different.

Anyone seen this or know how to get around it?

Thanks.

 

Robert Smith, CCSM-E

0 Kudos
4 Replies
PhoneBoy
Admin
Admin

I would open a TAC case and have them investigate.
Also flagging @Omer_Kleinstern 

0 Kudos
JozkoMrkvicka
Mentor
Mentor

Try it without version parameter.

Kind regards,
Jozko Mrkvicka
0 Kudos
Daniel_Kuhl1
Employee
Employee

What version do you have? I could try to replicate it in my lab.

The version parameter is only needed if your target MDS/SMS has a different version.

I would also recommend opening a TAC case because it smells like an undocumented bug.

0 Kudos
Robert_CCSM_E
Participant
Participant

Well I worked with CP this afternoon.  It appears that when you have a CMA name with a "_" in it, it actually gets written to the database with a "-".  So if the CMA is called MY_Cma, it gets written to the database as MY-Cma. So when we reran the export command today and used MY-Cma as the name of the domain, it exported just fine.

I would have never known this had we not been running some other psql commands to fix a different issue and spotted the different CMA name printed out when all of the CMAs were listed and seen that it had a "-" rather than a "_".

It's unknown if this is a default action that happens automatically as the Engineer didnt know.  But at least the mystery is solved.  🙂

Robert.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events