Skip to content

Conversation

@victormlg
Copy link
Contributor

No description provided.

@victormlg victormlg requested a review from olehermanse April 23, 2025 14:27
@victormlg victormlg force-pushed the curl_not_installed branch from 06b1b00 to 235622e Compare April 25, 2025 05:16
@victormlg victormlg force-pushed the curl_not_installed branch from 235622e to cfa439e Compare May 8, 2025 08:53
@victormlg victormlg requested a review from larsewi May 8, 2025 09:08
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
Copy link
Contributor

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).

Copy link
Contributor Author

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

Copy link
Member

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]>
@victormlg victormlg force-pushed the curl_not_installed branch from cfa439e to db6b5c2 Compare May 14, 2025 10:42
@victormlg victormlg requested a review from larsewi May 14, 2025 10:43
@olehermanse olehermanse self-requested a review May 15, 2025 19:00
@olehermanse olehermanse merged commit f88b567 into cfengine:master May 15, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants