OpenStack

Releases
https://releases.openstack.org/
https://releases.openstack.org/rocky/index.html

Reset password

. /etc/kolla/admin-openrc.sh
openstack user password set --password new-password --original-password current-admin-password

CLI
source /etc/kolla/admin-openrc.sh
openstack compute service list
https://docs.openstack.org/ocata/user-guide/cli-cheat-sheet.html
https://docs.openstack.org/queens/user/
https://docs.openstack.org/keystone/pike/admin/cli-manage-projects-users-and-roles.html
https://docs.openstack.org/python-openstackclient/pike/cli/command-list.html
# List your instances
openstack server list

# List your volumes
openstack volume list

# List the images
openstack image list

Ansible
https://github.com/panticz/ansible/tree/master/roles/devstack

#
# old
#
sudo apt-get install git
git clone https://git.openstack.org/openstack-dev/devstack

cat < local.conf
[[local|localrc]]
ADMIN_PASSWORD=devstack
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
EOF

sudo devstack/tools/create-stack-user.sh
su stack

cd devstack
./stack.sh

ssh -N -L 8080:localhost:80 root@192.168.254.46

export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=stack
export OS_AUTH_URL=http://localhost:35357/v2.0

nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
nova secgroup-add-rule default tcp 22 22 0.0.0.0/0

nova list
nova floating-ip-create public

Terraform
https://github.com/terraform-providers/terraform-provider-openstack/tree/master/examples/app-with-networking

Network
https://developer.openstack.org/firstapp-libcloud/networking.html
openstack network create worker_network
openstack subnet create worker_subnet --network worker_network --subnet-range 10.0.1.0/24
openstack router create project_router
openstack router set project_router --external-gateway public
openstack router add subnet project_router worker_subnet

Links
https://www.openstack.org/software/
http://docs.openstack.org/developer/devstack/guides/single-vm.html
http://docs.openstack.org/liberty/install-guide-ubuntu/
http://docs.openstack.org/developer/devstack/
https://www.ubuntu.com/cloud