Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cannot start sahara services

I am trying to install sahara on openstack of Mitaka centos7. When I try to start sahara services as below: $ sahara-venv/bin/sahara-api --config-file sahara-venv/etc/sahara.conf

the system report errors as below: Traceback (most recent call last): File "sahara-venv/bin/sahara-all", line 7, in <module> from sahara.cli.sahara_all import main File "/root/sahara-venv/lib/python2.7/site-packages/sahara/cli/sahara_all.py", line 43, in <module> import sahara.main as server File "/root/sahara-venv/lib/python2.7/site-packages/sahara/main.py", line 27, in <module> from sahara import config File "/root/sahara-venv/lib/python2.7/site-packages/sahara/config.py", line 27, in <module> from sahara.topology import topology_helper File "/root/sahara-venv/lib/python2.7/site-packages/sahara/topology/topology_helper.py", line 26, in <module> from sahara.utils.openstack import nova File "/root/sahara-venv/lib/python2.7/site-packages/sahara/utils/openstack/nova.py", line 22, in <module> from sahara.utils.openstack import images File "/root/sahara-venv/lib/python2.7/site-packages/sahara/utils/openstack/images.py", line 73, in <module> class SaharaImageManager(images.ImageManager): AttributeError: 'module' object has no attribute 'ImageManager'

cannot start sahara services

I am trying to install sahara on openstack of Mitaka centos7. When I try to start sahara services as below: below:

$ sahara-venv/bin/sahara-api --config-file sahara-venv/etc/sahara.conf

sahara-venv/etc/sahara.conf

the system report errors as below: Traceback (most recent call last): File "sahara-venv/bin/sahara-all", line 7, in <module> from sahara.cli.sahara_all import main File "/root/sahara-venv/lib/python2.7/site-packages/sahara/cli/sahara_all.py", line 43, in <module> import sahara.main as server File "/root/sahara-venv/lib/python2.7/site-packages/sahara/main.py", line 27, in <module> from sahara import config File "/root/sahara-venv/lib/python2.7/site-packages/sahara/config.py", line 27, in <module> from sahara.topology import topology_helper File "/root/sahara-venv/lib/python2.7/site-packages/sahara/topology/topology_helper.py", line 26, in <module> from sahara.utils.openstack import nova File "/root/sahara-venv/lib/python2.7/site-packages/sahara/utils/openstack/nova.py", line 22, in <module> from sahara.utils.openstack import images File "/root/sahara-venv/lib/python2.7/site-packages/sahara/utils/openstack/images.py", line 73, in <module> class SaharaImageManager(images.ImageManager): AttributeError: 'module' object has no attribute 'ImageManager'

cannot start sahara services

I am trying to install sahara on openstack of Mitaka centos7. When I try to start sahara services as below:

$ sahara-venv/bin/sahara-api --config-file sahara-venv/etc/sahara.conf

the system report errors as below: below:

Traceback (most recent call last):
  File "sahara-venv/bin/sahara-all", line 7, in <module>
    from sahara.cli.sahara_all import main
  File "/root/sahara-venv/lib/python2.7/site-packages/sahara/cli/sahara_all.py", line 43, in <module>
    import sahara.main as server
  File "/root/sahara-venv/lib/python2.7/site-packages/sahara/main.py", line 27, in <module>
    from sahara import config
  File "/root/sahara-venv/lib/python2.7/site-packages/sahara/config.py", line 27, in <module>
    from sahara.topology import topology_helper
  File "/root/sahara-venv/lib/python2.7/site-packages/sahara/topology/topology_helper.py", line 26, in <module>
    from sahara.utils.openstack import nova
  File "/root/sahara-venv/lib/python2.7/site-packages/sahara/utils/openstack/nova.py", line 22, in <module>
    from sahara.utils.openstack import images
  File "/root/sahara-venv/lib/python2.7/site-packages/sahara/utils/openstack/images.py", line 73, in <module>
    class SaharaImageManager(images.ImageManager):
AttributeError: 'module' object has no attribute 'ImageManager'

'ImageManager'