Bug 1818439 - [DDF] should be either "sudo pcs resource show haproxy-bundle" or "sudo pcs resource config haproxy-bundle"
Summary: [DDF] should be either "sudo pcs resource show haproxy-bundle" or "sudo pcs r...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 16.0 (Train)
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Mikey Ariel
QA Contact: RHOS Documentation Team
URL:
Whiteboard: docs-accepted
: 1658232 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-28 05:34 UTC by Direct Docs Feedback
Modified: 2020-07-01 13:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-01 13:24:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Direct Docs Feedback 2020-03-28 05:34:31 UTC
Example given should be either "sudo pcs resource show haproxy-bundle" or "sudo pcs resource config haproxy-bundle"

Reported by: rhn-support-ravsingh

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/understanding_red_hat_openstack_platform_high_availability/pacemaker#annotations:33ce51b2-c5e1-4436-815a-2b0e940afb48

Comment 1 Ravi Singh 2020-03-28 05:39:51 UTC
The example given in example 4.3.11 is not accurate. The haproxy-clone resource doesn't exist .it should be haproxy-bundle.

~~~
[root@overcloud-controller-1 ~]#  sudo pcs resource show haproxy-clone
Warning: This command is deprecated and will be removed. Please use 'pcs resource config' instead.
Error: unable to find resource 'haproxy-clone'
[root@overcloud-controller-1 ~]# 
~~~

Moreover it's good to use 'pcs resource config' ,since we have a warning with 'pcs resource show' 

~~~
Warning: This command is deprecated and will be removed. Please use 'pcs resource config' instead
~~~

The correct example should be something like

~~~
$sudo pcs resource config haproxy-bundle
 
 Bundle: haproxy-bundle
  Podman: image=cluster.common.tag/openstack-haproxy:pcmklatest network=host options="--user=root --log-driver=k8s-file -e KOLLA_CONFIG_STRATEGY=COPY_ALWAYS" replicas=3 run-command="/bin/bash /usr/local/bin/kolla_start"
  Storage Mapping:
   options=ro source-dir=/var/lib/kolla/config_files/haproxy.json target-dir=/var/lib/kolla/config_files/config.json (haproxy-cfg-files)
   options=ro source-dir=/var/lib/config-data/puppet-generated/haproxy/ target-dir=/var/lib/kolla/config_files/src (haproxy-cfg-data)
   options=ro source-dir=/etc/hosts target-dir=/etc/hosts (haproxy-hosts)
   options=ro source-dir=/etc/localtime target-dir=/etc/localtime (haproxy-localtime)
   options=rw source-dir=/var/lib/haproxy target-dir=/var/lib/haproxy (haproxy-var-lib)
   options=ro source-dir=/etc/pki/ca-trust/extracted target-dir=/etc/pki/ca-trust/extracted (haproxy-pki-extracted)
   options=ro source-dir=/etc/pki/tls/certs/ca-bundle.crt target-dir=/etc/pki/tls/certs/ca-bundle.crt (haproxy-pki-ca-bundle-crt)
   options=ro source-dir=/etc/pki/tls/certs/ca-bundle.trust.crt target-dir=/etc/pki/tls/certs/ca-bundle.trust.crt (haproxy-pki-ca-bundle-trust-crt)
   options=ro source-dir=/etc/pki/tls/cert.pem target-dir=/etc/pki/tls/cert.pem (haproxy-pki-cert)
   options=rw source-dir=/dev/log target-dir=/dev/log (haproxy-dev-log)
~~~
~~~

Comment 4 Mikey Ariel 2020-06-25 12:55:22 UTC
*** Bug 1658232 has been marked as a duplicate of this bug. ***


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