django-admin runserver problems with openstack_dashboard

Asked by smarta94

Hello,
I have been trying to integrate murano into the horizon (dashboard) environment for openstack juno. As far as I can tell, I have murano installed on the sytem -- I am able to populate the mysql database and run murano commands on teh command line. I have changed the settings.py and local_settings file as indicated in the manual installation guide. I am unable to connect to an outside network (not an option even temporarily) so I have to setup my own repos for pip which leads to an issue when tox calls python setup.py (as the setuptools looks to pypi's online repo by default and I don't know a way around that). This results in me installing to the local system isntead of a virtual environment -- this may be a part of the problem but I don't see why it really should be.
I have managed to start murano-engine (using /etc/murano/... and not ~/etc/murano/...), the same for murano-api. They connect to my rabbit server without any problems and I have left them running in separate screen sessions.

The problem:
The next step is to start a django server for the muranodashboard -- either via django-admin runserver 127.0.0.1:8000 --settings=muranodashboard.settings (or the python manage.py ruserver ... and no -settings, as that is called from the manage.py [in theory]).
Using either of these commands, it seems to find the muranodashboard.settings, I think, but cannot import the settings, claiming that "No module named openstack_dashboard" exists, and I know I have openstack dashboard running because I've been using it to host my cloud for the last several months. No explicit module "openstack_dashboard" exists in python, as the folders are in /usr/share/openstack-dashboard/openstack_dashboard and the current install using the same "from openstack_dashboard import exception" line exists in the current /etc/openstack-dashboard/local_settings file.

python ./manage.py runserver 127.0.0.1:8080 produces:

Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
    commands = get_commands()
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 107, in get_commands
    apps = settings.INSTALLED_APPS
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'muranodashboard.settings.py' (Is it on sys.path? Is there an import error in the settings file?): No module named openstack_dashboard

What are the correct steps for integrating the murano element into the horizon dashboard on a working openstack cloud? Is it neccessary to run everything for murano in a virutal environment, as that is all that the documenation appears to reference?

Question information

Language:
English Edit question
Status:
Answered
For:
Murano Edit question
Assignee:
Ekaterina Chernova Edit question
Last query:
Last reply:
Revision history for this message
Ekaterina Chernova (efedorova) said :
#1

Hi!

You don't have to run manage.py inside muranodashboard, probably we need to remove this file at all.

Muranodashboard is a plugin for horizon, so horizon should to be run as usual.

Just make sure you copy the plugin file into the horizon - it is described here http://murano.readthedocs.org/en/stable-kilo/install/index.html#install-murano-dashboard.

Please, contact me at #murano channel if you have any other questions.
Regards, Katya.

Revision history for this message
smarta94 (smarta94) said :
#2

Is there a reason this step is not mentioned for Juno? Also, I don't seem to have a local/_50_murano.py file in the juno release for muranodashboard (the local folder only has __init__.py, local_settings.py, and local_settings.py.example (well technically only 2 files as the local_settings was created in instructions as another step)). Also, the update_setting.sh was run, which copied a few lines from the local_settings into the existing /etc/.... local_settings file -- I assume this is not the plugin information as it is only a couple of new lines and no realy changes are made to the file.

Revision history for this message
Serg Melikyan (smelikyan) said :
#3

Please, use documentation for stable/juno http://murano.readthedocs.org/en/stable-juno/install/index.html

Revision history for this message
smarta94 (smarta94) said :
#4

I have gone through that documentation step by step and that is why I posted the original question -- running python manage.py runserver ip:port produces the error .... File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'muranodashboard.settings.py' (Is it on sys.path? Is there an import error in the settings file?): No module named openstack_dashboard

Revision history for this message
Serg Melikyan (smelikyan) said :
#5

Probably one of the dependencies for murano-dashboard is missing, if I remember correctly python manage.py runserver may return this error, even if something happened not related to the particular module. Do you able to run this under debugger?

Revision history for this message
smarta94 (smarta94) said :
#6

I have installed all of the modules listed in the requirements.txt (and test_requirements). Because I am on a private network with the cloud network I am setting up, I cannot connect to pypi.python.org to run the tox setup (it calls python setup.py which defaults to pypi and I don't know of a way to change where setuptools looks for the module files at that step). I do have openstack_dashboard file existing and the same call is made in the current dashboard filles (the from openstack_dashboard import .... line) as mentioned in original post. The way the error reads suggests the problem lies with that call but I don't see how it can't find it for the runserver call when it can in the currently running horizon local_settings file. What would be the steps to run it in a debugger?

Revision history for this message
smarta94 (smarta94) said :
#7

Running under pdb debug mode returns essentiall the same results as I posted earlier:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/pdb.py", line 1314, in main
    pdb._runscript(mainpyfile)
  File "/usr/lib64/python2.7/pdb.py", line 1233, in _runscript
    self.run(statement)
  File "/usr/lib64/python2.7/bdb.py", line 400, in run
    exec cmd in globals, locals
  File "<string>", line 1, in <module>
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 279, in execute
    saved_locale = translation.get_language()
  File "/usr/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 154, in get_language
    return _trans.get_language()
  File "/usr/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 52, in __getattr__
    if settings.USE_I18N:
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'muranodashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named openstack_dashboard
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /usr/lib/python2.7/site-packages/django/conf/__init__.py(132)__init__()
-> % (self.SETTINGS_MODULE, e)

Revision history for this message
Ekaterina Chernova (efedorova) said :
#8

it says openstack_dashboard module is missing. Did you run the venv with tox? The tox is responsible to install the valid version of horizon, witch contains openstack_dashboard. please make sure horizion and openstack_dashboard are installed in your environmnet

Revision history for this message
smarta94 (smarta94) said :
#9

I am unable to run tox because setup_tools is called from the python installation that gets called after the pip install. I have no external network connection, as stated numerous times. I haven't found a way to tell python setup.py to look to my local repository, the pip finds all the packages initially, then calls python setup.py (via the tox call), and then fails out.
I have a tox file with an added
indexserver =
     default = http://my.local.repo/pip/simple
section to point to the local pypi repository I have.

When I run tox, the following results:

 http:/my.local.repo/pip/simple/pbr/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/pbr/setup.py) egg_info for package pbr
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found

    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking Babel>=1.3 (from -r /home/user/murano-stable-juno/requirements.txt (line 5))
  http:/my.local.repo/pip/simple/Babel/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/Babel/setup.py) egg_info for package Babel

    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
