Manage Ironic-UI plugin installation
Bug #2033929 reported by
Francesco Di Nucci
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-horizon |
Fix Released
|
Wishlist
|
Takashi Kajinami |
Bug Description
Actually it is not possible to install he Ironic-UI plugin (https:/
Manual installation [https:/
When Horizon is installed through Puppet and plugin is manually installed:
* there is no virtualenv - manually creating one is not recommended
* run_tests.sh could not be found
* npm run test fails
* It's unclear how to run in production the dashboard with the plugin enabled.
I think it would be useful to be able to install the plugin through the Puppet module (and clarify the install instructions, but this is probably up to ironic-ui project)
Changed in puppet-horizon: | |
importance: | Undecided → Wishlist |
assignee: | nobody → Takashi Kajinami (kajinamit) |
tags: | added: ironic |
To post a comment you must log in.
Sorry I didn't reply to you timely. Let me leave a few comments.
> * there is no virtualenv - manually creating one is not recommended
We have the horizon::dashboard defined resource type which can be used to install dashboard plugin.
As far as I've checked all of RDO, Ubuntu and Debian provides the dashboard package so you can use the package installation instead of using virtualenv.
```
horizon::dashboard { 'ironic': }
```
One problem I'm aware now is that the package name of ironic-ui does not align with the expected package naming (it's not python3- ironic- dashboard but python3-ironic-ui). We probably have to create a specific class (like horizon: :dashboard: :ironic) to support Debian/Ubuntu. I'll work on this later.
> * run_tests.sh could not be found
> * npm run test fails
These are not really specific to ironic-dashboard and probably we should implement this in the base horizon class.
For now we have no mechanism to run these validations.
> * It's unclear how to run in production the dashboard with the plugin enabled.
IMO this is really out of puppet-ironic's scope and needs comment from ironic-ui side.