I am working on understanding the pieces that I am missing in being able to deploy Juju across the other MAAS nodes. I don't know If I have a step out of place, or missing a few.
The MaaS server handles the DHCP and DNS. The router (which is at 10.0.0.0) has DHCP turned off. Any assistance is greatly appreciated. When I am at the end I will either get a 409 error, or arbitrary pick tools 1.16.0 error. It is worth mentioning that local, and aws works fine. Hopefully with all of these steps spelled out it will help someone else along the way too.
Updated Nov 3 2013 In this scenario for the POC, there are three physical servers. One is a HP DL 140 with 2 cpu 8gb ram, the second server is a DELL Power Edge 860 Server 1 cpu w 4 cores and 8 gb ram, and the third is a rackable systems sp5000psl with two cpus and 8gb of ram. They are all able to be on their own seperate network with access to the internet or can be on the first network. (second network is 10.0.0.0, and the first is 192.168.1.0)
Steps
Setting Up MAAS and JUJU - 12.04 LTS Clean install SSH only from the package selection during install
sudo apt-get install software-properties-common python-software-properties
sudo add-apt-repository ppa:maas-maintainers/stable
sudo add-apt-repository ppa:juju/stable
sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
sudo apt-get install maas maas-dns maas-dhcp
sudo ufw disable
sudo reboot
- edit /etc/dhcp/dhcpd.conf
authoritive
subnet 10.0.0.0 netmask 255.255.255.0 {
next-server 10.0.0.2;
filename "pxelinux.0";
}
sudo maas createsuperuser
sudo maas-import-pxe-files
Login to MAAS http://10.x.x.x/MAAS
- cluster controller configuration for eth0
- manage dhcp and dns
- IP 10.0.0.2
- subnet 255.255.255.0
- broadcast 10.0.0.0
- routerip 10.0.0.1
- ip low 10.0.0.5
- ip high 10.0.0.180
Commissioning default and distro is set at 12.04
default domain is at local
sudo maas-cli login maas http://10.x.x.x/MAAS/api/1.0 api-key
ssh-keygen -t rsa -b 2048 - enter - no password - cat id_rsa.pub and enter key into MAAS ssh
sudo maas-cli maas nodes accept-all (interestingly enough I only get back [] when executing this )
PXE one machine, accept and commision, start and deploy.
sudo apt-get install juju-core juju-local
MAAS config:
maas:
type: maas
maas-server: '://10.x.x.x:80/MAAS'
maas-oauth: 'MAAS_API_KEY'
admin-secret: 'nothing'
default-series: 'precise'
juju switch maas
sudo juju bootstrap --show-log