incorrect location for download-tools

Bug #2023088 reported by james beedy
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Undecided
Unassigned

Bug Description

Hello,

I am deploying rockylinux and experiencing some difficulties.

This is the error I see

machine-2: 00:11:58 WARNING juju.worker.proxyupdater unable to set snap core settings [proxy.http= proxy.https= proxy.store=]: exec: "snap": executable file not found in $PATH, output: ""
machine-2: 00:11:58 ERROR juju.worker.proxyupdater error writing apt proxy config file: open /etc/apt/apt.conf.d/95-juju-proxy-settings: no such file or directory
machine-2: 00:24:21 INFO juju.worker.deployer checking unit "test-charm/0"
machine-2: 00:24:21 INFO juju.worker.deployer deploying unit "test-charm/0"
machine-2: 00:24:21 ERROR juju.worker.deployer unable to create unit agent "test-charm/0": cannot read agent metadata in directory /var/lib/juju/tools/3.2.0-genericlinux-amd64: open /var/lib/juju/tools/3.2.0-genericlinux-amd64/downloaded-tools.txt: no such file or directory

It seems the dataDir is coming up as /var/lib/juju/tools/3.2.0-centos-amd64/ when the juju agent is expecting /var/lib/juju/tools/3.2.0-genericlinux-amd64/.

Can we use the generic dataDir when the series isn't ubuntu, centos, or opensuse?

Thank you

Changed in juju:
assignee: nobody → Heather Lanigan (hmlanigan)
status: New → Triaged
Changed in juju:
assignee: Heather Lanigan (hmlanigan) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.