One Node Two NIC Openstack Sandbox(centos) Vagrant Setup Guide

virtulabox vm node centOS based vm memory: 4-6GB CPU: 2 HD: 50G NIC1: NAT default 10.0.2.15, dhcp, for Internet access, ovs br-ex NIC2: Hostonly, static ip, 172.25.250.1, for openstack management/public network 172.25.250.0/24 opensatck vm user/pass: vagrant/vagrant openstack admin user/pass: admin/demo use vagrant to launch openstack sandbox $ mkdir vagrant/ctosbox2 $ …

create web server using cloud-init

openstack sandbox Follow up the setup guide. create web server instance using cloud-init web-server-vm1, fedora, m2.small, ssh to web server [vagrant@ctosbox1 ~(keystone_lab_user)]$ ssh -i /home/vagrant/.ssh/lab-key.pem fedora@172.25.250.32 This is web server test using cloud-init from /etc/motd, can see cloud-init performed. vm Internet access ok, [fedora@web-server-vm1 ~]$ ping google.ca PING google.ca (172.217.9.131) …

Create ftp server using cloud-init

openstack sandbox setup Follow up the setup guide. create ftp server new instance: ftp-server-vm1, m2.small Configuration/Customization Script monitor instance booting log Project/Compute/Instances/Log/View Full Log ping floating ip not working due to it will take longer time than cirros, can check progress from above gui log, [vagrant@ctosbox1 ~(keystone_lab_user)]$ nova list +————————————–+—————-+——–+————+————-+——————————————+ …

One Node One NIC Openstack Sandbox(centos) vagrant Setup Guide

virtulabox vm node centOS based vm memory: 4-6GB CPU: 2 HD: 50G You can build it from centos 7 Minimal iso manually, then followed RDO packstack guide to install one node openstack manually. Please refer this one NAT Network NIC manually packstack setup guide. Also I created this centos7 openstack …

Launch centos based openstack sandbox using vagrant box dreamcloud-ct7os

dreamcloud/ct7os is a centos based openstack ready sandbox, here is demo to show how to launch a one node openstack in few mins using vagrant. tool set vagant 2.0.2 virtualbox 5.2.6 cmder/msys64, I use portabledevops which seamless integrated with vagrant/virtualbox prepare Vagrantfile $ cd ~/vagrant/cttest $ curl -Lo Vagrantfile https://raw.githubusercontent.com/robertluwang/cloud-hands-on-guide/master/dc-vagrant-cloud/ctopenstack/Vagrantfile.ct7osbox …

devstack installation troubleshooting

error on pip installation When install openstack on ubuntu using devstack, ./stack.sh always got error on install_pip stage, + cd /home/vagrant/devstack + source /home/vagrant/devstack/stackrc /home/vagrant/devstack/tools/install_pip.sh: 21: /home/vagrant/devstack/tools/install_pip.sh: source: not found as remedy, install pip before stack.sh wget https://bootstrap.pypa.io/get-pip.py sudo python get-pip.py error on git clone [ERROR] /home/vagrant/devstack/functions-common:598 git call failed: …

Red Hat openstack certificate exam resource

Here are some source from Internet about RHOS. deploy one node openstack https://www.rdoproject.org/install/packstack/ training course https://www.redhat.com/en/services/certification/rhcsa-rhos#Training Cl110 Red Hat OpenStack Platform 10 Launch an instance Manage projects, quotas, and users Manage networks, subnets, routers, and floating IP addresses Create and manage block and object storage in the Openstack framework Customize …

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, …