Skip to main content

Iotronic plugin for the OpenStack Dashboard

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iotronic_ui-0.4.1.tar.gz (48.4 kB view details)

Uploaded Source

Built Distribution

iotronic_ui-0.4.1-py2.py3-none-any.whl (83.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file iotronic_ui-0.4.1.tar.gz.

File metadata

  • Download URL: iotronic_ui-0.4.1.tar.gz
  • Upload date:
  • Size: 48.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for iotronic_ui-0.4.1.tar.gz
Algorithm Hash digest
SHA256 5f19a39492824b7e4a32d86f07c210d0f880460d5b5cd994fbc08cad5e2af81f
MD5 8707d5385417600f498fe48c7d058d78
BLAKE2b-256 43e28a4a070f879b3a5cc5f8557497451661832f5eddfce25b2391574a09f7cb

See more details on using hashes here.

File details

Details for the file iotronic_ui-0.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: iotronic_ui-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 83.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for iotronic_ui-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a30fcc689904a07a4cd8b1665e721d0c32681d89d1b4b9c6c3ddf6e943e17a4e
MD5 2c3bee82b613f479d8170434b7e8297c
BLAKE2b-256 7c2cf177cb433ad6639a4138de64b4f21fc0e0df237a3b375be570ebbaa59519

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page