Provide Juju details on Horizon

Bug #1362053 reported by Mark Shuttleworth
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
horizon (Ubuntu)
Fix Released
High
James Page

Bug Description

Please can we restore the ability to view a Juju stanza for a user of Ubuntu OpenStack?

It should take the form:

  <environment-name>:
        type: openstack
        auth-url: http://192.168.9.97:5000/v2.0
        region: <region>
        auth-mode: userpass
        use-floating-ip: true
        network: <default-network-for-project>
        tenant-name: "<project-name>"
        username: "<username>"
        password: "Your Password Here"
        authorized-keys: <your ssh public key>

i.e. pre-fill network, tenant, and username, and invite the user to provide password.

This should be provided on the Horizon "Overview" page (and is specific to the combination of tenant and user) until we have the Juju GUI integrated to Horizon.

James Page (james-page)
Changed in horizon (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
James Page (james-page) wrote :

Proposed template for environment file download:

# To use Juju with your Openstack cloud:
# 1. Run: apt-get install juju
# 2. Copy this file to $HOME/.juju/environments.yaml
# 3. Complete any empty fields
# 4. Run 'juju bootstrap' and deploy services!
#
# To find out more about juju visit http://juju.ubuntu.com
environments:
  openstack:
    type: openstack
    auth-url: {{ auth_url }}
    auth-mode: userpass
    use-floating-ip: true
    # Please provide the UUID of network to use if you have
    # more than one network configured for your tenant.
    # network:
    region: {{ region }}
    username: {{ user }}
    # Please provide the password you use to access the
    # OpenStack cloud.
    password:
    tenant-name: {{ tenant_name }}

Changed in horizon (Ubuntu):
assignee: nobody → James Page (james-page)
status: Confirmed → In Progress
Revision history for this message
James Page (james-page) wrote :

I'm proposing putting the 'Download Juju Environment File' link under

   Access & Security/API Access

alongside the 'Download OpenRC File' and 'Download ec2 Credentials' links as this keeps all 'download something' functions in a common location.

Revision history for this message
James Page (james-page) wrote :
Revision history for this message
James Page (james-page) wrote :
Revision history for this message
James Page (james-page) wrote :

We can add it to the Overview page as well but this feels a little out-of-place to me - I've included it in the attached screenshots.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package horizon - 1:2014.2~rc1-0ubuntu3

---------------
horizon (1:2014.2~rc1-0ubuntu3) utopic; urgency=medium

  * d/pydist-overrides: Ignore django_compressor and django_openstack_auth,
    as these don't correctly match with binary packages in Ubuntu, fixing
    installability.
 -- James Page <email address hidden> Thu, 09 Oct 2014 15:58:28 +0100

Changed in horizon (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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