Downloading/unpacking SQLAlchemy>=0.8.4,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,!=0.9.4,!=0.9.5,!=0.9.6,<=0.9.99 (from -r /home/user/murano-stable-juno/requirements.txt (line 6))
  http:/my.local.repo/pip/simple/SQLAlchemy/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/SQLAlchemy/setup.py) egg_info for package SQLAlchemy

    warning: no files found matching '*.jpg' under directory 'doc'
    warning: no files found matching '*.mako' under directory 'doc'
    warning: no files found matching 'distribute_setup.py'
    warning: no files found matching 'sa2to3.py'
    warning: no files found matching 'ez_setup.py'
    no previously-included directories found matching 'doc/build/output'
Downloading/unpacking alembic>=0.6.4 (from -r /home/user/murano-stable-juno/requirements.txt (line 7))
  http:/my.local.repo/pip/simple/alembic/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/alembic/setup.py) egg_info for package alembic

    warning: no files found matching '*.jpg' under directory 'docs'
    warning: no files found matching '*.sty' under directory 'docs'
    warning: no files found matching '*.dat' under directory 'tests'
    warning: no files found matching 'distribute_setup.py'
    no previously-included directories found matching 'docs/build/output'
Downloading/unpacking anyjson>=0.3.3 (from -r /home/user/murano-stable-juno/requirements.txt (line 8))
  http:/my.local.repo/pip/simple/anyjson/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Downloading anyjson-0.3.3.tar.gz
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/anyjson/setup.py) egg_info for package anyjson

Downloading/unpacking eventlet>=0.15.1 (from -r /home/user/murano-stable-juno/requirements.txt (line 9))
  http:/my.local.repo/pip/simple/eventlet/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/eventlet/setup.py) egg_info for package eventlet

Downloading/unpacking PasteDeploy>=1.5.0 (from -r /home/user/murano-stable-juno/requirements.txt (line 10))
  http:/my.local.repo/pip/simple/PasteDeploy/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Downloading PasteDeploy-1.5.0.tar.gz
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/PasteDeploy/setup.py) egg_info for package PasteDeploy

Downloading/unpacking Routes>=1.12.3,!=2.0 (from -r /home/user/murano-stable-juno/requirements.txt (line 11))
  http:/my.local.repo/pip/simple/Routes/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/Routes/setup.py) egg_info for package Routes

    warning: no previously-included files matching '.DS_Store' found anywhere in distribution
    warning: no previously-included files matching '*.hgignore' found anywhere in distribution
    warning: no previously-included files matching '*.hgtags' found anywhere in distribution
Downloading/unpacking WebOb>=1.2.3 (from -r /home/user/murano-stable-juno/requirements.txt (line 12))
  http:/my.local.repo/pip/simple/WebOb/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/WebOb/setup.py) egg_info for package WebOb

    no previously-included directories found matching '*.pyc'
    no previously-included directories found matching '*.pyo'
http:/my.local.repo/pip/simple/wsgiref/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
Requirement already up-to-date: wsgiref>=0.1.2 in /usr/lib64/python2.7 (from -r /home/user/murano-stable-juno/requirements.txt (line 13))
Downloading/unpacking argparse (from -r /home/user/murano-stable-juno/requirements.txt (line 14))
  http:/my.local.repo/pip/simple/argparse/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/argparse/setup.py) egg_info for package argparse

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
Downloading/unpacking ordereddict (from -r /home/user/murano-stable-juno/requirements.txt (line 15))
  http:/my.local.repo/pip/simple/ordereddict/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Downloading ordereddict-1.1.tar.gz
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/ordereddict/setup.py) egg_info for package ordereddict

Downloading/unpacking kombu>=2.5.0 (from -r /home/user/murano-stable-juno/requirements.txt (line 16))
  http:/my.local.repo/pip/simple/kombu/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/kombu/setup.py) egg_info for package kombu

Downloading/unpacking lockfile>=0.8 (from -r /home/user/murano-stable-juno/requirements.txt (line 17))
  http:/my.local.repo/pip/simple/lockfile/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Downloading lockfile-0.8.tar.gz
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/lockfile/setup.py) egg_info for package lockfile

Downloading/unpacking pycrypto>=2.6 (from -r /home/user/murano-stable-juno/requirements.txt (line 18))
  http:/my.local.repo/pip/simple/pycrypto/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/pycrypto/setup.py) egg_info for package pycrypto

Downloading/unpacking psutil>=1.1.1,<2.0.0 (from -r /home/user/murano-stable-juno/requirements.txt (line 19))
  http:/my.local.repo/pip/simple/psutil/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/psutil/setup.py) egg_info for package psutil

