Bug 1620131 - [OSP14] [standalone openstack] no openstack/clouds.yaml file for Deployment user
Summary: [OSP14] [standalone openstack] no openstack/clouds.yaml file for Deployment user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: beta
: 14.0 (Rocky)
Assignee: Alex Schultz
QA Contact: Artem Hrechanychenko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-22 13:54 UTC by Artem Hrechanychenko
Modified: 2019-01-11 11:52 UTC (History)
3 users (show)

Fixed In Version: openstack-tripleo-heat-templates-9.0.0-0.20180919080945.0rc1.0rc1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:51:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1788413 0 None None None 2018-08-22 13:55:38 UTC
OpenStack gerrit 595010 0 None None None 2018-08-22 13:56:07 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:52:52 UTC

Description Artem Hrechanychenko 2018-08-22 13:54:47 UTC
Description of problem:
After installation of standalone Openstack


....

PLAY [External deployment Post Deploy tasks] ******************************************************************

PLAY RECAP ****************************************************************************************************
standalone-0               : ok=191  changed=91   unreachable=0    failed=0
undercloud                 : ok=2    changed=0    unreachable=0    failed=0

Not cleaning working directory /home/stack/tripleo-heat-installer-templates
Not cleaning ansible directory /home/stack/undercloud-ansible-AJaQZx
Install artifact is located at /home/stack/undercloud-install-20180822115337.tar.bzip2

########################################################

Deployment successfull!

########################################################

Writing the stack virtual update mark file /var/lib/tripleo-heat-installer/update_mark_standalone


[stack@standalone-0 ~]$ sudo ls /root/.config/openstack/clouds.yaml
/root/.config/openstack/clouds.yaml
[stack@standalone-0 ~]$ ls -la 
total 640
drwx------.  4 stack stack   4096 Aug 22 13:28 .
drwxr-xr-x.  5 root  root      49 Aug 22 11:34 ..
-rw-------.  1 stack stack   3002 Aug 22 13:28 .bash_history
-rw-r--r--.  1 stack stack     18 Sep 26  2017 .bash_logout
-rw-r--r--.  1 stack stack    193 Sep 26  2017 .bash_profile
-rw-r--r--.  1 stack stack    231 Sep 26  2017 .bashrc
-rw-rw-r--.  1 stack stack   1209 Aug 22 11:27 standalone_parameters.yaml
drwx------. 17 stack root    4096 Aug 22 11:27 tripleo-heat-installer-templates
-rw-------.  1 stack root    9582 Aug 22 11:27 tripleo-undercloud-passwords.yaml
drwx------.  6 stack root    4096 Aug 22 11:53 undercloud-ansible-AJaQZx
-rw-------.  1 stack root  602514 Aug 22 11:53 undercloud-install-20180822115337.tar.bzip2
-rw-------.  1 stack root    2193 Aug 22 11:27 undercloud-passwords.conf


Version-Release number of selected component (if applicable):
[stack@standalone-0 ~]$ rpm -qa "*openstack*"
openstack-heat-common-12.0.0-0.20180604085325.7d878a8.el7ost.noarch
python2-openstacksdk-0.17.1-0.20180801104359.f28a1b0.el7ost.noarch
openstack-tripleo-puppet-elements-9.0.0-0.20180801001359.d9df3a3.el7ost.noarch
openstack-tripleo-image-elements-9.0.0-0.20180801003129.39e37fe.el7ost.noarch
openstack-heat-monolith-12.0.0-0.20180604085325.7d878a8.el7ost.noarch
openstack-tripleo-validations-9.2.1-0.20180726214014.7627d15.el7ost.noarch
openstack-tripleo-common-9.2.1-0.20180803214330.el7ost.noarch
openstack-heat-api-12.0.0-0.20180604085325.7d878a8.el7ost.noarch
openstack-tripleo-common-containers-9.2.1-0.20180803214330.el7ost.noarch
python-openstackclient-lang-3.16.0-0.20180801103525.f77ca68.el7ost.noarch
openstack-tripleo-heat-templates-9.0.0-0.20180804083746.el7ost.noarch
puppet-openstacklib-13.2.0-0.20180724214016.a47c20e.el7ost.noarch
openstack-heat-agents-1.6.1-0.20180709100740.fdd6a5f.el7ost.noarch
openstack-heat-engine-12.0.0-0.20180604085325.7d878a8.el7ost.noarch
python2-openstackclient-3.16.0-0.20180801103525.f77ca68.el7ost.noarch
openstack-selinux-0.8.15-0.20180524134826.b63283a.el7ost.noarch
puppet-openstack_extras-13.2.0-0.20180728124012.4540a49.el7ost.noarch


How reproducible:
always

Steps to Reproduce:
1.Deploy standalone openstack http://etherpad.corp.redhat.com/cUfOMARL2r
2. Check for clouds.yaml file

Actual results:
exist for root user

Expected results:
exist for stack user

Additional info:

Comment 5 Artem Hrechanychenko 2018-10-24 09:40:33 UTC
VERIFIED

cat core_puddle_version 
2018-10-17.2

openstack-tripleo-heat-templates-9.0.1-0.20181013060859.ffbe879.el7ost.noarch

[cloud-user@standalone-0 ~]$ ls .config/openstack/clouds.yaml 
.config/openstack/clouds.yaml
[cloud-user@standalone-0 ~]$ cat .config/openstack/clouds.yaml 
clouds:
  standalone:
    auth:
      auth_url: http://10.0.0.24:5000/
      project_name: admin
      username: admin
      password: 7ocq567oh6HKePYMnjkIetUnm
    region_name: regionOne
    identity_api_version: 3
    cloud: standalone

Comment 7 errata-xmlrpc 2019-01-11 11:51:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045


Note You need to log in before you can comment on or make changes to this bug.