centos7 openstack network namespace

I created instance in centos7 openstack, associated floating ip to instance but cannot ping and ssh to it. Finally found out I have to give network name space to it, more detail about network namespace here. network namespce [vagrant@ctopenstack ~(keystone_demo)]$ ip netns list qrouter-6d768792-a449-40dd-b124-c2daba753cfd qdhcp-9200eb14-5004-4e94-a7e0-1a62f32e96a4 ping instance [vagrant@ctopenstack ~(keystone_demo)]$ sudo …

centos7 openstack cannot access to instance console

VNC console access failure I installed one vm node openstack for testing, cannot access to new instance console, got error as below, Failed to connect to server (code: 1006) Found some clue from nova log /var/log/nova/nova-consoleauth.log 2018-01-24 01:58:37.323 1331 INFO nova.consoleauth.manager [req-bc9e5095-6306-48ed-821d-28c18634f3d9 2b1047d6cd5644f98de277ba45771651 401c817b58a0446ba78a2c199da8178e – default default] Received Token: 9e97e880-32dc-44ba-a601-efe566aae2fe, …

install one vm node ubuntu openstack using devstack

launch ubuntu vm for openstack using vagrant CPU: 2 memory: 6GB 1st NIC: NAT 2nd NIC: hostonly 10.110.0.16 private network for openstack mkdir -p vagrant/ubopenstack cd vagrant/ubopenstack curl -LO https://raw.githubusercontent.com/robertluwang/docker-hands-on-guide/master/dreamcloud-vagrant/ubopenstack/Vagrantfile bring it up, vagrant up vagrant ssh 2 NIC up now, vagrant@ubopenstack:~$ ip addr 1: lo: mtu 65536 qdisc noqueue …

install single vm node centos7 openstack using packstack

launch centos7 vm from vagrant Assume you use msys/cygwin shell on win or shell on OSX, we download centos7 Vagrant template and customized to vm for one single vm node openstack test. vm hostname: ctopenstack vm cpu: 2 vm memory: 6GB 1 NIC: NAT 2 NIC: hostonly 10.120.0.21 mkdir -p …

create centos7 k8s vagrant box from dreamcloud-centos7

launch dev vm it is based on my dev ready vagrant box dreancloud/centos7. create project folder $ mdkir ~/vagrant/centos7k8sbox $ cd ~/vagrant/centos7k8sbox prepare the Vagrantfile, then boot up the vm, $ vagrant up Bringing machine ‘centos7k8s’ up with ‘virtualbox’ provider… ==> centos7k8s: Importing base box ‘dreamcloud/centos7’… ==> centos7k8s: Matching MAC …

launch k8s cluster using vagrant box dreamcloud-centos7k8s

launch k8s cluster using vagrant box dreamcloud-centos7k8s dreamcloud/centos7k8s is a docker/k8s ready box, here is demo to show how to launch a 2 nodes k8s cluster in few mins using vagrant. tool set vagant 2.0.1 virtualbox 5.1.30 cmder/msys64, I use portabledevops which seamless integrated with vagrant/virtualbox prepare Vagrantfile $ cd …

create ubuntu k8s vagrant box from dreamcloud-ubuntu17.10

launch ubuntu dev vm it is based on my dev ready vagrant box dreamcloud/ubuntu17.10. create project folder $ mdkir ~/vagrant/ub17k8sbox $ cd ~/vagrant/ub17k8sbox prepare the Vagrantfile, then boot up the vm, $ vagrant up $ vagrant ssh reset ssh keypair The reason I re-init ssh keypair for new vm ub17k8s …

launch k8s cluster using vagrant box dreamcloud-ub17k8s

dreamcloud/ub17k8s is a docker/k8s ready box, here is demo to show how to launch a 2 nodes k8s cluster in few mins using vagrant. tool set vagant 2.0.1 virtualbox 5.1.30 cmder/msys64, I use portabledevops which seamless integrated with vagrant/virtualbox prepare Vagrantfile $ mkdir ~/vagrant/k8stest $ curl -LO https://raw.githubusercontent.com/robertluwang/docker-hands-on-guide/master/dreamcloud-vagrant/ub17k8s/Vagrantfile assume the …

create ubuntu 17.10 vagrant box from scratch

install ubuntu server 17.10 download iso from link create new vm memory 1024MB disk 50GB dynamic Audio, USB disable first NIC is NAT, 10.0.2.0/24 for Internet access, add port forward in virtualbox setting: 127.0.0.1:2220 to guest 22 user vagrant/vagrant NAT setup NAT NIC enp0s3 is up, 2: enp0s3: mtu 1500 …

docker hands-on guide: k8s cluster setup script

k8s cluster script It is a demo how to quickly setup a k8s cluster (2 nodes) for testing and education purpose. pirvate network 10.100.0.0/24 10.100.0.15 k8s-master 10.100.0.16 k8s-node1 tool set Vagrant v2.0.1 x64 on win7 Virtulbox v5.1.30 x64 on win7 portable msys64 on win7 portabledevops it also works for Linux …