Can't access the deployed overcloud, the overcloudrc file is not generated

Bug #1583656 reported by Udi Kalifon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Jiri Tomasek

Bug Description

There is no way to know the AUTH_URL or admin password of the overcloud. The GUI doesn't show the needed details after a successful deployment, and no overcloudrc file is generated.

We have to generate an rc file as well as provide this information in the GUI.

Tags: ui
Changed in tripleo-ui:
status: New → Triaged
importance: Undecided → High
Honza Pokorny (hpokorny)
Changed in tripleo-ui:
assignee: nobody → Honza Pokorny (hpokorny)
Revision history for this message
Honza Pokorny (hpokorny) wrote :

I have gone through the old API code, and the new mistral-based deployment workflow, and to the best of my knowledge this has never been implemented. The "openstack overcloud deploy" command in python-tripleoclient contains the code to generate the overcloudrc file, but not the other places.

The mistral deployment workflow simply calls heatclient.stacks.create() and then waits for it to finish. It is my understanding that we need another step in that workflow that will create this file once the overcloud is deployed.

Revision history for this message
Jason E. Rist (jason-rist) wrote :

Is there a workaround?

Revision history for this message
Ryan Brady (rbrady) wrote :

The CLI currently defaults to saving the overcloudrc file in '.', which isn't going to work for the mistral user running the workflows. With https://review.openstack.org/#/c/368150, the password generation is now handled in the plan creation workflows and stored in the mistral environment. The passwords are merged into the rest of the parameters just before the call to heat to provide a user the opportunity to override any values as required.

Do you really need the overcloudrc file or just the the stack's KeystoneURL and AdminPassword?

Changed in tripleo-ui:
milestone: none → rc1
Revision history for this message
Udi Kalifon (ukalifon) wrote :

At the least I need the keystone url, username and password to log in. The info should be displayed in the GUI on the deployment page of each plan after successful deployment. A feature to generate an overcloudrc file that the user can download would be the best solution in my opinion in this case.

affects: tripleo-ui → tripleo
Changed in tripleo:
milestone: rc1 → none
tags: added: ui
Honza Pokorny (hpokorny)
Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
assignee: Honza Pokorny (hpokorny) → Jiri Tomasek (jtomasek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ui (master)

Reviewed: https://review.openstack.org/370765
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=9687f890e2341537a9029ca067bc1d7431fc5235
Submitter: Jenkins
Branch: master

commit 9687f890e2341537a9029ca067bc1d7431fc5235
Author: Honza Pokorny <email address hidden>
Date: Thu Sep 15 09:31:07 2016 -0300

    When deploy finishes, show overcloud info

    IP address and password

    Change-Id: Icfbae4ba4cd4911508ac2d193e0f24a0e01a228d
    Closes-bug: #1583656

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ui 1.0.3

This issue was fixed in the openstack/tripleo-ui 1.0.3 release.

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.