Student Project Ideas using Openstack

I am a student at University and have completed all on my CompSci courses and am getting started in my concentration, security. I need to complete a Project, and want to dive right in. Generally, what I want to do is create and monitor a secure cloud environment using Openstack. Normally, I would be able to use the Private Cloud provided by my school, but may not be able to do this due to social distancing. Assuming that I do have access, what is a good idea for the project aim, especially for someone who is new to Openstack and the cloud in general? What should the clients of my Openstack orchestrated cloud be using this service to do? Additionally, in the case where I do not have a Private cloud available to utilize, would I be able to undertake a similar project using a public cloud like AWS? I apologize if these questions seem bad, but I am new to this environment and would appreciate any input I could get.

openstack-dashboard installation – Faild to lunch openstack dashboard

I tried to install openstack newton on my laptop using Ubuntu 16.04 server.

Intel i7, 16Gb Ram ,250 GB ssd ,1TB hard disk 

iam trying to install openstack ocata .. all services installed and verified correctly except the Dashboard ,, I followed all the steps from https://docs.openstack.org (all services are up and running). but When I tried to Verify operation using http://controller(ip)/horizon it gives me this:

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log.

How To Install Openstack on Physical Servers

I am trying to install Openstack on 4 Dell r610 servers and am having great difficulty. The rough specs of these servers are 24 cores, 32 gigs of ram, and ~1.2 tb of harddrive space each.

I am following the exact directions found at: https://ubuntu.com/openstack/install with no deviations of any sort. (I am going the Novakvm path at the moment as Novalxd will not let me choose maas)

I have been able to successfully follow all directions up to the point of #11. All three of my Machine nodes, get to the ready state, and the deploy screen hangs on “waiting for machine”. No status for any service changes, and it says waiting for machine indefinitely.

If I exit out of the install, and then try to come back and continue the install, it fails. The following is a typical error.

2019-09-23 17:39:19,268 [ERROR] conjure-up/openstack-base – common.py:60 – Error bootstrapping controller: [‘Creating Juju controller “conjure-up-cloud-maas-001-5c9” on cloud-maas-001’, ‘Looking for packaged Juju agent version 2.6.5 for amd64’, ‘Launching controller instance(s) on cloud-maas-001…’, ‘ERROR failed to bootstrap model: cannot start bootstrap instance in availability zone “default”: failed to acquire node: No available machine matches constraints: [(\’mem\’, [\’3584\’]), (\’agent_name\’, [\’4837edeb-2b50-4b85-8d66-d3edf8ecd1eb\’]), (\’zone\’, [\’default\’])] (resolved to “mem=3584.0 zone=default”)’]

By this point, all of the nodes’ status is “Ubuntu 18.04”.

What on earth do I need to do to get this to work?

Problems with conjure-up openstack to Esxi 6.7 hosts, neutron-api is not deploying to LXD

I have an ESXi 6.7 with 6 VMs.
One of the VMs is configured with Ubuntu 18.04 updated.
I am following this instructions to the letter https://ubuntu.com/openstack/install
I use virsh as power type

Power type: Virsh (virtual system)
Virsh Address: esx://root@192.168.40.9/?no_verify=1>
Virsh password: xxxxx Virsh VM Id: “VM name on Esxi”

MAAS is controlling the VMs perfectly, I can deploy Ubuntu18.04 with no problems and SSH to it.
All machines are in “Ready state”

I have tried with this versions of conjure-up

sudo snap install conjure-up –classic
sudo snap install conjure-up –classic –beta
sudo snap install conjure-up –classic –edge
sudo snap refresh conjure-up –classic –edge
sudo snap refresh conjure-up –classic –beta

It always fails when juju is lauching the Neutron-api in the LXD container.

I am trying with this Guide also: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/stein/

I have tried with all this juju versions:

sudo snap install juju –classic
sudo snap install juju –beta –classic
sudo snap install juju –edge –classic

After following this page: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/stein/install-openstack.html#deploy-the-juju-controller
The moment I launch this command, juju stops and I loose connectivity to the host where the neutron-api should be launched.

