-
Notifications
You must be signed in to change notification settings - Fork 20
CFE-4405: Added curl installation check when remote download #133
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
Conversation
06b1b00 to
235622e
Compare
235622e to
cfa439e
Compare
| if remote_download: | ||
| if data.get("bin") and not data.get("bin", {}).get("curl"): | ||
| log.error( | ||
| "Couldn't download remotely. Curl is not installed on host '%s'" % host |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there also a fix for curl not being installed on the cf-remote host? I ran into this today and cf-remote just seemed to "hang" for a long time without curl installed (in a debian-12 container fwiw).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this pr should already solve this problem. I didn't see curl used anywhere else on the remote host
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@victormlg I think he meant on the machine you're running cf-remote on, not the remote. There is one more place where we use curl, in disable_password_dialog. Maybe that's what he was referring to.
Ticket: CFE-4405 Signed-off-by: Victor Moene <[email protected]>
cfa439e to
db6b5c2
Compare
No description provided.