My Oracle Support Banner

Error To Add New Report On OVM Using Repos.py -i (Doc ID 2194851.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle VM - Version 2.2.1 to 2.2.2 [Release OVM221 to OVM222]
Information in this document applies to any platform.

Symptoms

If one tries to add a new LUN as  a Storage Repository (SR), during initialization it throws error as below  : 


/opt/ovs-agent-2.3/utils/repos.py -i
Mount point:
Error: errcode=00000, errmsg=Unexpected error: errcode=00002, errmsg=KeyError: '0c659af9-c4bd-4c6a-89de-afd732941d39'

StackTrace:
File "/opt/ovs-agent-2.3/OVSSiteCluster.py", line 644, in _cluster_setup
_check(ret)
File "/opt/ovs-agent-2.3/OVSXCluster.py", line 344, in _check
raise OVSException(error=ret["error"])

This 0c659af9-c4bd-4c6a-89de-afd732941d39' UUID does not exist:

 

As you see above it throws error saying 0c659af9-XXX UUID doesn't exist.

If you try to list all repositories in the host you will not see any reference of the UUID for which initialization failed.

 

/opt/ovs-agent-2.3/utils/repos.py -l
[ * ] 7898500c-f184-454b-b66c-2f9ca2dc194c => /dev/mapper/oraclevm1p1
[ ] f98d1354-f85b-4abe-a57a-6447df49b26b => /dev/mapper/360002ac000000000000000080001b6ebp1

 

Changes

 From the logs see that there were issues with the storage connectivity and he eventually delete the LUN and removed the repository. This operation was successful in one node and failed in other node.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.