Browbeat installation failed in OpenStack NEWTON(RHOSP10) on RHEL7.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-browbeat |
New
|
Undecided
|
Unassigned |
Bug Description
TASK [rally : Setup rally database] *******
task path: /home/stack/
Tuesday 13 December 2022 16:42:15 +0300 (0:00:01.670) 0:02:51.874 ******
Using module file /usr/lib/
<localhost> ESTABLISH SSH CONNECTION FOR USER: stack
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyCh
imeout=30 -o ControlPath=
<localhost> (0, '/home/stack\n', '')
<localhost> ESTABLISH SSH CONNECTION FOR USER: stack
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyCh
imeout=30 -o ControlPath=
tmp/ansible-
<localhost> (0, 'ansible-
<localhost> PUT /tmp/tmptBOXNZ TO /home/stack/
<localhost> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyCh
nnectTimeout=30 -o ControlPath=
<localhost> (0, 'sftp> put /tmp/tmptBOXNZ /home/stack/
<localhost> ESTABLISH SSH CONNECTION FOR USER: stack
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyCh
imeout=30 -o ControlPath=
<localhost> (0, '', '')
<localhost> ESTABLISH SSH CONNECTION FOR USER: stack
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyCh
imeout=30 -o ControlPath=
ev/null 2>&1 && sleep 0'"'"''
<localhost> (0, '\r\n{"changed": true, "end": "2022-12-13 16:42:17.535443", "stdout": "Recreating database: sqlite:
recreate", "rc": 0, "start": "2022-12-13 16:42:16.009725", "stderr": "", "delta": "0:00:01.525718", "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": true, "_raw_params": ". /home/stack/
te", "removes": null, "creates": null, "chdir": null, "stdin": null}}}\r\n', 'Shared connection to localhost closed.\r\n')
changed: [localhost] => {
"changed": true,
"cmd": ". /home/stack/
"delta": "0:00:01.525718",
"end": "2022-12-13 16:42:17.535443",
"failed": false,
"invocation": {
"warn": true
}
},
"rc": 0,
"start": "2022-12-13 16:42:16.009725",
"stderr": "",
"stderr_lines": [],
"stdout": "Recreating database: sqlite:
"stdout_lines": [
"Recreating database: sqlite:
"Database deleted successfully",
"Database created successfully"
]
}
TASK [rally : install rally browbeat code] *******
task path: /home/stack/
Tuesday 13 December 2022 16:42:17 +0300 (0:00:02.530) 0:02:54.405 ******
fatal: [localhost]: FAILED! => {
"failed": true,
"msg": "The conditional check 'rhosp_version is version('13.0', '>=')' failed. The error was: template error while templating string: no test named 'version'. String: {% if rhosp_version is version('13.0', '>=') %} True {% else %} False {% endif %}\n\nThe error a
ppears to have been in '/home/
oach.\n- name: install rally browbeat code\n ^ here\n"
}
to retry, use: --limit @/home/
PLAY RECAP *******
localhost : ok=42 changed=12 unreachable=0 failed=1
So issue hit when we set the rhosp-release file that is not available on
Newton.. so removed it and then hitting different issue at the file check
for /etc/rhosp-release
Any idea?
On Tue, 13 Dec 2022 at 16:55 SK <email address hidden> wrote:
> Public bug reported: ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* browbeat/ ansible/ install/ roles/rally/ tasks/main. yml:61 python2. 7/site- packages/ ansible/ modules/ commands/ command. py ecking= no -o KbdInteractiveA uthentication= no -o tications= gssapi- with-mic, gssapi- keyex,hostbased ,publickey ication= no -o User=stack -o ConnectT /home/stack/ .ansible/ cp/a1803a4e6c localhost ecking= no -o KbdInteractiveA uthentication= no -o tications= gssapi- with-mic, gssapi- keyex,hostbased ,publickey ication= no -o User=stack -o ConnectT /home/stack/ .ansible/ cp/a1803a4e6c localhost .ansible/ tmp/ansible- tmp-1670938935. 08-205385638144 299 `" && tmp-1670938935. 08-205385638144 299="` echo /home/stack/ .ansible/ tmp-1670938935. 08-205385638144 299 `" ) && sleep 0'"'"'' tmp-1670938935. 08-205385638144 299=/home/ stack/. ansible/ tmp/ansible- tmp-1670938935. 08-205385638144 299\n', .ansible/ tmp/ansible- tmp-1670938935. 08-205385638144 299/command. py ecking= no -o uthentication= no -o tications= gssapi- with-mic, gssapi- keyex,hostbased ,publickey ication= no -o User=stack -o Co /home/stack/ .ansible/ cp/a1803a4e6c .ansible/ tmp/ansible- tmp-1670938935. 08-205385638144 299/command. py\n', ecking= no -o KbdInteractiveA uthentication= no -o tications= gssapi- with-mic, gssapi- keyex,hostbased ,publickey ication= no -o User=stack -o ConnectT /home/stack/ .ansible/ cp/a1803a4e6c localhost .ansible/ tmp/ansible- tmp-1670938935. ..
>
> TASK [rally : Setup rally database]
> *******
> task path:
> /home/stack/
> Tuesday 13 December 2022 16:42:15 +0300 (0:00:01.670) 0:02:51.874
> ******
> Using module file
> /usr/lib/
> <localhost> ESTABLISH SSH CONNECTION FOR USER: stack
> <localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s
> -o StrictHostKeyCh
> PreferredAuthen
> -o PasswordAuthent
> imeout=30 -o ControlPath=
> '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
> <localhost> (0, '/home/stack\n', '')
> <localhost> ESTABLISH SSH CONNECTION FOR USER: stack
> <localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s
> -o StrictHostKeyCh
> PreferredAuthen
> -o PasswordAuthent
> imeout=30 -o ControlPath=
> '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo
> /home/stack/
> echo ansible-
> tmp/ansible-
> <localhost> (0,
> 'ansible-
> '')
> <localhost> PUT /tmp/tmptBOXNZ TO
> /home/stack/
> <localhost> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o
> ControlPersist=60s -o StrictHostKeyCh
> KbdInteractiveA
> PreferredAuthen
> -o PasswordAuthent
> nnectTimeout=30 -o ControlPath=
> '[localhost]'
> <localhost> (0, 'sftp> put /tmp/tmptBOXNZ
> /home/stack/
> '')
> <localhost> ESTABLISH SSH CONNECTION FOR USER: stack
> <localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s
> -o StrictHostKeyCh
> PreferredAuthen
> -o PasswordAuthent
> imeout=30 -o ControlPath=
> '/bin/sh -c '"'"'chmod u+x
> /home/stack/