Downloading/unpacking iso8601>=0.1.9 (from -r /home/user/murano-stable-juno/requirements.txt (line 20))
  http:/my.local.repo/pip/simple/iso8601/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Downloading iso8601-0.1.9.tar.gz
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/iso8601/setup.py) egg_info for package iso8601

Downloading/unpacking six>=1.7.0 (from -r /home/user/murano-stable-juno/requirements.txt (line 21))
  http:/my.local.repo/pip/simple/six/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Downloading six-1.9.0.tar.gz
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/six/setup.py) egg_info for package six

    no previously-included directories found matching 'documentation/_build'
Downloading/unpacking netaddr>=0.7.12 (from -r /home/user/murano-stable-juno/requirements.txt (line 22))
  http:/my.local.repo/pip/simple/netaddr/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/netaddr/setup.py) egg_info for package netaddr

    warning: no previously-included files matching '*.svn*' found anywhere in distribution
    warning: no previously-included files matching '*.git*' found anywhere in distribution
Downloading/unpacking PyYAML>=3.1.0 (from -r /home/user/murano-stable-juno/requirements.txt (line 23))
  http:/my.local.repo/pip/simple/PyYAML/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/PyYAML/setup.py) egg_info for package PyYAML

Downloading/unpacking jsonpatch>=1.1 (from -r /home/user/murano-stable-juno/requirements.txt (line 24))
  http:/my.local.repo/pip/simple/jsonpatch/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Downloading jsonpatch-1.1.tar.gz
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/jsonpatch/setup.py) egg_info for package jsonpatch

Downloading/unpacking keystonemiddleware>=1.0.0 (from -r /home/user/murano-stable-juno/requirements.txt (line 25))
  http:/my.local.repo/pip/simple/keystonemiddleware/ uses an insecure transport scheme (http). Consider using https if icarus.cas.local has it available
  Running setup.py (path:/home/user/murano-stable-juno/.tox/pep8/build/keystonemiddleware/setup.py) egg_info for package keystonemiddleware
    Download error on https:/pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
    Couldn't find index page for 'pbr' (maybe misspelled?)
    Download error on https:/pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
    No local packages or download links found for pbr
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/home/user/murano-stable-juno/.tox/pep8/build/keystonemiddleware/setup.py", line 30, in <module>
        pbr=True)
      File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/setuptools/dist.py", line 239, in __init__
        self.fetch_build_eggs(attrs.pop('setup_requires'))
      File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/setuptools/dist.py", line 263, in fetch_build_eggs
        parse_requirements(requires), installer=self.fetch_build_egg
      File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/pkg_resources.py", line 564, in resolve
        dist = best[req.key] = env.best_match(req, self, installer)
      File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/pkg_resources.py", line 802, in best_match
        return self.obtain(req, installer) # try and download/install
      File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/pkg_resources.py", line 814, in obtain
        return installer(requirement)
      File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_egg
        return cmd.easy_install(req)
      File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 587, in easy_install
        raise DistutilsError(msg)
    distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr')
    Complete output from command python setup.py egg_info:
    Download error on https:/pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!

Couldn't find index page for 'pbr' (maybe misspelled?)

Download error on https:/pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!

No local packages or download links found for pbr

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/home/user/murano-stable-juno/.tox/pep8/build/keystonemiddleware/setup.py", line 30, in <module>

    pbr=True)

  File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup

    _setup_distribution = dist = klass(attrs)

  File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/setuptools/dist.py", line 239, in __init__

    self.fetch_build_eggs(attrs.pop('setup_requires'))

  File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/setuptools/dist.py", line 263, in fetch_build_eggs

    parse_requirements(requires), installer=self.fetch_build_egg

  File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/pkg_resources.py", line 564, in resolve

    dist = best[req.key] = env.best_match(req, self, installer)

  File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/pkg_resources.py", line 802, in best_match

    return self.obtain(req, installer) # try and download/install

  File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/pkg_resources.py", line 814, in obtain

    return installer(requirement)

  File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_egg

    return cmd.easy_install(req)

  File "/home/user/murano-stable-juno/.tox/pep8/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 587, in easy_install

    raise DistutilsError(msg)

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr')

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/user/murano-stable-juno/.tox/pep8/build/keystonemiddleware
Storing debug log for failure in /root/.pip/pip.log

ERROR: could not install deps [-r/home/user/murano-stable-juno/requirements.txt, -r/home/user/murano-stable-juno/test-requirements.txt]
____________________________________________________________________________ summary _____________________________________________________________________________
ERROR: py26: InterpreterNotFound: python2.6
ERROR: py27: could not install deps [-r/home/user/murano-stable-juno/requirements.txt, -r/home/user/murano-stable-juno/test-requirements.txt]
ERROR: pep8: could not install deps [-r/home/user/murano-stable-juno/requirements.txt, -r/home/user/murano-stable-juno/test-requirements.txt]
[root@r001ds01 murano]#

Revision history for this message
Ekaterina Chernova (efedorova) said :
#10

