2019-11-01 15:59:45 |
Erik Lönroth |
description |
I'm getting an error when I try to add a centos machine to a juju model as:
juju add-machine ssh:centos@actual-moth.maas.rnd.scania.com
Logging to /var/log/cloud-init-output.log on the bootstrap machine
Installing curl, bridge-utils, cloud-utils, nmap-ncat, tmux
Changing package mirror does not yet work on CentOS
sed: can't read /etc/yum/repos.d/CentOS-Base.repo: No such file or 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 centos@actual-moth.maas.rnd.scania.com
mkdir -p /etc/yum/repos.d/
touch CentOS-Base.repo
... then the juju agent installs fine as:
juju add-machine ssh:centos@actual-moth.maas.rnd.scania.com
created machine 98
Getting juju to work better on centos is a good thing =) |
I'm getting an error when I try to add a centos machine to a juju model as:
juju add-machine ssh:centos@actual-moth.maas.rnd.scania.com
Logging to /var/log/cloud-init-output.log on the bootstrap machine
Installing curl, bridge-utils, cloud-utils, nmap-ncat, tmux
Changing package mirror does not yet work on CentOS
sed: can't read /etc/yum/repos.d/CentOS-Base.repo: No such file or 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 centos@actual-moth.maas.rnd.scania.com
mkdir -p /etc/yum/repos.d/
touch CentOS-Base.repo
... then the juju agent installs fine as:
juju add-machine ssh:centos@actual-moth.maas.rnd.scania.com
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://10.104.131.3:17070/model/93c6e589-bfc4-4d4c-8913-aca9d0c110dd/tools/2.6.5-centos7-amd64 downloaded: HTTP 200; time 11.635s; size 47941071 bytes; speed 4120475.000 bytes/s Agent binaries downloaded successfully.
bb04c23df58d0eea986edeeedf5e2e4ac818e5189d977da57c3b32e4bc403e91 /var/lib/juju/tools/2.6.5-centos7-amd64/tools.tar.gz |
|