Opened 11 years ago
Closed 11 years ago
#66 closed (fixed)
Custom image creation fails on ops
Reported by: | lnevers@bbn.com | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | AM | Version: | SPIRAL5 |
Keywords: | Cc: | ||
Dependencies: |
Description
While trying to create a custom image on the ops nodes ran into problems. First,
[lnevers@ops ~]$ ./createimage.py -n rawcust -m http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0 CustomF15 urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+82 --certfile ~/.ssl/emulab.pem Traceback (most recent call last): File "./createimage.py", line 46, in <module> execfile( "test-common.py" ) File "test-common.py", line 140, in <module> cert = M2Crypto.X509.load_cert( CERTIFICATE ) File "/usr/local/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-freebsd-9.0-STABLE-i386.egg/M2Crypto/X509.py", line 609, in load_cert bio = BIO.openfile(file) File "/usr/local/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-freebsd-9.0-STABLE-i386.egg/M2Crypto/BIO.py", line 186, in openfile return File(open(filename, mode)) IOError: [Errno 2] No such file or directory: '/users/lnevers/.ssl/encrypted.pem'
Even though a cert-file is specified, the hard-coded one in test-common.py is still being used. So renamed the existing "~/.ssl/emulab.pem" to the expected "~/.ssl/encrypted.pem, but still fails:
[lnevers@ops ~]$ ./createimage.py -n rawcust -m http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0 CustomF15 urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+84 403 Forbidden Could not get my credential
What am I missing?
- Renamed the existing emulab.pem to the expected encrypted.pem.
- Re-executed command:
[lnevers@ops ~]$ ./createimage.py -n rawcust -m http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0 CustomF15 urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+82 403 Forbidden Could not get my credential
Change History (2)
comment:1 Changed 11 years ago by
Summary: | Custom image creation faila on ops → Custom image creation fails on ops |
---|
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Closing this ticket, the failure was a credentials mismatch.