Activity log for bug #2032697

Date Who What changed Old value New value Message
2023-08-22 21:52:26 Paul Wilson bug added bug
2023-08-22 22:21:28 Paul Wilson description This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [X] This doc is inaccurate in this way: Using juju version 3.1.5-genericlinux-amd64 the following set of commands do not work: juju run -m openstack --unit vault/leader 'leader-get root-ca' juju run -m openstack --unit keystone/leader 'leader-get admin_passwd' the updated charm and juju reqires the commands to be motified juju run -m openstack vault/leader get-root-ca juju run -m openstack keystone/leader get-admin_passwd - [X] This is a doc addition request. - [ ] I have a fix to the document that I can paste below including example: input and output. If you have a troubleshooting or support issue, use the following resources: - The mailing list: https://lists.openstack.org - IRC: 'openstack' channel on OFTC ----------------------------------- Release: 0.0.1.dev511 on 2023-08-02 09:18:30 SHA: d78e6e79bf2cd0f46bbe5a12faa2febbe8998709 Source: https://opendev.org/openstack/charm-deployment-guide/src/deploy-guide/source/configure-openstack.rst URL: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/configure-openstack.html This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [X] This doc is inaccurate in this way: Using juju version 3.1.5-genericlinux-amd64 the following set of commands do not work: juju run -m openstack --unit vault/leader 'leader-get root-ca' juju run -m openstack --unit keystone/leader 'leader-get admin_passwd' the updated charm and juju reqires the commands to be motified juju run -m openstack vault/leader get-root-ca juju run -m openstack keystone/leader leader-get admin_passwd <This command worked once but its no longer working. Im working on determining the correct syntax. - [X] This is a doc addition request. - [ ] I have a fix to the document that I can paste below including example: input and output. If you have a troubleshooting or support issue, use the following resources:  - The mailing list: https://lists.openstack.org  - IRC: 'openstack' channel on OFTC ----------------------------------- Release: 0.0.1.dev511 on 2023-08-02 09:18:30 SHA: d78e6e79bf2cd0f46bbe5a12faa2febbe8998709 Source: https://opendev.org/openstack/charm-deployment-guide/src/deploy-guide/source/configure-openstack.rst URL: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/configure-openstack.html
2023-08-22 23:46:04 Paul Wilson description This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [X] This doc is inaccurate in this way: Using juju version 3.1.5-genericlinux-amd64 the following set of commands do not work: juju run -m openstack --unit vault/leader 'leader-get root-ca' juju run -m openstack --unit keystone/leader 'leader-get admin_passwd' the updated charm and juju reqires the commands to be motified juju run -m openstack vault/leader get-root-ca juju run -m openstack keystone/leader leader-get admin_passwd <This command worked once but its no longer working. Im working on determining the correct syntax. - [X] This is a doc addition request. - [ ] I have a fix to the document that I can paste below including example: input and output. If you have a troubleshooting or support issue, use the following resources:  - The mailing list: https://lists.openstack.org  - IRC: 'openstack' channel on OFTC ----------------------------------- Release: 0.0.1.dev511 on 2023-08-02 09:18:30 SHA: d78e6e79bf2cd0f46bbe5a12faa2febbe8998709 Source: https://opendev.org/openstack/charm-deployment-guide/src/deploy-guide/source/configure-openstack.rst URL: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/configure-openstack.html This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [X] This doc is inaccurate in this way: Using juju version 3.1.5-genericlinux-amd64 the following set of commands do not work: juju run -m openstack --unit vault/leader 'leader-get root-ca' juju run -m openstack --unit keystone/leader 'leader-get admin_passwd' the updated charm and juju reqires the commands to be motified juju run -m openstack vault/leader get-root-ca juju exec openstack --unit keystone/leader leader-get admin_passwd - [X] This is a doc addition request. - [ ] I have a fix to the document that I can paste below including example: input and output. If you have a troubleshooting or support issue, use the following resources:  - The mailing list: https://lists.openstack.org  - IRC: 'openstack' channel on OFTC ----------------------------------- Release: 0.0.1.dev511 on 2023-08-02 09:18:30 SHA: d78e6e79bf2cd0f46bbe5a12faa2febbe8998709 Source: https://opendev.org/openstack/charm-deployment-guide/src/deploy-guide/source/configure-openstack.rst URL: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/configure-openstack.html
2023-08-22 23:56:10 Paul Wilson description This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [X] This doc is inaccurate in this way: Using juju version 3.1.5-genericlinux-amd64 the following set of commands do not work: juju run -m openstack --unit vault/leader 'leader-get root-ca' juju run -m openstack --unit keystone/leader 'leader-get admin_passwd' the updated charm and juju reqires the commands to be motified juju run -m openstack vault/leader get-root-ca juju exec openstack --unit keystone/leader leader-get admin_passwd - [X] This is a doc addition request. - [ ] I have a fix to the document that I can paste below including example: input and output. If you have a troubleshooting or support issue, use the following resources:  - The mailing list: https://lists.openstack.org  - IRC: 'openstack' channel on OFTC ----------------------------------- Release: 0.0.1.dev511 on 2023-08-02 09:18:30 SHA: d78e6e79bf2cd0f46bbe5a12faa2febbe8998709 Source: https://opendev.org/openstack/charm-deployment-guide/src/deploy-guide/source/configure-openstack.rst URL: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/configure-openstack.html This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [X] This doc is inaccurate in this way: Using juju version 3.1.5-genericlinux-amd64 the following set of commands do not work: juju run -m openstack --unit vault/leader 'leader-get root-ca' juju run -m openstack --unit keystone/leader 'leader-get admin_passwd' - [X] This is a doc addition request. - [X] I have a fix to the document that I can paste below including example: input and output. the updated charm and juju require the commands to be modified juju run -m openstack vault/leader get-root-ca juju exec openstack --unit keystone/leader leader-get admin_passwd The code for the sources ~/openstack-bundles/stable/openstack-base needs to be changed as well. the openrc: if [ ! -z $JUJU_MODEL ]; then _juju_model_arg="-m $JUJU_MODEL" fi _keystone_major_version=$(juju status $_juju_model_arg keystone --format yaml| \ awk '/^ version:/ {print $2; exit}' | cut -f1 -d\.) _keystone_preferred_api_version=$(juju config $_juju_model_arg keystone preferred-api-version) # The per user snap data directory is not created until first execution of snap openstack --version 2>&1 > /dev/null || true if [ -d ~/snap/openstackclients/common/ ]; then # When using the openstackclients confined snap the certificate has to be # placed in a location reachable by the clients in the snap. _root_ca=~/snap/openstackclients/common/${JUJU_MODEL-""}root-ca.crt else _root_ca=/tmp/${JUJU_MODEL-""}root-ca.crt fi juju run $_juju_model_arg vault/leader get-root-ca | tee $_root_ca >/dev/null 2>&1 if [ $_keystone_major_version -ge 13 -o \ "$_keystone_preferred_api_version" = '3' ]; then echo Using Keystone v3 API . $(dirname ${BASH_SOURCE[0]})/openrcv3_project else echo Using Keystone v2.0 API . $(dirname ${BASH_SOURCE[0]})/openrcv2 fi The openrcv3_project: _OS_PARAMS=$(env | awk 'BEGIN {FS="="} /^OS_/ {print $1;}' | paste -sd ' ') for param in $_OS_PARAMS; do unset $param done unset _OS_PARAMS _keystone_vip=$(juju config $_juju_model_arg keystone vip) if [ -n "$_keystone_vip" ]; then _keystone_ip=$(echo $_keystone_vip | awk '{print $1}') else _keystone_ip=$(juju run $_juju_model_arg keystone/leader -- 'network-get --bind-address public') fi _password=$(juju $_juju_model_arg exec --unit keystone/leader leader-get admin_passwd) if [ ! -z "$_root_ca" -a -s "$_root_ca" ]; then export OS_AUTH_PROTOCOL=https export OS_CACERT=${_root_ca} fi export OS_AUTH_URL=${OS_AUTH_PROTOCOL:-http}://${_keystone_ip}:5000/v3 export OS_USERNAME=admin export OS_PASSWORD=${_password} export OS_REGION_NAME=RegionOne export OS_DOMAIN_NAME=admin_domain export OS_USER_DOMAIN_NAME=admin_domain export OS_IDENTITY_API_VERSION=3 # Swift needs this: export OS_AUTH_VERSION=3 # Gnocchi needs this: export OS_AUTH_TYPE=password If you have a troubleshooting or support issue, use the following resources:  - The mailing list: https://lists.openstack.org  - IRC: 'openstack' channel on OFTC ----------------------------------- Release: 0.0.1.dev511 on 2023-08-02 09:18:30 SHA: d78e6e79bf2cd0f46bbe5a12faa2febbe8998709 Source: https://opendev.org/openstack/charm-deployment-guide/src/deploy-guide/source/configure-openstack.rst URL: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/configure-openstack.html
2023-12-17 15:56:52 Alex Kavanagh charm-deployment-guide: status New Invalid