hep-gc/repoman — Issue #58: repoman list --long provides invalid URLs.
Author: crlb
Created: 2011-11-30 23:16:02+00:00
State: open

[crlb@elephant ~]$ repoman list --long
https://vmrepo.cloud.nrc.ca:443/api/images/crlb/CernVMbase-1.3
https://vmrepo.cloud.nrc.ca:443/api/images/crlb/CernVMbase-12
https://vmrepo.cloud.nrc.ca:443/api/images/crlb/TestJobExit
https://vmrepo.cloud.nrc.ca:443/api/images/crlb/TestJobExit_copy
https://vmrepo.cloud.nrc.ca:443/api/images/crlb/TestTelnetJobExit
https://vmrepo.cloud.nrc.ca:443/api/images/crlb/crlb/test/ing
[crlb@elephant ~]$
[crlb@elephant ~]$
[crlb@elephant ~]$ # Note that the 'raw' segment of the URL is missing, see below:
[crlb@elephant ~]$
[crlb@elephant ~]$
[crlb@elephant ~]$ repoman describe-image TestJobExit
checksum : {'type': None, 'value': None}
description : hello
expires : None
file_url : https://vmrepo.cloud.nrc.ca:443/api/images/raw/crlb/TestJobExit
http_file_url : http://vmrepo.cloud.nrc.ca/api/images/raw/crlb/TestJobExit
hypervisor : None
modified : Wed Nov 30 22:41:01 2011
name : TestJobExit
os_arch : None
os_type : None
os_variant : None
owner : https://vmrepo.cloud.nrc.ca:443/api/users/crlb
owner_user_name : crlb
raw_file_uploaded : True
read_only : False
shared_with : {'users': ['https://vmrepo.cloud.nrc.ca:443/api/users/andre'], 'groups': []}
size : 3783393280
unauthenticated_access : True
uploaded : Tue Jun 21 17:58:19 2011
uuid : 0bb6b4ba9c3011e0b9990025648d3a02
version : 4
[crlb@elephant ~]$
[crlb@elephant ~]$
[crlb@elephant ~]$ # use the URL provided by 'repoman list --long'
[crlb@elephant ~]$
[crlb@elephant ~]$
[crlb@elephant ~]$ vm-run -i https://vmrepo.cloud.nrc.ca:443/api/images/crlb/TestJobExit

Workspace Factory Service:
https://alto.cloud.nrc.ca/wsrf/services/WorkspaceFactoryService

Read metadata file: "/tmp/nimbus.1322694642.xml"
Read deployment request file: "/tmp/nimbus.deployment.1322694642.xml"
Duration argument provided: overriding duration found in deployment request file, it is now: 2880 minutes
Read optional parameters file: "/tmp/nimbus.optional.1322694642.xml"

Creating workspace "http://alto.cloud.nrc.ca/TestJobExit"... done.

Workspace created: id 28423
eth0
Association: interactive
IP address: 132.246.148.42
Hostname: vm142.cloud.nrc.ca
Gateway: 132.246.148.1

Start time: Wed Nov 30 15:10:44 PST 2011
Duration: 2880 minutes.
Shutdown time: Fri Dec 02 15:10:44 PST 2011
Termination time: Fri Dec 02 15:12:44 PST 2011

Wrote EPR to "/tmp/nimbus.1322694642.epr"

Waiting for updates.

"http://alto.cloud.nrc.ca/TestJobExit" state change: Unstaged --> Unpropagated
"http://alto.cloud.nrc.ca/TestJobExit" state change: Unpropagated --> Propagated
"http://alto.cloud.nrc.ca/TestJobExit" state change: Propagated --> Corrupted
Problem with http://alto.cloud.nrc.ca/TestJobExit: Unexpected issue
STDERR: libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
libvir: Xen Daemon error : POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: Boot loader didn't return any data!")
2011-11-30 18:11:11,377 - ERROR - Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: Boot loader didn't return any data!")
2011-11-30 18:11:11,377 - ERROR - POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: Boot loader didn't return any data!")
Traceback (most recent call last):
File "/opt/nimbus/src/python/workspacecontrol/defaults/lvrt/lvrt_common.py", line 123, in create
newvm = self._vmm().createXML(xml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 1289, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
.
.
.
UnexpectedError: Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: Boot loader didn't return any data!")
Problem executing: Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: Boot loader didn't return any data!")

Exiting with error code: 4
"http://alto.cloud.nrc.ca/TestJobExit" was terminated.

Workspace "http://alto.cloud.nrc.ca/TestJobExit" did NOT reach target state "Running"
[crlb@elephant ~]$