Cloud Engine: Unable to push images to RHEV "ERROR NFS storage domain for `rhevm-storage:/export' not found"
Issue
- Pushing images to RHEV cloud resource provider is failing
- Error as seen in /var/log/imagefactory.log:
2012-08-20 11:02:44,706 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder thread(73911d75) Message: Produced provider json:
{
"apipass": "REDACTED",
"apiurl": "https://rhevm.example:8443/api",
"apiuser": "admin@internal",
"cluster": "_any_",
"image": "/tmp/73911d75-9879-4a43-836f-1266b3958ae3",
"name": "rhevm-default",
"nfsdir": "/export",
"nfshost": "rhevm-storage",
"nfspath": "/export",
"target": "rhevm",
"timeout": 1800
}
2012-08-20 11:02:44,706 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder thread(73911d75) Message: Executing external RHEV-M push command (['/usr/bin/dc-rhev-image', '/tmp/tmpPF_NCb'])
2012-08-20 11:02:44,802 DEBUG paste.httpserver.ThreadPool thread(MainThread) Message: Added task (0 tasks queued)
2012-08-20 11:02:44,835 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder thread(73911d75) Message: Exception caught in ImageFactory
2012-08-20 11:02:44,836 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder thread(73911d75) Message: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_rhevm_Builder.py", line 198, in push_image
self.rhevm_push_image_upload(target_image_id, provider, credentials)
File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_rhevm_Builder.py", line 284, in rhevm_push_image_upload
(stdout, stderr, retcode) = subprocess_check_output(rhevm_push_command)
File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_rhevm_Builder.py", line 47, in subprocess_check_output
raise ImageFactoryException("'%s' failed(%d): %s\nstdout: %s" % (cmd, retcode, stderr, stdout))
ImageFactoryException: '/usr/bin/dc-rhev-image /tmp/tmpPF_NCb' failed(1): None
stdout: ERROR NFS storage domain for `rhevm-storage:/export' not found
Environment
- CloudForms Cloud Engine 1.0
- RHEV Cloud Provider
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.