After upgrade Lucid->Maverick, Eucalyptus database seems not to have been upgraded
Bug #646100 reported by
C de-Avillez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Invalid
|
Undecided
|
Unassigned | ||
eucalyptus (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Basically:
1. images are lost (not yet known if still on disc)
2. admin credentials must be refreshed (sudo euca_conf --get-credentials must be re-run).
During a conference call, Dmitrii suggested this might be related to the euca DB not being upgraded, and asked to also verify groups, users, and keypairs (for completeness) -- but I forgot to create additional groups and keypairs and users...
Changed in eucalyptus: | |
status: | New → Invalid |
To post a comment you must log in.
1. the admin credentials changed:
ubuntu@cempedak:~$ cat eucarc DIR=$(dirname $(readlink -f ${BASH_SOURCE})) 10.55.55. 2:8773/ services/ Walrus 10.55.55. 2:8773/ services/ Eucalyptus KEY=${EUCA_ KEY_DIR} /euca2- admin-2cabb318- pk.pem ${EUCA_ KEY_DIR} /euca2- admin-2cabb318- cert.pem ARGS=-Djavax. net.ssl. trustStore= ${EUCA_ KEY_DIR} /jssecacerts CERT=${ EUCA_KEY_ DIR}/cloud- cert.pem KEY='WKy3rMzOWP ouVOxK1p3Ar1C2u RBwa2FBXnCw' KEY='uZIpwxvhbg U5R99tD7wnGshAn OJ8JUavazimMA' ID='00010072935 4' image=" ec2-bundle- image --cert ${EC2_CERT} --privatekey ${EC2_PRIVATE_KEY} --user 000100729354 --ec2cert ${EUCALYPTUS_CERT}" bundle= "ec2-upload- bundle -a ${EC2_ACCESS_KEY} -s ${EC2_SECRET_KEY} --url ${S3_URL} --ec2cert ${EUCALYPTUS_CERT}" groups
EUCA_KEY_
export S3_URL=http://
export EC2_URL=http://
export EC2_PRIVATE_
export EC2_CERT=
export EC2_JVM_
export EUCALYPTUS_
export EC2_ACCESS_
export EC2_SECRET_
# This is a bogus value; Eucalyptus does not need this but client tools do.
export EC2_USER_
alias ec2-bundle-
alias ec2-upload-
ubuntu@cempedak:~$ . eucarc
ubuntu@cempedak:~$ euca-describe-
Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
EC2ResponseError: 403 Forbidden
Failure: 403 Forbidden
Login Failure: all modules ignored
ubuntu@cempedak:~$ sudo euca_conf --get-credentials admin-v2.0.zip /localhost: 8443/getX509? user=admin& code=zBbfEPEwkC wV2JgPR8HPlgR7P 4b2yaCNFR6jxrur Mc5BhZmcLit6Y5j 3jWhJGIJFwsemMa ubWW1R0PmzQw ::1|:8443. .. failed: Connection refused. 127.0.0. 1|:8443. .. connected. ST=CA/L= Santa Barbara/ O=db/OU= Eucalyptus/ CN=localhost' :
--2010-09-23 13:53:31-- https:/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|
Connecting to localhost|
WARNING: cannot verify localhost's certificate, issued by `/C=US/
Self-signed certificate encountered.
HTTP request sent, awaiting response... 200 OK
Length: 5019 (4.9K) [application/zip]
Saving to: `admin-v2.0.zip'
100%[== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= >] 5,019 --.-K/s in 0s
2010-09-23 13:53:32 (551 MB/s) - `admin-v2.0.zip' saved [5019/5019]
ubuntu@cempedak:~$ unzip admin-v2.0.zip 121ecd79- pk.pem 121ecd79- cert.pem DIR=$(dirname $(readlink -f ${BASH_SOURCE})) 10.55.55. 2:8773/ services/ Walrus 10.55.55. 2:8773/ services/ Eucalyptus KEY=${EUCA_ KEY_DIR} /euca2- admin-121ecd79- pk.pem ${EUCA_ KEY_DIR} /euca2- admin-121ecd79- cert.pem ARGS=-Djavax. net.ssl. trustStore= ${EUCA_ KEY_DIR} /jssecacerts CERT=${ EUCA_KEY_ DIR}/cloud- cert.pem KEY='WKy3rMzOWP ouVOxK1p3Ar1C2u RBwa2FBXnCw' KEY='85RMpg3Pux eP5...
Archive: admin-v2.0.zip
To setup the environment run: source /path/to/eucarc
replace eucarc? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: eucarc
inflating: cloud-cert.pem
inflating: jssecacerts
inflating: euca2-admin-
inflating: euca2-admin-
ubuntu@cempedak:~$ cat eucarc
EUCA_KEY_
export S3_URL=http://
export EC2_URL=http://
export EC2_PRIVATE_
export EC2_CERT=
export EC2_JVM_
export EUCALYPTUS_
export EC2_ACCESS_
export EC2_SECRET_