Iotronic plugin for the OpenStack Dashboard.
Go to file
OpenDev Sysadmins a070e6c197 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:49:55 +00:00
doc start 2018-05-07 19:08:38 +02:00
iotronic_ui Added new fields in tables and restyled services strings 2019-02-07 11:49:40 +01:00
tools start 2018-05-07 19:08:38 +02:00
.gitignore Code cleaned after Vancouver Demo 2018-05-25 15:33:11 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:49:55 +00:00
babel-django.cfg start 2018-05-07 19:08:38 +02:00
babel-djangojs.cfg start 2018-05-07 19:08:38 +02:00
CONTRIBUTING.rst start 2018-05-07 19:08:38 +02:00
HACKING.rst start 2018-05-07 19:08:38 +02:00
LICENSE start 2018-05-07 19:08:38 +02:00
manage.py start 2018-05-07 19:08:38 +02:00
MANIFEST.in start 2018-05-07 19:08:38 +02:00
package.json Replace openstack.org git:// URLs with https:// 2019-03-24 20:33:50 +00:00
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 2018-12-08 14:58:43 +01:00
requirements.txt Added fleet management 2018-10-15 11:00:45 +02:00
setup.cfg start 2018-05-07 19:08:38 +02:00
setup.py start 2018-05-07 19:08:38 +02:00
test-requirements.txt Added fleet management 2018-10-15 11:00:45 +02:00
test-shim.js start 2018-05-07 19:08:38 +02:00
tox.ini start 2018-05-07 19:08:38 +02:00

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