juju add-machine gives missing CentOS-base repo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
I'm getting an error when I try to add a centos machine to a juju model as:
juju add-machine ssh:<email address hidden>
Logging to /var/log/
Installing curl, bridge-utils, cloud-utils, nmap-ncat, tmux
Changing package mirror does not yet work on CentOS
sed: can't read /etc/yum/
ERROR provisioning failed, removing machine 97: subprocess encountered error code 1
ERROR subprocess encountered error code 1
After manually creating the file as:
juju ssh <email address hidden>
mkdir -p /etc/yum/repos.d/
touch CentOS-Base.repo
... then the juju agent installs fine as:
juju add-machine ssh:<email address hidden>
created machine 98
Getting juju to work better on centos is a good thing =)
# Versions etc. below
[centos@actual-moth ~]$ cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
juju --version
2.6.10-bionic-amd64
agent binaries from https:/
bb04c23df58d0ee
description: | updated |
summary: |
- centos add-machine missing CentOS-base repo + juju add-machine gives missing CentOS-base repo |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.7.1 |
Changed in juju: | |
milestone: | 2.7.1 → 2.7.2 |
Changed in juju: | |
milestone: | 2.7.2 → 2.7.3 |
Changed in juju: | |
milestone: | 2.7.3 → 2.7.4 |
Changed in juju: | |
milestone: | 2.7.4 → 2.7.5 |
Changed in juju: | |
milestone: | 2.7.5 → 2.7.6 |
Changed in juju: | |
milestone: | 2.7.6 → 2.8.1 |
tags: | added: centos |
Changed in juju: | |
milestone: | 2.8.1 → 2.8.2 |
Changed in juju: | |
milestone: | 2.8.2 → 2.8.3 |
Changed in juju: | |
milestone: | 2.8.4 → none |
What happened to this?
Den ons 23 sep. 2020 20:15Pete Vander Giessen <email address hidden>
skrev:
> ** Changed in: juju /bugs.launchpad .net/bugs/ 1850952 cloud-init- output. log on the bootstrap machine repos.d/ CentOS- Base.repo: No such file or /10.104. 131.3:17070/ model/93c6e589- bfc4-4d4c- 8913-aca9d0c110 dd/tools/ 2.6.5-centos7- amd64 a986edeeedf5e2e 4ac818e5189d977 da57c3b32e4bc40 3e91 juju/tools/ 2.6.5-centos7- amd64/tools. tar.gz /bugs.launchpad .net/juju/ +bug/1850952/ +subscriptions
> Milestone: 2.8.4 => None
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> juju add-machine gives missing CentOS-base repo
>
> Status in juju:
> Triaged
>
> Bug description:
> I'm getting an error when I try to add a centos machine to a juju
> model as:
>
> juju add-machine ssh:<email address hidden>
> Logging to /var/log/
> Installing curl, bridge-utils, cloud-utils, nmap-ncat, tmux
> Changing package mirror does not yet work on CentOS
> sed: can't read /etc/yum/
> directory
> ERROR provisioning failed, removing machine 97: subprocess encountered
> error code 1
> ERROR subprocess encountered error code 1
>
> After manually creating the file as:
> juju ssh <email address hidden>
> mkdir -p /etc/yum/repos.d/
> touch CentOS-Base.repo
>
> ... then the juju agent installs fine as:
>
> juju add-machine ssh:<email address hidden>
> created machine 98
>
> Getting juju to work better on centos is a good thing =)
>
>
> # Versions etc. below
>
> [centos@actual-moth ~]$ cat /etc/redhat-release
> CentOS Linux release 7.6.1810 (Core)
>
> juju --version
> 2.6.10-bionic-amd64
>
>
> agent binaries from
> https:/
> downloaded: HTTP 200; time 11.635s; size 47941071 bytes; speed 4120475.000
> bytes/s Agent binaries downloaded successfully.
> bb04c23df58d0ee
> /var/lib/
>
> To manage notifications about this bug go to:
> https:/
>