[Openstack] No /etc/nova/nova.conf

Joe Smithian joe.smithian at gmail.com
Thu Jan 26 19:16:04 UTC 2012


Hi,

> I installed OpenStack using devsatck script (http://devstack.org/) on
> Ubuntu 11.10. Installation was successful but there is no /etc/nova/
> directory and It looks like that devstack script doesn't install all
> the nova services.
I tried the flowing commands; please see the error messages and let me
know how I can fix it.

>python /opt/stack/keystone/bin/keystone /opt/stack/keystone/etc/keystone.conf
Starting the Legacy Authentication component
Service API listening on 0.0.0.0:5000
Admin API listening on 0.0.0.0:35357

Login to Dashboard takes a very long time after running those commands
and then displays System Panel Overview page with the following error:

Error: Unable to get service info: [Errno 110] Connection timed out

Error: Unable to get usage info: [Errno 110] Connection timed out


==================================================
>python /opt/stack/keystone/run_tests.py /opt/stack/keystone/etc/keystone.conf

SUCCESS: Endpoint 1 added to tenant customer-x.
SUCCESS: Endpoint 2 added to tenant customer-x.
SUCCESS: Endpoint 3 added to tenant customer-x.
SUCCESS: Endpoint 4 added to tenant customer-x.
SUCCESS: Endpoint 5 added to tenant customer-x.
SUCCESS: Credentials admin created.
Starting the RAX-KEY extension
Starting the Legacy Authentication component
Service API listening on 0.0.0.0:5000
Admin API listening on 0.0.0.0:35357
Running tests...
Stopping the keystone server...
Starting test 2 of 2 with config: ldap.conf.template
Starting the keystone server...
ERROR: Unable to load keystone-legacy-auth from configuration file
/tmp/tmplaOkGe.
Got: ImportError("Class keystone.backends.ldap cannot be found
('module' object has no attribute 'ldap')",)
Stopping the keystone server...
Traceback (most recent call last):
  File "/opt/stack/keystone/run_tests.py", line 34, in <module>
    test_cls().run()
  File "/opt/stack/keystone/keystone/test/__init__.py", line 121, in run
    self.tearDown()
  File "/opt/stack/keystone/keystone/test/__init__.py", line 97, in tearDown
    self.server.kill()
  File "/usr/lib/python2.7/subprocess.py", line 1457, in kill
    self.send_signal(signal.SIGKILL)
  File "/usr/lib/python2.7/subprocess.py", line 1447, in send_signal
    os.kill(self.pid, sig)
OSError: [Errno 3] No such process


=========================================
/home/localadmin/devstack/exercise.sh

++ RUNNING_TIMEOUT=25
++ export ASSOCIATE_TIMEOUT=10
++ ASSOCIATE_TIMEOUT=10
+ popd
~
++ curl -s -d '{"auth":{"passwordCredentials": {"username": "demo",
"password": "secrete"}}}' -H 'Content-type: application/json'
http://127.0.0.1:5000/v2.0/tokens
++ python -c 'import sys; import json; tok =
json.loads(sys.stdin.read()); print
tok['\''access'\'']['\''token'\'']['\''id'\''];'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
+ TOKEN=
=========================
=========================
FAILED euca
FAILED floating_ips
FAILED swift
FAILED volumes

==============================================

Any comment on how to fix it?




On Tue, Jan 24, 2012 at 12:48 PM, Joe Smithian <joe.smithian at gmail.com> wrote:
> Hi All,
>
> I installed OpenStack using devsatck script (http://devstack.org/) on
> Ubuntu 11.10. Installation was successful but there is no /etc/nova/
> directory and It looks like that devstack script doesn't install all
> the nova services. Should I install them manually as described in the
> getting started documents?
>
> All the openStack are installed at /opt/stack/. Should I create
> symbolic link at /etc/nova?
>
>
>
> Thanks
>
> Joe




More information about the Openstack mailing list