Openstack Trial And Error, after having completed the part 1:

It is obvious that you need to configure network interfaces before you deploy instance. Well, snap. Let’s restore to the snapshot where we have base DevStack install….. shit

It seems that you didn’t do snapshot right after it was installed, no? good for you!


Repeat part 1

To spend those 30 miuntes of time, use well-known tools: social networks (Facebook, Instagram, Twitter), annoy your friends over WhatsApp, …

After you did the part 1, rejoicingly press that big button in your VM running utility: Create snapshot.

Then, you follow “a bit old, but still gold” Mirantis Howto, which still works:


Log in as administrator

Create project:

Identity -> project -> Create Project

Project Information -> Name: Basic

Project Members -> yourself ( admin)

Leave other as-is, unless you’re not happy with parameters (max. instances, for example…)


Create user

Identity -> users -> Create User

username -> user

password

confirm password

Primary project: Basic

role: Member

Back in Identity -> project -> Basic (edit project) -> project members

Check that your user user is added as member, use this opportunity to add user admin all those admin rights

Save


Log in as user


Network settings:

Network -> Networks -> Create network

Name: basicNetwork

Project: Basic

further on,


Subnet settings:

Subnet name: basicSubnet

Network Address Source: manually

Network addresses: 172.32.0.0/16

Gateway IP 172.32.0.1

Subnet details -> DNS name servers:

193.2.1.66

193.2.1.72

Create


Router settings:

Network -> Routers -> Create Router

Router name: basicRouter

external Network: Public

Create

basicRouter -> tab interfaces -> Add Interface

Choose your subnet basicNetwork -> basicSubnet and do not add IP address

Submit.


Set Firewall

Turn the firewall off if necesary:

Project -> Network -> Security groups -> Default -> add rule:

  • ALL ICMP, Ingress
  • ALL TCP, Ingress
  • ALL UDP, Ingress
  • ALL ICMP, Engress
  • ALL TCP, Egress
  • ALL UDP, Egress

Warning: with this, you open all ports to everybody…


Choose the pool of floating IPs

Project -> Network -> Floating IPs -> Allocate IP to Project:

  • Pool: Public
  • description: as you wish

Build a VM

Use built-in image

Project -> Compute -> Instances -> Launch Instance

  • Details -> Instance Name: basicFirst
  • Source -> Volume Size (GB): 5GB
  • Source -> Delete volume on instance delete: yes
  • Source -> Cirros-0.3.5-x86_64-disk (because it’s built-in)
  • Flavor -> Cirros256

Launch

basicfirst -> tab Console -> “Click here to show only console”

Login: cirros password: cubswin:)

ping www.google.com and cry from happiness.

Peace, at last!

In next part, we’ll build Ubuntu VM.