[PCA] Updating Compute Node Fails with "Cannot retrieve repository metadata (repomd.xml) for repository: 3.4_ovs_repo"

(Doc ID 2391221.1)

Last updated on APRIL 26, 2018

Applies to:

Private Cloud Appliance - Version 2.3.1 and later
Linux x86-64

Symptoms

After running update compute-node command via pca-admin CLI, the following is returned:

PCA> update compute-node ovcacn07r1
************************************************************
WARNING !!! THIS IS A DESTRUCTIVE OPERATION.
************************************************************
Are you sure [y/N]:y

Status: Failure
Error Message: Error (UPDATE_002): Failed to upgrade the following compute-nodes: ['ovcacn07r1']. Error: '['Failed to upgrade server ovcacn07r1']'. Please check /var/log/ovca.log for more details.

PCA>

 

Upon investigation of the /var/log/ovca.log on the master management node, the following error can be observed:

20:33:06,169: Starting operation 'Server Repository Update check operation' on object '[ServerDbImpl] 08:00:20:ff:ff:ff:ff:ff:ff:ff:00:10:e0:c7:3d:66<410> (ovcacn07r1)'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: package_list to server: ovcacn07r1 failed. OVMAPI_4004E Sync command failed on server: 192.168.140.5. Command: package_list,

Server error: org.apache.xmlrpc.XmlRpcException: <class 'yum.Errors.RepoError'>:Cannot retrieve repository metadata (repomd.xml) for repository: 3.4_ovs_repo. Please verify its path and try again

[Tue Apr 17 20:33:06 UTC 2018]
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:559)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:454)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:418)
at com.oracle.ovm.mgr.action.ServerAction.listPackages(ServerAction.java:456)
at com.oracle.ovm.mgr.op.physical.ServerCheckUpdateRepositoriesOperation.getUpdatesFromServer(ServerCheckUpdateRepositoriesOperation.java:214)
at com.oracle.ovm.mgr.op.physical.ServerCheckUpdateRepositoriesOperation.action(ServerCheckUpdateRepositoriesOperation.java:60)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1290)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:387)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:364)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:778)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:244)
at com.oracle.ovm.mgr.api.physical.ServerProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:240)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:332)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1644)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:387)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:364)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:111)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:92)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:86)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:701)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:464)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:529)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:64)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.oracle.ovm.mgr.api.exception.ServerOperationException: OVMAPI_4004E Sync command failed on server: 192.168.140.5. Command: package_list,

Server error: org.apache.xmlrpc.XmlRpcException: <class 'yum.Errors.RepoError'>:Cannot retrieve repository metadata (repomd.xml) for repository: 3.4_ovs_repo. Please verify its path and try again

[Tue Apr 17 20:33:06 UTC 2018]
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:942)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:535)
... 30 more

 

 

 Testing of the yum repository results in failure on any compute node.

[root@ovcacn07r1 ~]# yum clean all
Cleaning repos: 3.4_ovs_repo
Cleaning up Everything

[root@ovcacn07r1 ~]# yum repolist
http://192.168.40.1/shares//export/Yum/OVM_3.4.4_1725_update/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
http://192.168.40.1/shares//export/Yum/OVM_3.4.4_1725_update/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.

[root@ovcacn07r1 ~]# curl http://192.168.40.1/shares//export/Yum/OVM_3.4.4_1725_update/repodata/repomd.xml
curl: (7) couldn't connect to host

 

Changes

 No changes.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms