Ask Your Question
0

horizon ui plugins for manila and magnum [closed]

asked 2016-08-22 09:55:07 -0600

shorton gravatar image

I need to install Openstack Horizon plugins for Magnum and Manila. Magnum-ui is not available on Launchpad; Manila-ui is available but package is broken and patch fix is available in source (version 2.1.0-2). Both project websites give instructions for setting up Openstack virtual development environments, cloning GIT, and building components from source, which I have done. However, I am unclear on how to deploy these projects into my existing Openstack Mitaka environment once I have built them. Can someone please clarify what my options are for getting these plugins to work?

So, to clarify my question:

I following instructions for building magnum-ui component for Openstack Horizon here: https://github.com/openstack/magnum-ui

My question is, do I then perform: 1. ~/magnum-ui$ sudo cp -R magnum-ui /usr/share/openstack-dashboard/openstack_dashboard/dashboards

  1. ~/magnum-ui$ sudo ln -s /usr/share/openstack-dashboard/openstack_dashboard/dashboards/magnum-ui/magnum_ui/static/dashboard /usr/share/openstack-dashboard/static/magnum-ui

  2. ~/magnum-ui/magnum-ui/magnum_ui/enabled$ sudo cp *.py /usr/share/openstack-dashboard/openstack_dashboard/enabled/

  3. sudo service apache2 restart sudo service memcached restart

NOTE: this procedure does not work, apache gives an error, so there must be missing steps. I cannot FIND ANY GUIDANCE for how to integrate these Openstack Horizon dashboards into my running deployment.

Thank you!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by shorton
close date 2016-09-28 10:22:05.268473

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-28 10:21:52 -0600

shorton gravatar image

UPDATE 09.28.16: RESOLVED. The answer is here in Horizon developer docs on how to install your plugin: http://docs.openstack.org/developer/horizon/tutorials/plugin.html#installing-your-plugin (http://docs.openstack.org/developer/h...)

In Ubuntu, the steps required to install Horizon plug-ins are: 1. Rename old plugin if it exists in /usr/lib/python2.7/dist-packages/<manila_ui for="" example=""> 2. git clone download the new version, then copy the inner source directory, such as manila-ui/manila_ui to /usr/lib/python2.7/dist-packages/ 3. Then from inside the source directory, put the enabled/enabler files into place: cp /usr/lib/python2.7/dist-packages/manila_ui/enabled/*.py to /usr/share/openstack-dashboard/openstack_dashboard/enabled 4. restart apache2

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-22 09:55:07 -0600

Seen: 595 times

Last updated: Sep 28 '16