Looks like new version of pbr is the reason of this fail :( We will send the patch shortly. we have the same problem for stable/kilo recently. For now you can install horiozn manually where you test before

Revision history for this message
smarta94 (smarta94) said :
#11

So you are saying to install horizon into the regular OS and not virtual env?
I already have a working dashboard running, I am simply trying to add murano to the horizon dashboard in my working environment. What files need to be adjusted to make the muranodashboard "plugin" show up. My /usr/lib/python2.7/site-packages contains the murano, muranoclient, and muranodashboard folders that seem to match the contents of the murano packages I manually pip isntalled from my local repo. The kilo release (as you said earlier) requires copying a plugin file over to /usr/share/openstack-dashboard/openstack_dashboard/local/enabled folder, however the is no plugin file listed for the juno release of muranodashboard.

Revision history for this message
Ekaterina Chernova (efedorova) said :
#12

After this fix https://review.openstack.org/#/c/183101/ will be merged, tox will work again.

update-setting.sh put all necessary information to the horizon settings. it should be run with those parameters

./update_setting.sh --input <...openstack_dashboard/setting.py> --output muranodashboard/settings.py

Revision history for this message
smarta94 (smarta94) said :
#13

I believe you may have the input and output backwards? Nothing seemed to change when I had it as you have, but ran
./update_setting.sh --output=/usr/share/openstack-dashboard/openstack_dashboard/settings.py --input=/usr/lib/python2.7/site-packages/muranodashboard/settings.py
and restarted httpd and the murrano apears in my horizon dashboard -- I have yet to test functionallity though.

Thanks,
AAA

Revision history for this message
Kirill Zaitsev (kzaitsev) said :
#14

Looking at the original error in your question "ImportError: Could not import settings 'muranodashboard.settings.py' (Is it on sys.path? Is there an import error in the settings file?): No module named openstack_dashboard"

From my perspective it looks like horizon is not on PYTHONPATH when you launch runserver

I would suggest running

PYTHONPATH=/path/to/dir/that/contains/openstack_dashboard python ./manage.py runserver 127.0.0.1:8080

Revision history for this message
smarta94 (smarta94) said :
#15

Thanks for the help getting murano to show up on a working dashboard. I have that now, but has led to another problem that may be linked to something else, I'm not postive though.

When I try to either launch an app with quick deploy or with the add to environment option, the dashboard gets stuck at the loading point either imediatly on clicking the app or direclty after clicking the first next option (essentially the give it a name). I am able to create an environment, but not able to launch any apps period. I was working on troubleshooting this and decided to check if heat would launch stack at all and ran into an issue with even launching a single vm stack. I have posted information on this issue here: https://answers.launchpad.net/ubuntu/+source/heat/+question/267071 .

Additionally, what is the best procedure for adding the murano-api and murano-engine services to the running services without having to run them on a screen or separate terminal?

Thanks again

Revision history for this message
Ekaterina Chernova (efedorova) said :
#16

Please, provide murano-dashboard logs, do you have any error there?

We do have murano services available only in Mirantis Openstack https://www.mirantis.com/products/mirantis-openstack-software/

Revision history for this message
smarta94 (smarta94) said :
#17

API Logs:
2015-05-18 11:26:39.657 20753 DEBUG keystonemiddleware.auth_token [-] Removing headers from request environment: X-Service-Catalog,X-Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _remove_auth_headers /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:780
2015-05-18 11:26:39.658 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating user token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:708
2015-05-18 11:26:39.659 20753 DEBUG keystonemiddleware.auth_token [-] Returning cached token _cache_get /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:1793
2015-05-18 11:26:39.659 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:727
2015-05-18 11:26:39.660 20753 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles None __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:746
2015-05-18 11:26:39.660 20753 DEBUG routes.middleware [-] Matched GET /environments __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2015-05-18 11:26:39.661 20753 DEBUG routes.middleware [-] Route path: '/environments', defaults: {'action': u'index', 'controller': <murano.common.wsgi.Resource object at 0x36893d0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2015-05-18 11:26:39.661 20753 DEBUG routes.middleware [-] Match dict: {'action': u'index', 'controller': <murano.common.wsgi.Resource object at 0x36893d0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2015-05-18 11:26:39.661 20753 DEBUG murano.common.wsgi [-] Empty body provided in request deserialize_body /usr/lib/python2.7/site-packages/murano/common/wsgi.py:664
2015-05-18 11:26:39.662 20753 DEBUG murano.api.v1.environments [-] Environments:List index /usr/lib/python2.7/site-packages/murano/api/v1/environments.py:44
2015-05-18 11:26:39.662 20753 DEBUG murano.openstack.common.policy [-] Rule list_environments will be now enforced enforce /usr/lib/python2.7/site-packages/murano/openstack/common/policy.py:288
2015-05-18 11:26:39.662 20753 AUDIT murano.common.policy [-] Policy check succeeded for rule 'list_environments' on target {}
2015-05-18 11:26:39.668 20753 DEBUG murano.api.v1.request_statistics [-] Updating count stats for Environments, Index on object <murano.api.v1.request_statistics.RequestStatisticsCollection object at 0x2e45f90> update_count /usr/lib/python2.7/site-packages/murano/api/v1/request_statistics.py:74
2015-05-18 11:26:39.668 20753 INFO eventlet.wsgi [-] 127.0.0.1 - - [18/May/2015 11:26:39] "GET /v1/environments HTTP/1.1" 200 380 0.012687
2015-05-18 11:26:39.670 20753 INFO eventlet.wsgi [-] (20753) accepted ('127.0.0.1', 34546)
2015-05-18 11:26:39.671 20753 DEBUG murano.api.middleware.version_negotiation [-] Determining version of request: GET /v1/environments/3d10bcfbc80345328a22ecc7c3bfbb42 Accept: */* process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:48
2015-05-18 11:26:39.672 20753 DEBUG murano.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:50
2015-05-18 11:26:39.672 20753 DEBUG murano.api.middleware.version_negotiation [-] Matched version: v1 process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:62
2015-05-18 11:26:39.673 20753 DEBUG murano.api.middleware.version_negotiation [-] new path /v1/environments/3d10bcfbc80345328a22ecc7c3bfbb42 process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:63
2015-05-18 11:26:39.673 20753 DEBUG keystonemiddleware.auth_token [-] Removing headers from request environment: X-Service-Catalog,X-Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _remove_auth_headers /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:780
2015-05-18 11:26:39.674 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating user token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:708
2015-05-18 11:26:39.675 20753 DEBUG keystonemiddleware.auth_token [-] Returning cached token _cache_get /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:1793
2015-05-18 11:26:39.675 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:727
2015-05-18 11:26:39.675 20753 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles None __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:746
2015-05-18 11:26:39.676 20753 DEBUG routes.middleware [-] Matched GET /environments/3d10bcfbc80345328a22ecc7c3bfbb42 __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2015-05-18 11:26:39.676 20753 DEBUG routes.middleware [-] Route path: '/environments/{environment_id}', defaults: {'action': u'show', 'controller': <murano.common.wsgi.Resource object at 0x36893d0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2015-05-18 11:26:39.676 20753 DEBUG routes.middleware [-] Match dict: {'action': u'show', 'controller': <murano.common.wsgi.Resource object at 0x36893d0>, 'environment_id': u'3d10bcfbc80345328a22ecc7c3bfbb42'} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2015-05-18 11:26:39.677 20753 DEBUG murano.common.wsgi [-] Empty body provided in request deserialize_body /usr/lib/python2.7/site-packages/murano/common/wsgi.py:664
2015-05-18 11:26:39.677 20753 DEBUG murano.api.v1.environments [-] Environments:Show <Id: 3d10bcfbc80345328a22ecc7c3bfbb42> show /usr/lib/python2.7/site-packages/murano/api/v1/environments.py:78
2015-05-18 11:26:39.677 20753 DEBUG murano.openstack.common.policy [-] Rule show_environment will be now enforced enforce /usr/lib/python2.7/site-packages/murano/openstack/common/policy.py:288
2015-05-18 11:26:39.678 20753 AUDIT murano.common.policy [-] Policy check succeeded for rule 'show_environment' on target {'environment_id': u'3d10bcfbc80345328a22ecc7c3bfbb42'}
2015-05-18 11:26:39.684 20753 DEBUG murano.api.v1.request_statistics [-] Updating count stats for Environments, Show on object <murano.api.v1.request_statistics.RequestStatisticsCollection object at 0x2e45f90> update_count /usr/lib/python2.7/site-packages/murano/api/v1/request_statistics.py:74
2015-05-18 11:26:39.684 20753 INFO eventlet.wsgi [-] 127.0.0.1 - - [18/May/2015 11:26:39] "GET /v1/environments/3d10bcfbc80345328a22ecc7c3bfbb42 HTTP/1.1" 200 376 0.013109
2015-05-18 11:26:45.008 20753 INFO eventlet.wsgi [-] (20753) accepted ('127.0.0.1', 34598)
2015-05-18 11:26:45.009 20753 DEBUG murano.api.middleware.version_negotiation [-] Determining version of request: GET /v1/catalog/packages/d00b268c13f549cfa7a25c707ffbedba Accept: */* process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:48
2015-05-18 11:26:45.009 20753 DEBUG murano.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:50
2015-05-18 11:26:45.009 20753 DEBUG murano.api.middleware.version_negotiation [-] Matched version: v1 process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:62
2015-05-18 11:26:45.010 20753 DEBUG murano.api.middleware.version_negotiation [-] new path /v1/catalog/packages/d00b268c13f549cfa7a25c707ffbedba process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:63
2015-05-18 11:26:45.010 20753 DEBUG keystonemiddleware.auth_token [-] Removing headers from request environment: X-Service-Catalog,X-Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _remove_auth_headers /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:780
2015-05-18 11:26:45.010 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating user token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:708
2015-05-18 11:26:45.011 20753 DEBUG keystonemiddleware.auth_token [-] Returning cached token _cache_get /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:1793
2015-05-18 11:26:45.011 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:727
2015-05-18 11:26:45.011 20753 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles None __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:746
2015-05-18 11:26:45.012 20753 DEBUG routes.middleware [-] Matched GET /catalog/packages/d00b268c13f549cfa7a25c707ffbedba __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2015-05-18 11:26:45.012 20753 DEBUG routes.middleware [-] Route path: '/catalog/packages/{package_id}', defaults: {'action': u'get', 'controller': <murano.common.wsgi.Resource object at 0x3691bd0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2015-05-18 11:26:45.012 20753 DEBUG routes.middleware [-] Match dict: {'action': u'get', 'package_id': u'd00b268c13f549cfa7a25c707ffbedba', 'controller': <murano.common.wsgi.Resource object at 0x3691bd0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2015-05-18 11:26:45.012 20753 DEBUG murano.common.wsgi [-] Empty body provided in request deserialize_body /usr/lib/python2.7/site-packages/murano/common/wsgi.py:664
2015-05-18 11:26:45.013 20753 DEBUG murano.openstack.common.policy [-] Rule get_package will be now enforced enforce /usr/lib/python2.7/site-packages/murano/openstack/common/policy.py:288
2015-05-18 11:26:45.013 20753 AUDIT murano.common.policy [-] Policy check succeeded for rule 'get_package' on target {'package_id': u'd00b268c13f549cfa7a25c707ffbedba'}
2015-05-18 11:26:45.020 20753 INFO eventlet.wsgi [-] 127.0.0.1 - - [18/May/2015 11:26:45] "GET /v1/catalog/packages/d00b268c13f549cfa7a25c707ffbedba HTTP/1.1" 200 592 0.011610
2015-05-18 11:26:45.023 20753 INFO eventlet.wsgi [-] (20753) accepted ('127.0.0.1', 34599)
2015-05-18 11:26:45.023 20753 DEBUG murano.api.middleware.version_negotiation [-] Determining version of request: GET /v1/environments Accept: */* process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:48
2015-05-18 11:26:45.024 20753 DEBUG murano.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:50
2015-05-18 11:26:45.024 20753 DEBUG murano.api.middleware.version_negotiation [-] Matched version: v1 process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:62
2015-05-18 11:26:45.024 20753 DEBUG murano.api.middleware.version_negotiation [-] new path /v1/environments process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:63
2015-05-18 11:26:45.024 20753 DEBUG keystonemiddleware.auth_token [-] Removing headers from request environment: X-Service-Catalog,X-Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _remove_auth_headers /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:780
2015-05-18 11:26:45.024 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating user token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:708
2015-05-18 11:26:45.025 20753 DEBUG keystonemiddleware.auth_token [-] Returning cached token _cache_get /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:1793
2015-05-18 11:26:45.025 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:727
2015-05-18 11:26:45.026 20753 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles None __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:746
2015-05-18 11:26:45.026 20753 DEBUG routes.middleware [-] Matched GET /environments __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2015-05-18 11:26:45.026 20753 DEBUG routes.middleware [-] Route path: '/environments', defaults: {'action': u'index', 'controller': <murano.common.wsgi.Resource object at 0x36893d0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2015-05-18 11:26:45.026 20753 DEBUG routes.middleware [-] Match dict: {'action': u'index', 'controller': <murano.common.wsgi.Resource object at 0x36893d0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2015-05-18 11:26:45.027 20753 DEBUG murano.common.wsgi [-] Empty body provided in request deserialize_body /usr/lib/python2.7/site-packages/murano/common/wsgi.py:664
2015-05-18 11:26:45.027 20753 DEBUG murano.api.v1.environments [-] Environments:List index /usr/lib/python2.7/site-packages/murano/api/v1/environments.py:44
2015-05-18 11:26:45.027 20753 DEBUG murano.openstack.common.policy [-] Rule list_environments will be now enforced enforce /usr/lib/python2.7/site-packages/murano/openstack/common/policy.py:288
2015-05-18 11:26:45.027 20753 AUDIT murano.common.policy [-] Policy check succeeded for rule 'list_environments' on target {}
2015-05-18 11:26:45.031 20753 DEBUG murano.api.v1.request_statistics [-] Updating count stats for Environments, Index on object <murano.api.v1.request_statistics.RequestStatisticsCollection object at 0x2e45f90> update_count /usr/lib/python2.7/site-packages/murano/api/v1/request_statistics.py:74
2015-05-18 11:26:45.031 20753 INFO eventlet.wsgi [-] 127.0.0.1 - - [18/May/2015 11:26:45] "GET /v1/environments HTTP/1.1" 200 380 0.007795
2015-05-18 11:26:45.033 20753 INFO eventlet.wsgi [-] (20753) accepted ('127.0.0.1', 34600)
2015-05-18 11:26:45.033 20753 DEBUG murano.api.middleware.version_negotiation [-] Determining version of request: GET /v1/environments/3d10bcfbc80345328a22ecc7c3bfbb42 Accept: */* process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:48
2015-05-18 11:26:45.033 20753 DEBUG murano.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:50
2015-05-18 11:26:45.034 20753 DEBUG murano.api.middleware.version_negotiation [-] Matched version: v1 process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:62
2015-05-18 11:26:45.034 20753 DEBUG murano.api.middleware.version_negotiation [-] new path /v1/environments/3d10bcfbc80345328a22ecc7c3bfbb42 process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:63
2015-05-18 11:26:45.034 20753 DEBUG keystonemiddleware.auth_token [-] Removing headers from request environment: X-Service-Catalog,X-Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _remove_auth_headers /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:780
2015-05-18 11:26:45.034 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating user token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:708
2015-05-18 11:26:45.035 20753 DEBUG keystonemiddleware.auth_token [-] Returning cached token _cache_get /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:1793
2015-05-18 11:26:45.035 20753 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:727
2015-05-18 11:26:45.035 20753 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles None __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:746
2015-05-18 11:26:45.036 20753 DEBUG routes.middleware [-] Matched GET /environments/3d10bcfbc80345328a22ecc7c3bfbb42 __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2015-05-18 11:26:45.036 20753 DEBUG routes.middleware [-] Route path: '/environments/{environment_id}', defaults: {'action': u'show', 'controller': <murano.common.wsgi.Resource object at 0x36893d0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2015-05-18 11:26:45.036 20753 DEBUG routes.middleware [-] Match dict: {'action': u'show', 'controller': <murano.common.wsgi.Resource object at 0x36893d0>, 'environment_id': u'3d10bcfbc80345328a22ecc7c3bfbb42'} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2015-05-18 11:26:45.036 20753 DEBUG murano.common.wsgi [-] Empty body provided in request deserialize_body /usr/lib/python2.7/site-packages/murano/common/wsgi.py:664
2015-05-18 11:26:45.037 20753 DEBUG murano.api.v1.environments [-] Environments:Show <Id: 3d10bcfbc80345328a22ecc7c3bfbb42> show /usr/lib/python2.7/site-packages/murano/api/v1/environments.py:78
2015-05-18 11:26:45.037 20753 DEBUG murano.openstack.common.policy [-] Rule show_environment will be now enforced enforce /usr/lib/python2.7/site-packages/murano/openstack/common/policy.py:288
2015-05-18 11:26:45.037 20753 AUDIT murano.common.policy [-] Policy check succeeded for rule 'show_environment' on target {'environment_id': u'3d10bcfbc80345328a22ecc7c3bfbb42'}
2015-05-18 11:26:45.042 20753 DEBUG murano.api.v1.request_statistics [-] Updating count stats for Environments, Show on object <murano.api.v1.request_statistics.RequestStatisticsCollection object at 0x2e45f90> update_count /usr/lib/python2.7/site-packages/murano/api/v1/request_statistics.py:74
2015-05-18 11:26:45.042 20753 INFO eventlet.wsgi [-] 127.0.0.1 - - [18/May/2015 11:26:45] "GET /v1/environments/3d10bcfbc80345328a22ecc7c3bfbb42 HTTP/1.1" 200 376 0.009095
^[^[2015-05-18 11:27:41.156 20753 DEBUG murano.common.statservice [-] Updating statistic information. update_stats /usr/lib/python2.7/site-packages/murano/common/statservice.py:57
2015-05-18 11:27:41.156 20753 DEBUG murano.common.statservice [-] Stats object: <murano.api.v1.request_statistics.RequestStatisticsCollection object at 0x2e45f90> update_stats /usr/lib/python2.7/site-packages/murano/common/statservice.py:58
2015-05-18 11:27:41.157 20753 DEBUG murano.common.statservice [-] Stats: Requests:72 Errors: 0 Ave.Res.Time 0.0060
Per tenant: {u'6e0e48c7308e483ba234cfa742b7d2f6': 72} update_stats /usr/lib/python2.7/site-packages/murano/common/statservice.py:64

murano-engine logs: nothing corresponding to dashboard activity.

I don't seem to have a log for murano-dashboard direclty -- where would those be located, I assume the murano-api are what are associated with the dashboard.

Revision history for this message
smarta94 (smarta94) said :
#18

Where on that page are the service files linked at?

Also, has any further investigating this problem been done? I haven't seen a reply

As a reminder, when I try to either launch an app with quick deploy or with the add to environment option, the dashboard gets stuck at the "Working" state or "Loading" point either direclty after clicking the first next option or immediatly upon clicking the add to environmnet or quick deploy. I am able to create an environment, but not able to launch any apps period.

I have looked into the heat part more and now know that IS NOT connected, as I can successfully launch heat stacks/vms within.

Revision history for this message
Ekaterina Chernova (efedorova) said :
#19

Hi again.

We have bad reporting in juno. It looks like it's something with app dependencies. Witch apps are you truing to add?
Try simple apache first. It has no dependencies.

May be you can find more detains in dashboard log (not in api - there were no traces in log you've attached)

Also, looking in to the Console tab of developer tool may show en error, that appeared in javascript.

Regards, Kate

Revision history for this message
smarta94 (smarta94) said :
#20

I have tried the single vm but never get past the point of the first page of the setup (as in I give it a name, then click next, and never see a screen again to prompt me for network/flavor/image information).

Apache does the same -- never gets past giving it a name before it gets stuck "Working" after clicking next.

I did notice that the keystone endpoint and service were not created, so I added those (application_catalog for type correct?) but that hasn't made a difference.

The console output from the murano-api are pretty much inline with the log file, I do notice that Recieved request from user: user_id None, project_id None, roles None service: user_id None, project_id None roles None ___call__ and wonder if murano is not getting user information correctly to send out, but I believe the same occurs when I create an environment and that gets created just fine. I am able to list the environment from the command line and view the deployment-list (empty obviously).

Are there any settings related to heat_stack_owner in the configuration (if murano is deploying via heat as descriptions seem to suggest, then the user needs to be a heat_stack_owner role -- there is no documenation on this for murano though).

Are there any other .conf file settings neccessary for deploying to the working environment as opposed to the tox virtual environment manually that are not mentioned in the installion guide (for juno). Also, are there any other available command line utilities to test if its some integration problem with the dashboard? Or is murano soley dashboard oriented?

Neutron Server logs probably don't say much:
2015-05-20 12:18:27.229 3558 DEBUG neutron.policy [req-dfd91d2a-20ef-4c74-86c3-cef36fa78597 None] Enforcing rules: ['get_port:binding:host_id'] _build_match_rule /usr/lib/python2.7/site-packages/neutron/policy.py:221
2015-05-20 12:18:27.229 3558 DEBUG neutron.policy [req-dfd91d2a-20ef-4c74-86c3-cef36fa78597 None] Enforcing rules: ['get_port:allowed_address_pairs'] _build_match_rule /usr/lib/python2.7/site-packages/neutron/policy.py:221
2015-05-20 12:18:27.229 3558 DEBUG neutron.policy [req-dfd91d2a-20ef-4c74-86c3-cef36fa78597 None] Enforcing rules: ['get_port:binding:profile'] _build_match_rule /usr/lib/python2.7/site-packages/neutron/policy.py:221
2015-05-20 12:18:27.229 3558 DEBUG neutron.policy [req-dfd91d2a-20ef-4c74-86c3-cef36fa78597 None] Enforcing rules: ['get_port:fixed_ips'] _build_match_rule /usr/lib/python2.7/site-packages/neutron/policy.py:221
2015-05-20 12:18:27.230 3558 DEBUG neutron.policy [req-dfd91d2a-20ef-4c74-86c3-cef36fa78597 None] Enforcing rules: ['get_port:binding:vif_type'] _build_match_rule /usr/lib/python2.7/site-packages/neutron/policy.py:221
2015-05-20 12:18:27.230 3558 DEBUG neutron.policy [req-dfd91d2a-20ef-4c74-86c3-cef36fa78597 None] Enforcing rules: ['get_port:mac_address'] _build_match_rule /usr/lib/python2.7/site-packages/neutron/policy.py:221
2015-05-20 12:18:27.230 3558 INFO neutron.wsgi [req-dfd91d2a-20ef-4c74-86c3-cef36fa78597 None] 10.173.3.12 - - [20/May/2015 12:18:27] "GET /v2.0/ports.json?network_id=0a6cfc57-81ba-4f13-908c-652cd67e62c0&device_owner=network%3Adhcp HTTP/1.1" 200 928 0.076336
2015-05-20 12:18:29.713 3576 DEBUG neutron.context [req-0e68f61e-0d6b-4db7-b285-bd9459861d67 None] Arguments dropped when creating context: {u'project_name': None, u'tenant': None} __init__ /usr/lib/python2.7/site-packages/neutron/context.py:83
2015-05-20 12:18:30.405 3566 DEBUG neutron.context [req-bd3b6464-26ff-4922-bb45-90f8b636900a None] Arguments dropped when creating context: {u'project_name': None, u'tenant': None} __init__ /usr/lib/python2.7/site-packages/neutron/context.py:83
2015-05-20 12:18:37.358 3577 DEBUG neutron.context [req-78648416-4090-402d-8d0b-87e3e266f131 None] Arguments dropped when creating context: {u'project_name': None, u'tenant': None} __init__ /usr/lib/python2.7/site-packages/neutron/context.py:83

murano-api console logs:
2015-05-20 12:18:44.906 13980 INFO eventlet.wsgi [-] (13980) accepted ('172.16.128.11', 38661)
2015-05-20 12:18:44.907 13980 DEBUG murano.api.middleware.version_negotiation [-] Determining version of request: GET /v1/catalog/packages/5dd8812a9afb44d4945a5c6f4ee30931 Accept: */* process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:48
2015-05-20 12:18:44.907 13980 DEBUG murano.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:50
2015-05-20 12:18:44.908 13980 DEBUG murano.api.middleware.version_negotiation [-] Matched version: v1 process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:62
2015-05-20 12:18:44.908 13980 DEBUG murano.api.middleware.version_negotiation [-] new path /v1/catalog/packages/5dd8812a9afb44d4945a5c6f4ee30931 process_request /usr/lib/python2.7/site-packages/murano/api/middleware/version_negotiation.py:63
2015-05-20 12:18:44.908 13980 DEBUG keystonemiddleware.auth_token [-] Removing headers from request environment: X-Service-Catalog,X-Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _remove_auth_headers /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:780
2015-05-20 12:18:44.909 13980 DEBUG keystonemiddleware.auth_token [-] Authenticating user token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:708
2015-05-20 12:18:44.910 13980 DEBUG keystonemiddleware.auth_token [-] Returning cached token _cache_get /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:1793
2015-05-20 12:18:44.910 13980 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:727
2015-05-20 12:18:44.911 13980 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles None __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:746
2015-05-20 12:18:44.911 13980 DEBUG routes.middleware [-] Matched GET /catalog/packages/5dd8812a9afb44d4945a5c6f4ee30931 __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2015-05-20 12:18:44.912 13980 DEBUG routes.middleware [-] Route path: '/catalog/packages/{package_id}', defaults: {'action': u'get', 'controller': <murano.common.wsgi.Resource object at 0x3de52d0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2015-05-20 12:18:44.912 13980 DEBUG routes.middleware [-] Match dict: {'action': u'get', 'package_id': u'5dd8812a9afb44d4945a5c6f4ee30931', 'controller': <murano.common.wsgi.Resource object at 0x3de52d0>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2015-05-20 12:18:44.912 13980 DEBUG murano.common.wsgi [-] Empty body provided in request deserialize_body /usr/lib/python2.7/site-packages/murano/common/wsgi.py:664
2015-05-20 12:18:44.913 13980 DEBUG murano.openstack.common.policy [-] Rule get_package will be now enforced enforce /usr/lib/python2.7/site-packages/murano/openstack/common/policy.py:288
2015-05-20 12:18:44.915 13980 AUDIT murano.common.policy [-] Policy check succeeded for rule 'get_package' on target {'package_id': u'5dd8812a9afb44d4945a5c6f4ee30931'}
2015-05-20 12:18:44.939 13980 INFO eventlet.wsgi [-] 172.16.128.11 - - [20/May/2015 12:18:44] "GET /v1/catalog/packages/5dd8812a9afb44d4945a5c6f4ee30931 HTTP/1.1" 200 695 0.031749

Revision history for this message
smarta94 (smarta94) said :
#21

So I managed to click through a few steps on the openstack murano service app sample, and then get stuck again. I think it has to do with the step where it needs to contact the existing images and then have the user select what their preferences fro flavor/image/hostname might be.

Is there any solution to test if it can even contact the necessary (heat?) service without a working dashboard aspect to it?

Revision history for this message
smarta94 (smarta94) said :
#22

And var/log/horizon/horizon has no logs being added as murano stuff is being done (I assume thasts what you mean by dashboard log?)

Revision history for this message
Kirill Zaitsev (kzaitsev) said :
#23

It's gtting hard to track the thread. Was the original question answered? If so — could you please mark it as such? Your latest post suggest, that you have a different error, than the original post. Could you please open a new question for that?

Revision history for this message
Ekaterina Chernova (efedorova) said :
#24

Please, try to install stable/juno like you tried at the begging. We fixed the issue with installation.

Can you help with this problem?

Provide an answer of your own, or ask smarta94 for more information if necessary.

To post a message you must log in.