WebUI not available

Bug #1876169 reported by Camille Rodriguez
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
vault-charm
Triaged
Wishlist
Bartosz Woronicz

Bug Description

It seems like the vault charm does not include the vault web UI https://learn.hashicorp.com/vault/getting-started/ui . It would be very interesting to enable it.

Changed in vault-charm:
status: New → Triaged
importance: Undecided → Wishlist
tags: added: onboarding
Changed in vault-charm:
assignee: nobody → mastier1 (mastier1)
Changed in vault-charm:
status: Triaged → In Progress
Revision history for this message
Bartosz Woronicz (mastier1) wrote :

After the research the patch was made as proof-of-concept to enable vault webui (attached)
However it seems that the vault binary we use does not support UI option.

ubuntu@juju-902b45-13:~$ curl -L http://127.0.0.1:8200/ui
...
 <h1>Vault UI is not available in this binary.</h1>
 </div>
 <p>To get Vault UI do one of the following:</p>
 <ul>
 <li><a href="https://www.vaultproject.io/downloads.html">Download an official release</a></li>
 <li>Run <code>make bin</code> to create your own release binaries.
 <li>Run <code>make dev-ui</code> to create a development binary with the UI.
...

So far it seems we must abandon that or keep it in the wishlist.
After resolving there we would need to add relevant functional test to check whether the endpoint runs UI.

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Thanks for reporting and for the research on this. Another difficulty also is that once our charm edits the vault config to enable the UI, it can't really restart the vault to take the config into account as this would re-seal the vault by design.

Revision history for this message
Bartosz Woronicz (mastier1) wrote :

The option was implemented along with fixed unittests. However to have it fully working we need vault snap with UI option compiled-in.

https://review.opendev.org/c/openstack/charm-vault/+/778118

tags: added: good-first-bug
removed: onboarding
Changed in vault-charm:
status: In Progress → Triaged
Revision history for this message
Junien Fridrick (axino) wrote :

Hello, any update here ? IS' customers have shown interest in having access to the web UI.

Thanks !

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Hi Junien

It's a wish list item and hasn't been prioritised at present. It has a good-first-bug tag which means that it is regularly reviewed as a option for development.

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.