OSP Environment Details:
Red Hat OpenStack Platform release 13.0.16 (Queens)
Red Hat Enterprise Linux Server release 7.9 (Maipo)
Kernel: 3.10.0-1160.36.2.el7.x86_64
Browbeat config:
$ git diff
diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg
index 927a896..8e0980f 100644
--- a/ansible/ansible.cfg
+++ b/ansible/ansible.cfg
@@ -7,4 +7,7 @@ gathering = smart
roles_path = ./browbeat/roles:./install/roles:
timeout = 30
host_key_checking = False
-
+# Use the YAML callback plugin.
+stdout_callback = yaml
+# Use the stdout_callback when running ad-hoc commands.
+bin_ansible_callbacks = True
diff --git a/ansible/install/group_vars/all.yml b/ansible/install/group_vars/all.yml
index eb566a8..8e145c1 100644
--- a/ansible/install/group_vars/all.yml
+++ b/ansible/install/group_vars/all.yml
@@ -43,7 +43,7 @@ rally_openstack_version: 1.6.0
shaker_venv: "{{browbeat_path}}/.shaker-venv"
# Shaker version to Install
-shaker_version: 1.3.2
+shaker_version: 1.4.2
# Custom name to use for the cloud
cloud_prefix: openstack
@@ -184,7 +184,7 @@ collectd_networker: true
collectd_blockstorage: true
collectd_objectstorage: true
collectd_cephstorage: true
-collectd_compute: false
+collectd_compute: true
collectd_graphite: true
collectd_prometheus: false
Browbeat ansible task failed to meet pbr. After installed "pbr" package manually, we are able to pass the below ansible task.
ansible-playbook -i hosts.yml install/browbeat.yml
TASK [browbeat : Install requirements.txt into browbeat-venv] ********************************************************************************************************************************************************************************
Wednesday 04 August 2021 08:38:56 -0400 (0:00:00.072) 0:00:11.324 ******
fatal: [undercloud]: FAILED! => changed=false
cmd: /home/stack/browbeat/.browbeat-venv/bin/pip2 install -r /home/stack/browbeat/requirements.txt
msg: |-
stdout: Collecting ansible>=2.4.1 (from -r /home/stack/browbeat/requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/82/33/53edc29f74573d6059dc8ad0a6bc4c55427788c9f15fe42948d430636348/ansible-4.3.0.tar.gz
Collecting elasticsearch (from -r /home/stack/browbeat/requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/2e/6e/25010780a4f6b80890e7ae53c006298990a9fd8f5bbbee4f13de14847643/elasticsearch-7.14.0-py2.py3-none-any.whl
Collecting pyrsistent==0.16.0 (from -r /home/stack/browbeat/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/9f/0d/cbca4d0bbc5671822a59f270e4ce3f2195f8a899c97d0d5abb81b191efb5/pyrsistent-0.16.0.tar.gz
Collecting grafyaml>=0.0.7 (from -r /home/stack/browbeat/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/fd/af/01c095a3bae2b9f129fbacdf015190ed065b0699f453becfca9a839c1430/grafyaml-0.0.8-py2.py3-none-any.whl
Collecting openstacksdk (from -r /home/stack/browbeat/requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/41/bd/ae617abe3ef5e86f467f29ca67d45b16d08bb0c07eb2bd7704c6c2b13639/openstacksdk-0.45.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.4.2 (from -r /home/stack/browbeat/requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl
Collecting python-openstackclient==3.11.0 (from -r /home/stack/browbeat/requirements.txt (line 10))
Using cached https://files.pythonhosted.org/packages/a5/3a/38c50a4152feed2982d54ef0aebdceff63dd06d3b3ba0892b3f33e847552/python_openstackclient-3.11.0-py2.py3-none-any.whl
Collecting pykwalify==1.7.0 (from -r /home/stack/browbeat/requirements.txt (line 12))
Using cached https://files.pythonhosted.org/packages/36/9f/612de8ca540bd24d604f544248c4c46e9db76f6ea5eb75fb4244da6ebbf0/pykwalify-1.7.0-py2.py3-none-any.whl
Collecting ansible-core<2.12,>=2.11.3 (from ansible>=2.4.1->-r /home/stack/browbeat/requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/96/eb/437cbb50b2faa1458e1ad38912acb20dd228b5a0ae0aa198eef9887ac192/ansible-core-2.11.3.tar.gz
Collecting certifi (from elasticsearch->-r /home/stack/browbeat/requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/05/1b/0a0dece0e8aa492a6ec9e4ad2fe366b511558cdc73fd3abc82ba7348e875/certifi-2021.5.30-py2.py3-none-any.whl
Collecting urllib3<2,>=1.21.1 (from elasticsearch->-r /home/stack/browbeat/requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/5f/64/43575537846896abac0b15c3e5ac678d787a4021e906703f1766bfb8ea11/urllib3-1.26.6-py2.py3-none-any.whl
Collecting six (from pyrsistent==0.16.0->-r /home/stack/browbeat/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Collecting python-slugify (from grafyaml>=0.0.7->-r /home/stack/browbeat/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/7c/60/cb0f8c5b76abec39cc7d2a5b9f7df441653d3095bbbe63c500f9d4d53e19/python_slugify-5.0.0-py2.py3-none-any.whl
Collecting voluptuous<=0.10.5 (from grafyaml>=0.0.7->-r /home/stack/browbeat/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/c3/81/c84f8a3e723b760fdd1c41fc80201cb80cd29c1bce5159d8918c58df7d2a/voluptuous-0.10.5.tar.gz
Collecting pbr!=2.1.0,>=2.0.0 (from grafyaml>=0.0.7->-r /home/stack/browbeat/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/18/e0/1d4702dd81121d04a477c272d47ee5b6bc970d1a0990b11befa275c55cf2/pbr-5.6.0-py2.py3-none-any.whl
Collecting dogpile.cache (from grafyaml>=0.0.7->-r /home/stack/browbeat/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/b5/02/9692c82808341747afc87a7c2b701c8eed76c05ec6bc98844c102a537de7/dogpile.cache-0.9.2.tar.gz
Collecting PyYAML>=3.1.0 (from grafyaml>=0.0.7->-r /home/stack/browbeat/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/ba/d4/3cf562876e0cda0405e65d351b835077ab13990e5b92912ef2bf1a2280e0/PyYAML-5.4.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting requests (from grafyaml>=0.0.7->-r /home/stack/browbeat/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl
Collecting munch>=2.1.0 (from openstacksdk->-r /home/stack/browbeat/requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/cc/ab/85d8da5c9a45e072301beb37ad7f833cd344e04c817d97e0cc75681d248f/munch-2.5.0-py2.py3-none-any.whl
Collecting appdirs>=1.3.0 (from openstacksdk->-r /home/stack/browbeat/requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl
Collecting ipaddress>=1.0.17; python_version < "3.3" (from openstacksdk->-r /home/stack/browbeat/requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/c2/f8/49697181b1651d8347d24c095ce46c7346c37335ddc7d255833e7cde674d/ipaddress-1.0.23-py2.py3-none-any.whl
Collecting jsonpatch!=1.20,>=1.16 (from openstacksdk->-r /home/stack/browbeat/requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/a3/55/f7c93bae36d869292aedfbcbae8b091386194874f16390d680136edd2b28/jsonpatch-1.32-py2.py3-none-any.whl
Collecting keystoneauth1>=3.18.0 (from openstacksdk->-r /home/stack/browbeat/requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/b8/b7/1f2ef8ff5f20319fa15f53d76990817bfdb02b56cac00aeca17ba495cc40/keystoneauth1-4.0.1.tar.gz
Complete output from command python setup.py egg_info:
Couldn't find index page for 'pbr' (maybe misspelled?)
No local packages or working download links found for pbr>=2.0.0
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-YPl5k3/keystoneauth1/setup.py", line 29, in <module>
pbr=True)
File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/home/stack/browbeat/.browbeat-venv/lib/python2.7/site-packages/setuptools/dist.py", line 315, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/home/stack/browbeat/.browbeat-venv/lib/python2.7/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs
replace_conflicting=True,
File "/home/stack/browbeat/.browbeat-venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 850, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/stack/browbeat/.browbeat-venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1122, in best_match
return self.obtain(req, installer)
File "/home/stack/browbeat/.browbeat-venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1134, in obtain
return installer(requirement)
File "/home/stack/browbeat/.browbeat-venv/lib/python2.7/site-packages/setuptools/dist.py", line 429, in fetch_build_egg
return cmd.easy_install(req)
File "/home/stack/browbeat/.browbeat-venv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 659, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')
----------------------------------------
:stderr: Ignoring pyrsistent: markers 'python_version >= "3"' don't match your environment
Ignoring python-openstackclient: markers 'python_version >= "3"' don't match your environment
Ignoring pykwalify: markers 'python_version >= "3"' don't match your environment
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-YPl5k3/keystoneauth1/
You are using pip version 9.0.1, however version 21.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
to retry, use: --limit @/home/stack/browbeat/ansible/install/browbeat.retry
PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
undercloud : ok=18 changed=2 unreachable=0 failed=1
Resolution Steps:
1. Manually install pbr latest version in .browbeat-venv and retry the ansible command to install browbeat.
$ /home/stack/browbeat/.browbeat-venv/bin/pip2 install pbr
Collecting pbr
Using cached https://files.pythonhosted.org/packages/18/e0/1d4702dd81121d04a477c272d47ee5b6bc970d1a0990b11befa275c55cf2/pbr-5.6.0-py2.py3-none-any.whl
Installing collected packages: pbr
Successfully installed pbr-5.6.0
2. Retry the ansible installation
ansible-playbook -i hosts.yml install/browbeat.yml