# Testing Status PASSED # Configuration 2 + 2 Controller Storage Config (IPv4) # Load Tested 2019-09-12_20-00-00 # cp default to localhost for specific lab localhost:~$ cp /usr/share/ansible/stx-ansible/playbooks/bootstrap/host_vars/default.yml localhost.yml # Edit localhost.yml to specific lab config (oam IPs, admin and ansible pw) localhost:~$ vi localhost.yml # Initial successful run of the Ansible bootstrap playbook localhost:~$ ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap/bootstrap.yml ..... TASK [bringup-essential-services : Mark the bootstrap as completed] **************************************************************************** changed: [localhost] PLAY RECAP ************************************************************************************************************************************* localhost : ok=212 changed=126 unreachable=0 failed=0 localhost:~$ # source and run command localhost:~$ source /etc/platform/openrc [sysadmin@localhost ~(keystone_admin)]$ system --debug host-list DEBUG (base:187) Making authentication request to http://localhost:5000/v3/auth/tokens DEBUG (connectionpool:207) Starting new HTTP connection (1): localhost DEBUG (connectionpool:395) http://localhost:5000 "POST /v3/auth/tokens HTTP/1.1" 201 4568 DEBUG (base:192) .... .... eated_at": "2019-09-19T15:12:49.584507+00:00", "subfunction_avail": "not-installed", "install_output": "text", "action": "none", "bm_type": null, "config_target": "6177350b-6251-4d93-a170-0afa8d64c1aa"}]} +----+--------------+-------------+----------------+-------------+--------------+ | id | hostname | personality | administrative | operational | availability | +----+--------------+-------------+----------------+-------------+--------------+ | 1 | controller-0 | controller | locked | disabled | online | +----+--------------+-------------+----------------+-------------+--------------+ [sysadmin@localhost ~(keystone_admin)]$ ############################ # re-run ansible as sysadmin ############################ [sysadmin@localhost ~(keystone_admin)]$ ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap/bootstrap.yml PLAY [all] ******************************************************************************************************************************************************************************** ... .... TASK [bringup-essential-services : Mark the bootstrap as completed] *********************************************************************************************************************** changed: [localhost] PLAY RECAP ******************************************************************************************************************************************************************************** localhost : ok=205 changed=88 unreachable=0 failed=0 [sysadmin@localhost ~(keystone_admin)]$ # re-run command - OK [sysadmin@localhost ~(keystone_admin)]$ system --debug host-list DEBUG (base:187) Making authentication request to http://localhost:5000/v3/auth/tokens DEBUG (connectionpool:207) Starting new HTTP connection (1): localhost .... .... -09-19T15:12:49.584507+00:00", "subfunction_avail": "not-installed", "install_output": "text", "action": "none", "bm_type": null, "config_target": "6177350b-6251-4d93-a170-0afa8d64c1aa"}]} +----+--------------+-------------+----------------+-------------+--------------+ | id | hostname | personality | administrative | operational | availability | +----+--------------+-------------+----------------+-------------+--------------+ | 1 | controller-0 | controller | locked | disabled | online | +----+--------------+-------------+----------------+-------------+--------------+ [sysadmin@localhost ~(keystone_admin)]$ ############################ # test w/o sourcing and re-run again (3rd time) ############################ controller-0:~$ ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap/bootstrap.yml .... .... TASK [bringup-essential-services : Mark the bootstrap as completed] *********************************************************************************************************************** changed: [localhost] PLAY RECAP ******************************************************************************************************************************************************************************** localhost : ok=205 changed=86 unreachable=0 failed=0 # source and run commands - OK controller-0:~$ source /etc/platform/openrc [sysadmin@controller-0 ~(keystone_admin)]$ [sysadmin@controller-0 ~(keystone_admin)]$ system --debug host-list DEBUG (base:187) Making authentication request to http://localhost:5000/v3/auth/tokens DEBUG (connectionpool:207) Starting new HTTP connection (1): localhost DEBUG (connectionpool:395) http://localhost:5000 "POST /v3/auth/tokens HTTP/1.1" 201 4568 .... .... -09-19T15:12:49.584507+00:00", "subfunction_avail": "not-installed", "install_output": "text", "action": "none", "bm_type": null, "config_target": "6177350b-6251-4d93-a170-0afa8d64c1aa"}] } +----+--------------+-------------+----------------+-------------+--------------+ | id | hostname | personality | administrative | operational | availability | +----+--------------+-------------+----------------+-------------+--------------+ | 1 | controller-0 | controller | locked | disabled | online | +----+--------------+-------------+----------------+-------------+--------------+ [sysadmin@controller-0 ~(keystone_admin)]$