juju deploy –to lxd:1 –config neutron.yaml neutron-api

It always fails when juju is lauching the Neutron-api in the LXD container.

Help, I need somebody. Help.

Openstack deployment with juju fails connecting to mysql

I’m deploying OpenStack using juju. All instances comes up, but it seems that no instances are capable of communicating with the mysql server. Juju status shows:

hook failed: “shared-db-relation-changed”

for neutron-api, glance and nova-cloud-controller. If I look in juju debug-log, I get messages like

“Host \’10.51.232.1\’ is not allowed to connect to this MySQL server”

Users nova, glance, neutron and keystone have been created by the juju charm and can be listed in mysql. I have looked in /etc/mysql/percona-xtradb-cluster.conf.d/mysqld.cnf and found that bind-address is set to 0.0.0.0 What can be wrong ?

Openstack Novalx does not complete nested containers

We have (almost) deployed Openstack NovaLXD with conjure-up on a single machine. In this setup, conjure-up uses juju and lxd, and creates nested lxc containers. All of them comes up with IP addresses, but all the nested containers fails to complete the setup.

I can attach to the nested containers, and from there I can ping the IP of juju and also the internet.

How do I troubleshoot further ?

How to add second extra network interface on Ubuntu 18.04 VM on OpenStack

I have a public interface on a Ubuntu 18.04 VM hosted by a provider that uses OpenStack. Now I want to add a second extra interface for the internal network. I’m not sure how to do that.

Using the web interface of the hosting provider I can add the internal network. After I add this I can see the network interface but no IP address is assigned. Reboot also doesn’t help here.

So for example ip a shows

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000     link/ether fa:16:3e:e7:0b:19 brd ff:ff:ff:ff:ff:ff     inet (MY PUBLIC IP)/24 brd 185.110.173.255 scope global dynamic ens3        valid_lft 84480sec preferred_lft 84480sec     inet6 fe80::f816:3eff:fee7:b19/64 scope link         valid_lft forever preferred_lft forever 3: ens7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000     link/ether fa:16:3e:e3:4f:3f brd ff:ff:ff:ff:ff:ff 

My public ip shows up but the interface I added gets no IP address.

I added the ens7 interface to /etc/netplan/50-cloud-init.yaml as follows

# This file is generated from information provided by # the datasource.  Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network:     version: 2     ethernets:         ens3:             dhcp4: true             match:                 macaddress: fa:16:3e:e7:0b:19             set-name: ens3         ens7:             dhcp4: true             match:                 macaddress: fa:16:3e:e3:4f:3f             set-name: ens7 

When I run netplan apply my SSH connection is immediately disconnected and I can no longer access the machime from the internet.

When I use the console and run ip a I see exactly the results I expected however. ens3 has the correct public IP and ens7 has the correct private ip.

I also have a Ubuntu 16.04 VM. Using that cloud image I was able to do this by editing /etc/network/interfaces.d/50-cloud-init.cfg and adding

auto eth1 iface eth1 inet dhcp 

But now I want to do something similar on Ubuntu 18.04 VM.

Why am I unable to access the machine using SSH from the internet? IP configuration looks okay.

What is the correct way to add a VM to a second internal private network when using an Ubuntu 18.04 cloud image on OpenStack?

BTW, I am using Ubuntu cloud image bionic-server-cloudimg-amd64.img

Orchestration: Fill in Openstack stack_name via HEAT Environment file

Q: How do I prefill (default values, or environmental files) the Stack Name in an OpenStack launch with heat files?

First week of Openstack usage, currently still reading documentation and doing minimal proof of concepts.

I got a mystack.yaml which contains the heat script to create my stack (just two nodes and their network, cinder, network ids, etc.)

I got the complementary env-stack.yaml heat file, in which I have the matching of values to parameters.

When using OpenStack’s > Orchestration > Launch ability to use those two files to start a new Stack all the the values I wrote in get prefilled correctly with the values I expect.

However the Stack Name I don’t seem to be able to fill. I am aware that somehow via OS::stack_name it can be called, but my tries failed.