Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
83 views3 pages

Cloud Documentation

The document discusses setting up OpenStack training labs using DevStack. Ashwin provides Shilesh with links to the DevStack and OpenStack documentation on training labs. They discuss cloning DevStack from different releases and branches to try and get the freezer plugins working. Shilesh is able to successfully deploy DevStack on his Ubuntu VM using Ashwin's local.conf file with the freezer plugins set to the pike release. However, he is unable to access the Horizon dashboard from his public IP due to firewall restrictions, so Ashwin recommends enabling VNC on the Ubuntu host and accessing it that way instead.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views3 pages

Cloud Documentation

The document discusses setting up OpenStack training labs using DevStack. Ashwin provides Shilesh with links to the DevStack and OpenStack documentation on training labs. They discuss cloning DevStack from different releases and branches to try and get the freezer plugins working. Shilesh is able to successfully deploy DevStack on his Ubuntu VM using Ashwin's local.conf file with the freezer plugins set to the pike release. However, he is unable to access the Horizon dashboard from his public IP due to firewall restrictions, so Ashwin recommends enabling VNC on the Ubuntu host and accessing it that way instead.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

(10:31:59 AM) ashwin.karnik@oracle.

com: ok
(10:32:03 AM) [email protected]: https://docs.openstack.org/training_labs/
(10:32:10 AM) [email protected]: u may want to chk this as well
(10:32:13 AM) shilesh.nr: ok
(10:32:21 AM) [email protected]: go thru its documentation
(10:32:30 AM) [email protected]: i dont have much idea on this training_labs
(10:32:33 AM) shilesh.nr: thanks
(10:32:40 AM) shilesh.nr: let me check
(10:32:48 AM) [email protected]: "Training Labs provides an easy way to
deploy virtualized OpenStack in a desktop environment. "
(10:32:59 AM) shilesh.nr: ok
(10:33:17 AM) [email protected]: u need to try this on ur ubuntu VM
(10:33:41 AM) [email protected]: before trying ensure KVM/libvirt is
installed and enabled on ur ubuntu host

ssh -L 5901:localhost:5901 [email protected]

public key FP
2c:7b:1d:17:19:4a:f9:c9:fc:35:22:d0:87:b9:b9:c6

(11:29:59 AM) [email protected]: https://console.us-phoenix-


1.oraclecloud.com
(11:30:09 AM) [email protected]: Hello_World123
(11:30:19 AM) [email protected]: [email protected]
(11:30:24 AM) [email protected]: intoraclesecurebackup
(12:10:57 PM) [email protected]:
https://docs.cloud.oracle.com/iaas/Content/GSG/Reference/overviewworkflow.htm?
tocpath=Getting%20Started%7CTutorial%20-%20Launching%20Your%20First%20Linux
%20Instance%7C_____0
(12:11:16 PM) [email protected]:
https://docs.cloud.oracle.com/iaas/Content/GSG/Tasks/creatingkeys.htm
(12:11:24 PM) shilesh.nr: Ok thanks

1009 openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt


rsa_keygen_bits:2048
1011 openssl rsa -pubout -in private_key.pem -out public_key.pem

bash-4.2$ chmod 700 private_key.pem


bash-4.2$ ssh-keygen -y -f private_key.pem > publickey.pub

(12:24:23 PM) [email protected]:


[[local|localrc]]
ADMIN_PASSWORD=Oracle!23
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
(1:18:29 PM) shilesh.nr:

git clone https://github.com/openstack-dev/devstack.git -b stable/stein devstack/

129.146.16.54

[[local|localrc]]
ADMIN_PASSWORD=Oracle!23
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=10.0.0.7
RECLONE=yes

enable_plugin freezer-api https://git.openstack.org/openstack/freezer-api.git


stable/stein
enable_plugin freezer https://git.openstack.org/openstack/freezer.git stable/stein
enable_plugin freezer-web-ui https://git.openstack.org/openstack/freezer-web-ui.git
stable/stein

This is your host IP address: 10.0.0.7


This is your host IPv6 address: ::1
Horizon is now available at http://10.0.0.7/dashboard
Keystone is serving at http://10.0.0.7/identity/
The default users are: admin and demo
The password: Oracle!23

