[caasp-beta] issues with pxe/autoyast/cloud-init

Andrew Cole andrew.cole at suse.com
Mon Apr 3 16:56:30 MDT 2017


Hi

I've been trying to use a combination of pxeboot, autoyast, and cloud-
init to get a 10-node cluster up using the beta 2 ISO. I have an extra
Leap 42.2 machine that is hosting DHCP, TFTP, and FTP for the PXE
environment. On this pxe server machine I have the beta2 dvd1 iso
mounted under ftp://192.168.2.11/repository, and I have my cloud-init
data at ftp://192.168.2.11/cloud.cfg [1] and ftp://192.168.2.11/cloud-i
nit/user-data [2].

I start by manually installing a Dashboard node from the ISO. This goes
fine. I can access Velum on this machine and it tells me to autoyast
more machines with `autoyast=http://192.168.2.110/autoyast`

On the pxe server, I specify the following
in /srv/tftpboot/pxelinux.cfg/default:

label linux
  kernel linux
  append initrd=initrd splash=silent showopts autoyast=http://192.168.2
.110/autoyast install=ftp://192.168.2.11/repository cloud-init-url=ftp:
//192.168.2.11/cloud.cfg

I can now pxeboot systems in the environment and they seem to install
caasp via autoyast successfully. However, I have two problems:

1. Systems brought up this way do not join the cluster-- they are not
visible in the Velum UI, and `salt-key --list-all` from inside the
salt-master container shows only 'ca' and the dashboard node.
2. I cannot access the pxe-booted machines to debug. I cannot log in
because cloud-init does not seem to have used my user-data.

Any advice is greatly appreciated.

Thanks
Andrew



[1]
pxe at pxe:~> cat /srv/ftp/cloud.cfg 
#cloud-config
datasource:
  NoCloud:
    seedfrom: ftp://192.168.2.11/cloud-init/

[2]
pxe at pxe:~> cat /srv/ftp/cloud-init/user-data 
#cloud-config
debug: True
disable_root: False
ssh_authorized_keys:
- ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDoJe7lZTgWyULxkoH0/y7pM3VR+7ucBciTZD5zi6D
JbJwV310A/a8UiUAIfl/zaANFOofZUv+icCnvufmqLyF+wTTW3gzmkNpMq0v8G6YjVzpDpk
17cr7MLYGrdC4IbhIbuY4T9RiAkToqcuGdO2czDOo8AUkW8/olkKDT3wn1lTjm8Q4N9CEal
DQ8kKB00yT7C0bprt8J/hmSb6KLymNt1c995dHkr3UuvBM8seGChAvjCLteAaGR3hKYjIM+
k/0N3JOfE9f+ACKqe9qIPPp80hf0AXDRTW7rIHwjORgoV5cYKI8v32v8TqLLqsPgVsmdsK1
jAJdOyyH7W0FtF/AD


More information about the caasp-beta mailing list