Provisioning Machine Specs

Availability: nova

Flavor: m1.medium

Image: CoreOSStable1122

 

Check “remote SSH” security group and specify a key pair

 

Once machine comes up, update the docker0 bip

  • docker ps
    • to start the daemon
  • sudo su
  • mkdir -p /etc/systemd/system/docker.service.d
  • vi /etc/systemd/system/docker.service.d/10-docker0.conf
    • [Service]
    • Environment="DOCKER_OPT_BIP=--bip=172.30.0.1/16"
    • Environment="DOCKER_OPT_MTU=--mtu=1454"
  • ifconfig
    • to see old MTU value for docker0
  • systemctl daemon-reload docker
  • systemctl restart docker
  • ifconfig
    • to see new MTU value for docker0

Switching CoreOS to stable channel

Alter /etc/coreos/update.conf

GROUP=stable

 

sudo update_engine_client -check_for_update

sudo update_engine_client -status

sudo update_engine_client -update

Adding a new image to Nebula

Via web interface:

  • Download CoreOS image (as .bz2)
  • Use bunzip2 to extract (as .img)
  • Upload to Nebula as QCOW2

Via client:

  • docker run -it ndslabs/deploy-tools bash
  • . SAVED_AND_SENSITIVE_VOLUME/os.rc
  • nova credentials (confirm working)
  • openstack image create --disk-format qcow2 --file ./coreos_production_openstack_image.img CoreOSStable1122

     

  • No labels