WARNING:
Using lib/neutron-legacy is deprecated, and it will be removed in the future
With the removal of screen support, tail_log is deprecated and will be removed
after Queens

Services are running under systemd unit files.


For more information see:
https://docs.openstack.org/devstack/latest/systemd.html

DevStack Version: stein


Change: 7f7c2c4251f3b5893bc21c091e69172ccd78cbf3 Enable accept_ra before enabling
forwarding 2019-09-23 14:25:35 +0000
OS Version: Ubuntu 18.04 bionic

2019-10-18 06:35:03.759 | stack.sh completed in 1651 seconds.

**********************************************************************************

enable_plugin freezer-api https://git.openstack.org/openstack/freezer-api.git


stable/pike
enable_plugin freezer https://git.openstack.org/openstack/freezer.git stable/pike
enable_plugin freezer-web-ui https://git.openstack.org/openstack/freezer-web-ui.git
stable/pike

enable_plugin freezer-api https://git.openstack.org/openstack/freezer-api.git


master
enable_plugin freezer https://git.openstack.org/openstack/freezer.git master
enable_plugin freezer-web-ui https://git.openstack.org/openstack/freezer-web-ui.git
master

cp: cannot stat '/opt/stack/freezer-api/etc/freezer/policy.json': No such file or


directory

(1:18:34 PM) [email protected]: they may not be compatible


(1:18:36 PM) shilesh.nr: this will work right
(1:18:40 PM) [email protected]: no
(1:18:55 PM) shilesh.nr: but I have found same in your local.conf
(1:18:56 PM) [email protected]: u hav to first do 'git clone' from pike
release
(1:19:36 PM) [email protected]: git clone https://github.com/openstack-
dev/devstack.git -b stable/pike devstack/
(1:20:19 PM) shilesh.nr: ok fine after that can we use same local.conf file while
running stack.sh
(1:20:30 PM) shilesh.nr: Cloning I got it its just few secs
(2:17:37 PM) [email protected]: see if replacing the freezer lines with
these works:
enable_plugin freezer-api https://git.openstack.org/openstack/freezer-api.git
stable/pike
enable_plugin freezer https://git.openstack.org/openstack/freezer.git stable/pike
enable_plugin freezer-web-ui https://git.openstack.org/openstack/freezer-web-ui.git
stable/pike

SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=10.0.0.2
RECLONE=yes

enable_plugin freezer-api https://git.openstack.org/openstack/freezer-api.git


master
enable_plugin freezer https://git.openstack.org/openstack/freezer.git master
enable_plugin freezer-web-ui https://git.openstack.org/openstack/freezer-web-ui.git
master

(12:56:22 PM) shilesh.nr: Initial failure it will exit autamically right


(12:56:30 PM) shilesh.nr: its going for more than 10 minutes
(12:56:34 PM) shilesh.nr: without any issues
(12:59:55 PM) [email protected]: ok
(1:14:40 PM) shilesh.nr:
This is your host IP address: 10.0.0.2
This is your host IPv6 address: ::1
Horizon is now available at http://10.0.0.2/dashboard
Keystone is serving at http://10.0.0.2/identity/
The default users are: admin and demo
The password: Oracle!23
(1:15:07 PM) shilesh.nr: http://129.146.190.16/dashboard
(1:15:15 PM) shilesh.nr: its not accessible
(2:14:43 PM) shilesh.nr: are you able to access this
(2:25:44 PM) [email protected]: that will not be accessible like that
(2:25:49 PM) [email protected]: due to firewall restrictions etc
(2:26:02 PM) [email protected]: u need to create security list rules if u
have to do like that
(2:26:05 PM) [email protected]: instead
(2:26:12 PM) [email protected]: enable VNC on ur ubuntu host
(2:26:17 PM) [email protected]: and open the browser from VNC

keystone-manage bootstrap --bootstrap-password oracle --bootstrap-admin-url


http://127.0.0.1:5000/v3/ --bootstrap-internal-url http://127.0.0.1:5000/v3/
--bootstrap-public-url http://127.0.0.1:5000/v3/ --bootstrap-region-id RegionOne
129.146.190.16 - host

You might also like