Skip to content

CR for fio_distributed can't start FIO servers when deployed through Ripsaw benchmark operator. #2812

@abdasgupta

Description

@abdasgupta

I am trying to install Ripsaw benchmark operator https://github.com/cloud-bulldozer/ripsaw on Power 9 server. When I create the benchmark operator following this guide https://github.com/cloud-bulldozer/ripsaw/blob/master/docs/installation.md, the benchmark operator runs fine. As I am running the setup on Power 9, I had to build docker images for ansible operator https://github.com/operator-framework/operator-sdk and ripsaw benchmark operator https://github.com/cloud-bulldozer/ripsaw/blob/master/build/Dockerfile . But when I tried to deploy a CR using https://github.com/cloud-bulldozer/ripsaw/blob/master/docs/fio_distributed.md , I get the following error in ansible container of benchmark operator:

$ oc logs -n my-ripsaw benchmark-operator-584d477c4f-xnbdl -c ansible

WARN: This script is deprecated and will soon be removed
Setting up watches.  Beware: since -r was given, this may take a while!
Watches established.
/tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/fio-benchmark/artifacts/6129484611666145821//stdout
ansible-playbook 2.9.6
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/usr/share/ansible/openshift']
  ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.6.8 (default, Oct 11 2019, 10:45:08) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]
Using /etc/ansible/ansible.cfg as config file
setting up inventory plugins
host_list declined parsing /tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/fio-benchmark/inventory/hosts as it did not pass its verify_file() method
script declined parsing /tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/fio-benchmark/inventory/hosts as it did not pass its verify_file() method
auto declined parsing /tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/fio-benchmark/inventory/hosts as it did not pass its verify_file() method
Set default localhost to localhost
Parsed /tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/fio-benchmark/inventory/hosts inventory source with ini plugin
ERROR! couldn't resolve module/action 'k8s_status'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/opt/ansible/playbook.yml': line 21, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


    - name: Setting the uuid for the benchmark
      ^ here
/tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/fio-benchmark/artifacts/4037200794235010051//stdout

It seems k8s_status in ripsaw benchmark operator can't be parsed.

My environment:

$cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.1 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.1"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.1 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.1:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.1
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.1"

$lscpu
Architecture:        ppc64le
Byte Order:          Little Endian
CPU(s):              128
On-line CPU(s) list: 0-127
Thread(s) per core:  4
Core(s) per socket:  16
Socket(s):           2
NUMA node(s):        2
Model:               2.2 (pvr 004e 1202)
Model name:          POWER9, altivec supported
CPU max MHz:         3800.0000
CPU min MHz:         2166.0000
L1d cache:           32K
L1i cache:           32K
L2 cache:            512K
L3 cache:            10240K
NUMA node0 CPU(s):   0-63
NUMA node8 CPU(s):   64-127

Metadata

Metadata

Assignees

Labels

language/ansibleIssue is related to an Ansible operator projecttriage/supportIndicates an issue that is a support question.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions