nova image-list gives error during installation
Hi
I am trying to install openstack in two nodes. I am following the manual http://docs.openstack.org/icehouse/in... . When I run the command "nova image-list" to verify nova configuration from page http://docs.openstack.org/icehouse/in... I got the error "ERROR (AttributeError): 'NoneType' object has no attribute 'replace'". I checked "glance image-list"and it was working. To resolve this error I uninstalled python-novaclient and then reinstalled it and then upgrade it using
- pip uninstall python-novaclient
- pip install python-novaclient
- pip install --upgrade python-novaclient
After that I restarted all nova services and then run "nova image-list", then I got the error " ERROR (ConnectionRefused): Unable to establish connection to http://controller:8774/v2/3653a437d79..."
Now I have no idea what to do next to resolve to issue. Can anybody suggest me where I have gone wrong and how to resolve this issue?
Thanks
Hey Anil, post your nova log files here
HI Yashpal, I have nova-api, nova-cert, nova-conductor, nova-consoleauth, nova-manage and nova-scheduler log files in the /var/log/nova folder. I have checked all these log files after running "nova image-list", but no log is generated for this command
I have ran into another problem. I restarted the system and then I ran command "source admin-openrc.sh" and then I ran "glance image-list", I got error "Invalid OpenStack Identity credentials." I have pasted log in http://paste.openstack.org/show/185962/ . "nova image-list" still gives previous error
Hey Anil, it would be helpful if you can post glance conf, nova conf and log files of glance and nova. From your below answer, I think few of your services are not running.
I have pasted nova.conf http://paste.openstack.org/show/190906/ glance-api.conf http://paste.openstack.org/show/190908/ and glance-registry.conf http://paste.openstack.org/show/190907/ . Logs are only generated in the glance api.log which is exactly same as the one pasted in my previous comment