publish tarball Invalid certfailed to upload kernel

Asked by Jason Hollis

What have i done wrong? http://pastebin.com/e7YuM0Gf

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Jason Hollis
Solved:
Last query:
Last reply:
Revision history for this message
Jason Hollis (codebleu) said :
#1

cert files were not in the correct location. Once moved to the correct paths listed in the various variables (via export) everything worked.

Revision history for this message
Rohit Karajgi (rohitk) said :
#2

Jason, can you please explain what you did to make it work? I see something related to the
'NOVA_KEY_DIR=$(pushd $(dirname $BASH_SOURCE)>/dev/null; pwd; popd>/dev/null) ' environment variable not getting correcrtly set. Hence the certs folder is not set in 'NOVA_CERT=${NOVA_KEY_DIR}/cacert.pem'

What value does the NOVA_KEY_DIR usually take?. My packaged installation of nova is in /var/lib/nova.
Some of the workarounds I tried was copying the .pem files from ~/creds to /var/lib/nova/CA/certs , /var/lib/nova/CA/newcerts.

I am still seeing the exact same error that you encountered, and I'm using the tty-linux Ubuntu image.

Revision history for this message
Vish Ishaya (vishvananda) said :
#3

it should be the directory where you extracted the pem files and the novarc. That magic line is supposed to set the key dir to the directory that the novarc is in.

Vish

On May 8, 2011, at 8:20 PM, Rohit Karajgi wrote:

> Question #148069 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/148069
>
> Rohit Karajgi posted a new comment:
> Jason, can you please explain what you did to make it work? I see something related to the
> 'NOVA_KEY_DIR=$(pushd $(dirname $BASH_SOURCE)>/dev/null; pwd; popd>/dev/null) ' environment variable not getting correcrtly set. Hence the certs folder is not set in 'NOVA_CERT=${NOVA_KEY_DIR}/cacert.pem'
>
> What value does the NOVA_KEY_DIR usually take?. My packaged installation of nova is in /var/lib/nova.
> Some of the workarounds I tried was copying the .pem files from ~/creds to /var/lib/nova/CA/certs , /var/lib/nova/CA/newcerts.
>
> I am still seeing the exact same error that you encountered, and I'm
> using the tty-linux Ubuntu image.
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
BobMcD (mcbobbo) said :
#4

Modifying ~/.bashrc to "NOVA_KEY_DIR=/root/creds/" fixed it for me.