官术网_书友最值得收藏!

How to do it...

In this recipe, we will demonstrate setting up a preconfigured OpenStack environment using Vagrant and accessing it via CLI and GUI:

  1. Launch openstack-node1 using vagrantfile as we did for Ceph nodes in the last chapter. Make sure that you are on the host machine and are under the Ceph-Cookbook-Second-Edition repository before bringing up openstack-node1 using Vagrant:
        # cd Ceph-Cookbook-Second-Edition
# vagrant up openstack-node1
  1. Log in to the OpenStack node with the following vagrant command:

        # vagrant status openstack-node1
$ vagrant ssh openstack-node1
  1. We assume that you have some knowledge of OpenStack and are aware of its operations. We will source the keystone_admin file, which has been placed under /root, and to do this, we need to switch to root:
        $ sudo su -
$ source keystonerc_admin

We will now run some native OpenStack commands to make sure that OpenStack is set up correctly. Please note that some of these commands do not show any information since this is a fresh OpenStack environment and does not have instances or volumes created:

      # nova list
# cinder list
# glance image-list
  1. You can also log into the OpenStack horizon web interface (https://192.168.1.111/dashboard) using the username admin and the password vagrant:
  1. After logging in, the Overview page opens:

OpenStack Dashboard Overview

主站蜘蛛池模板: 汶川县| 壶关县| 佛坪县| 阿图什市| 洪泽县| 洞头县| 闽清县| 尤溪县| 蓬安县| 鄢陵县| 新巴尔虎左旗| 德格县| 镇远县| 都昌县| 榆林市| 瑞安市| 英超| 罗江县| 新晃| 子长县| 邹城市| 淳化县| 乐安县| 电白县| 阿荣旗| 长沙县| 顺平县| 内黄县| 麦盖提县| 汤原县| 会昌县| 邛崃市| 白水县| 江口县| 会理县| 罗甸县| 根河市| 剑阁县| 大同县| 尼勒克县| 繁昌县|