glance image list issue
I have edited all the conf files as per the openstack juno install-configure document.
after editing confs, configuring db and restarting services I can see below services running.
glance 36992 1 0 20:08 ? 00:00:00 /usr/bin/python /usr/bin/glance-registry
glance 37004 36992 0 20:08 ? 00:00:00 /usr/bin/python /usr/bin/glance-registry
glance 37005 36992 0 20:08 ? 00:00:00 /usr/bin/python /usr/bin/glance-registry
glance 41090 1 0 20:54 ? 00:00:00 /usr/bin/python /usr/bin/glance-api
However, I am not able to access the below command not any of the glance commands.
# glance image-list
**Error** finding address for http://controller:9292/versions: Unable to establish connection to http://controller:9292/versions
# glance-api
2016-05-01 20:52:45.948 41001 CRITICAL glance [-] TypeError: _get_value() got an unexpected keyword argument 'current_name'
2016-05-01 20:52:45.948 41001 TRACE glance Traceback (most recent call last):
2016-05-01 20:52:45.948 41001 TRACE glance File "/usr/local/bin/glance-api", line 10, in <module>
2016-05-01 20:52:45.948 41001 TRACE glance sys.exit(main())
2016-05-01 20:52:45.948 41001 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/cmd/api.py", line 69, in main
2016-05-01 20:52:45.948 41001 TRACE glance glance_store.create_stores(config.CONF)
2016-05-01 20:52:45.948 41001 TRACE glance File "/usr/local/lib/python2.7/dist-packages/glance_store/backend.py", line 186, in create_stores
2016-05-01 20:52:45.948 41001 TRACE glance for (store_entry, store_instance) in _load_stores(conf):
2016-05-01 20:52:45.948 41001 TRACE glance File "/usr/local/lib/python2.7/dist-packages/glance_store/backend.py", line 163, in _load_stores
2016-05-01 20:52:45.948 41001 TRACE glance for store_entry in set(conf.glance_store.stores):
2016-05-01 20:52:45.948 41001 TRACE glance File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2309, in __getattr__
2016-05-01 20:52:45.948 41001 TRACE glance return self._conf._get(name, self._group)
2016-05-01 20:52:45.948 41001 TRACE glance File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2043, in _get
2016-05-01 20:52:45.948 41001 TRACE glance value = self._do_get(name, group, namespace)
2016-05-01 20:52:45.948 41001 TRACE glance File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2080, in _do_get
2016-05-01 20:52:45.948 41001 TRACE glance return convert(opt._get_from_namespace(namespace, group_name))
2016-05-01 20:52:45.948 41001 TRACE glance File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 814, in _get_from_namespace
2016-05-01 20:52:45.948 41001 TRACE glance positional=self.positional, current_name=current_name)
2016-05-01 20:52:45.948 41001 TRACE glance TypeError: _get_value() got an unexpected keyword argument 'current_name'
2016-05-01 20:52:45.948 41001 TRACE glance
Can you please point me where am I wrong.
Let me know if any other info is needed.
On what platform (centos/ubuntu/fedora/etc) are you running? How did you install OpenStack (from packages? From source?)?