← Back to team overview

openstack team mailing list archive

Re: Devstack: euca-describe-availability-zones Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error None: None

 

I've modified novarc file as suggested in the OpenStack Compute
Starter Guide. You can see I've added ":proj" to EC2_ACCESS_KEY and
EC2_SECRET_KEY

NOVARC=$(readlink -f "${BASH_SOURCE:-${0}}" 2>/dev/null) ||
    NOVARC=$(python -c 'import os,sys; print
os.path.abspath(os.path.realpath(sys.argv[1]))'
"${BASH_SOURCE:-${0}}")
NOVA_KEY_DIR=${NOVARC%/*}
export EC2_ACCESS_KEY="c5e80767-1691-4f9c-ad24-3e3639a0adc1:proj"
export EC2_SECRET_KEY="ad92bba4-3b14-4a10-9bd2-f3225fd458dc:proj"
export EC2_URL="http://192.168.0.147:8773/services/Cloud";
export S3_URL="http://192.168.0.147:3333";
export EC2_USER_ID=42 # nova does not use user id, but bundling requires it
export EC2_PRIVATE_KEY=${NOVA_KEY_DIR}/pk.pem
export EC2_CERT=${NOVA_KEY_DIR}/cert.pem
export NOVA_CERT=${NOVA_KEY_DIR}/cacert.pem
export EUCALYPTUS_CERT=${NOVA_CERT} # euca-bundle-image seems to
require this set
alias ec2-bundle-image="ec2-bundle-image --cert ${EC2_CERT}
--privatekey ${EC2_PRIVATE_KEY} --user 42 --ec2cert ${NOVA_CERT}"
alias ec2-upload-bundle="ec2-upload-bundle -a ${EC2_ACCESS_KEY} -s
${EC2_SECRET_KEY} --url ${S3_URL} --ec2cert ${NOVA_CERT}"
export NOVA_API_KEY="novaadmin"
export NOVA_USERNAME="novaadmin"
export NOVA_PROJECT_ID="proj"
export NOVA_URL="http://192.168.0.147:8774/v1.1/";
export NOVA_VERSION="1.1"

Is that right?


I'm wondering which configuration document we should use if using
devstack not the regular in installation.

Thanks

Joe


On Fri, Jan 27, 2012 at 11:08 AM, Joe Smithian <joe.smithian@xxxxxxxxx> wrote:
> Hi All,
>
> I've installed devstack using the stack.sh script on Ubuntu 11.10 - 64 bit.
>
> I've started all the service and tried
> euca-describe-availability-zones but it failed as you can see below.
>
>
> localadmin@k:/opt/stack/devstack$ source /home/localadmin/creds/novarc
> localadmin@k:/opt/stack/devstack$ euca-describe-availability-zones
> Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
> None: None
> localadmin@sk:/opt/stack/devstack$
>
>
> Any idea what's wrong?
>
> Thanks
>
> Joe


References