Two errors: 1) 403 Forbidden, Authentication Failure. 2[Errno 111] Connection refused)
I followed exactly instructions in the admin manual on openstack website, and got these errors. I have seen several people ask those questions, but did not see answers, so please help.
1. The very first time when I installed nova, when I used "euca-authorize -P icmp -t -1:-1 default" command, it seemed to be able to connect to nova-api, but nova-api threw an error: 403 Forbidden to resource. The nova-api lof file says: Authentication failed. The access key "..." could not be found. I know this is related to credentials, but I just did the zip file and unzip it, and append the novarc to .bashrc, and source .bashrc. What could possibly be wrong here? I have only a single node with nova api, network, objectstore, scheduler, compute rabbitmq...in a single Ubuntu 10.10 computer, no proxy. I also saw that openstack wiki website list this error, but did not see a specific answer of how to correct it.
2. Now second, this error has been driving me nuts for almost two weeks. As I said, the very first time I installed nova without rebooting my computer, I got the error in 1). If I reboot my computer or restart any nova-services (api, network...) then the euca-authorize throws this: [Errno 111] Connection refused. I checked all services: all are up, including rabbitmq. No proxy, all .bashrc has been sourced. Check all IPs in /etc/nova/nova.conf and in .bashrc, they are all the same; just one IP. Tried with both mysql and sqlite, still the same error. My internet is wifi, but I think this should not matter since everything is local so far. Also, after rebooting my computer or any nova services, I see ABSOLUTELY no new log info in nova-api.log in /var/log/
Below are the portion in .bashrc file that was copied from novarc in novacreds.zip. I also copied the other files from this zip to /root/ because when I echoed $EC2_PRIVATE_KEY I got "/root/pk.pem"... so I copied those to /root/. User name and project name are the same: "test"
.bashrc:
NOVARC=$(readlink -f "${BASH_
NOVARC=$(python -c 'import os,sys; print os.path.
NOVA_KEY_
export EC2_ACCESS_
export EC2_SECRET_
export EC2_URL="http://
export S3_URL="http://
export EC2_USER_ID=42 # nova does not use user id, but bundling requires it
export EC2_PRIVATE_
export EC2_CERT=
export NOVA_CERT=
export EUCALYPTUS_
alias ec2-bundle-
alias ec2-upload-
export NOVA_API_
export NOVA_USERNAME=
export NOVA_PROJECT_
export NOVA_URL="http://
nova.conf
--dhcpbridge_
--dhcpbridge=
--logdir=
--state_
--lock_
--verbose=1
--s3_host=
--rabbit_
--ec2_api=
--ec2_url=http://
--fixed_
--network_size=8
--routing_
--sql_connectio
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: