Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Flatcar]/usr/bin/rescan-scsi-bus.sh doesn't exit in Flatcar #79

Closed
keirazhang opened this issue Jun 30, 2021 · 0 comments · Fixed by #80
Closed

[Bug] [Flatcar]/usr/bin/rescan-scsi-bus.sh doesn't exit in Flatcar #79

keirazhang opened this issue Jun 30, 2021 · 0 comments · Fixed by #80
Assignees
Labels
bug Something isn't working

Comments

@keirazhang
Copy link
Contributor

SUMMARY
2021-06-29 03:47:12,029 | TASK [Rescan all scsi devices] *****************************
task path: /root/ansible-vsphere-gos-validation/linux/vhba_hot_add_remove/wait_device_list_changed.yml:32
An exception occurred during task execution. The full traceback is:
  File "/tmp/ansible_ansible.legacy.command_payload_6xkgn65h/ansible_ansible.legacy.command_payload.zip/ansible/module_utils/basic.py", line 2016, in run_command
    cmd = subprocess.Popen(args, **kwargs)
  File "/opt/active_python/lib/python3.6/subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
  File "/opt/active_python/lib/python3.6/subprocess.py", line 1326, in _execute_child
    raise child_exception_type(errno_num, err_msg)

fatal: [localhost -> 10.193.26.185]: FAILED! => {
    "changed": false,
    "cmd": "/usr/bin/rescan-scsi-bus.sh -a -r",
    "invocation": {
        "module_args": {
            "_raw_params": "/usr/bin/rescan-scsi-bus.sh -a -r",
            "_uses_shell": false,
            "argv": null,
            "chdir": null,
            "creates": null,
            "executable": null,
            "removes": null,
            "stdin": null,
            "stdin_add_newline": true,
            "strip_empty_ends": true,
            "warn": false
        }
    },
    "msg": "[Errno 2] No such file or directory: b'/usr/bin/rescan-scsi-bus.sh'",
    "rc": 2,
    "stderr": "",
    "stderr_lines": [],
    "stdout": "",
    "stdout_lines": []
}
ISSUE TYPE
  • Bug Report
ANSIBLE VERSION
ansible-playbook [core 2.11.1] 
  config file = /root/ansible-vsphere-gos-validation/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.9/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible-playbook
  python version = 3.9.1 (default, May 19 2021, 10:27:03) [GCC 10.2.0]
  jinja version = 3.0.1
  libyaml = True
ENVIRONMENT / OS

Flatcar 2765.2.5 x86_64

@keirazhang keirazhang added the bug Something isn't working label Jun 30, 2021
@keirazhang keirazhang self-assigned this Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant