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

Firmware upgrade retry attempts of 50 isn't sufficient, can we make it configurable? #5

Open
golthitarun opened this issue Jan 28, 2019 · 0 comments

Comments

@golthitarun
Copy link

golthitarun commented Jan 28, 2019

We were trying to upgrade the image and the process was failing due to the job reaching the limit of 50 retries and the state of the job is still "State Detail: In progress: Installing OS10 packages".

Is it possible to make the number of retries configurable through args? I made those changes locally and it seems like its working.
My change: golthitarun@123477b

Ansible Log details: Attached complete log and below exact error details.

{
"_ansible_parsed": true,
"_ansible_no_log": false,
"stdout": [
"Image Upgrade State: install\n==================================================\nFile Transfer State: idle\n-------------------------------------------------\n State Detail: Completed: No error\n Task Start: 2018-12-14T18:34:37Z\n Task End: 2018-12-14T18:42:55Z\n Transfer Progress: 100 %\n Transfer Bytes: 417851721 bytes\n File Size: 417851721 bytes\n Transfer Rate: 839 kbps\n \nInstallation State: install\n-------------------------------------------------\n State Detail: In progress: Installing OS10 packages\n Task Start: 2018-12-14T18:42:55Z\n Task End: 0000-00-00T00:00:00Z"
],
"changed": false,
"attempts": 50,
"invocation": {
"module_args": {
"username": null,
"authorize": null,
"commands": [
"show image status"
],
"ssh_keyfile": null,
"retries": 10,
"auth_pass": null,
"wait_for": null,
"interval": 1,
"host": null,
"timeout": null,
"provider":

{ "username": null, "authorize": null, "ssh_keyfile": null, "auth_pass": null, "host": null, "timeout": null, "password": null, "port": null }
,
"password": null,
"port": null,
"match": "all"
}
},
"stdout_lines": [
[
"Image Upgrade State: install",
"==================================================",
"File Transfer State: idle",
"--------------------------------------------------",
" State Detail: Completed: No error",
" Task Start: 2018-12-14T18:34:37Z",
" Task End: 2018-12-14T18:42:55Z",
" Transfer Progress: 100 %",
" Transfer Bytes: 417851721 bytes",
" File Size: 417851721 bytes",
" Transfer Rate: 839 kbps",
" ",
"Installation State: install",
"--------------------------------------------------",
" State Detail: In progress: Installing OS10 packages",
" Task Start: 2018-12-14T18:42:55Z",
" Task End: 0000-00-00T00:00:00Z"
]
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant