oracle / oci-cli

Command Line Interface for Oracle Cloud Infrastructure
https://cloud.oracle.com/cloud-infrastructure
Other
451 stars 185 forks source link

v3.50.2 Install fails for root on ubuntu 24.04.1 server #875

Open cunneen opened 2 days ago

cunneen commented 2 days ago

I'm trying to install oci-cli (v3.50.2) on an ubuntu 24.04.1 server, as the root user.

I'm using the OCI Compute image with ID ocid1.image.oc1.ap-sydney-1.aaaaaaaabren6pndzvk3zx6yvsrlvuytl252gfffngbmdnnqiju2ns3n53mq (the November 20, 2024 image found here ).

I'm installing the install as part of cloud-init, which runs as the root user. The goal is for it to download some scripts from an object-store bucket, to bootstrap the system.

Interestingly, it installs without issue when I installed it manually as a non-root user.

As root user, running bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/refs/tags/v3.50.2/scripts/install/install.sh)" -- --accept-all-defaults:

himanshudas75 commented 20 hours ago

Investigating the issue