Iotronic plugin for the OpenStack Dashboard.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenDev Sysadmins a070e6c197 OpenDev Migration Patch 1 day ago
doc start 11 months ago
iotronic_ui Added new fields in tables and restyled services strings 2 months ago
tools start 11 months ago
.gitignore Code cleaned after Vancouver Demo 11 months ago
.gitreview OpenDev Migration Patch 1 day ago
CONTRIBUTING.rst start 11 months ago
HACKING.rst start 11 months ago
LICENSE start 11 months ago
MANIFEST.in start 11 months ago
README.rst Introduced management of webservices and added the corresponding menu items in the board panel, moved fleet panel, updated the api and fixed a path in README.rst 4 months ago
babel-django.cfg start 11 months ago
babel-djangojs.cfg start 11 months ago
manage.py start 11 months ago
package.json Replace openstack.org git:// URLs with https:// 3 weeks ago
requirements.txt Added fleet management 6 months ago
setup.cfg start 11 months ago
setup.py start 11 months ago
test-requirements.txt Added fleet management 6 months ago
test-shim.js start 11 months ago
tox.ini start 11 months ago

README.rst

IoTronic Panels

Iotronic plugin for the OpenStack Dashboard

Features

  • TODO

Manual Installation

Begin by cloning the Horizon and IoTronic Panels repositories:

git clone https://github.com/openstack/horizon.git
git clone https://github.com/openstack/iotronic-ui.git

Install IoTronic Panels with all the dependencies:

cd iotronic-ui
pip install -r requirements.txt
python setup.py install

Copy the Iotronic API and enable the plugin in Horizon:

cp iotronic_ui/api/iotronic.py /usr/share/openstack-dashboard/openstack_dashboard/api/
cp iotronic_ui/enabled/_60*.py /usr/share/openstack-dashboard/openstack_dashboard/enabled/

To run horizon with the newly enabled IoTronic Panels plugin restart apache:

systemctl restart apache2.service

Check the Horizon Login page on your browser and you will see the new Dashboard called "IoT".

Extra info

If you want to enable logs for a better debug follow the following steps or just skip them.:

mkdir /var/log/horizon
touch /var/log/horizon/horizon.log
chown -R horizon:horizon /var/log/horizon

vim /etc/openstack-dashboard/local_settings.py

    'formatters': {
        'verbose': {
            'format': '%(asctime)s %(process)d %(levelname)s %(name)s %(message)s'
        },
    },

    ....

    'handlers': {
        ....
        'file': {
               'level': 'DEBUG',
               'class': 'logging.FileHandler',
               'filename': '/var/log/horizon/horizon.log',
               'formatter': 'verbose',
         },
    },

    ....

    'loggers': {
        ....
        'horizon': {
            ....
            'handlers': ['file'],
            ....
        },
        'openstack_dashboard': {
            ....
            'handlers': ['file'],
            ....
        },
        'iotronic_ui': {
            'handlers': ['file'],
            'level': 'DEBUG',
            'propagate': False,
        },
    }

Verify if Apache Openstack Dashboard Configuration file is correctly set with what follows:

vim /etc/apache2/conf-available/openstack-dashboard.conf
    WSGIApplicationGroup %{GLOBAL}

service apache2 reload
systemctl restart apache2.service