OpenStack Queens All-in-one Single-node Deployment(二)

OpenStack Queens版本的 All-in-one 部署过程:

[googlebigtable@localhost ~]$ su - root

Password:

Last login: Tue Jun 16 23:26:18 CST 2020 on pts/0

[root@localhost ~]# ls -F

anaconda-ks.cfg  initial-setup-ks.cfg

[root@localhost ~]# echo $PATH

/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

[root@localhost ~]# systemctl stop NetworkManager

[root@localhost ~]# systemctl disable NetworkManager

Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.

Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.

Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.

Removed symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.

[root@localhost ~]# systemctl restart network

[root@localhost ~]# init 6

[googlebigtable@localhost ~]$ su - root

Password:

Last login: Wed Jun 17 20:32:36 CST 2020 on pts/0

[root@localhost ~]# ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

64 bytes from 8.8.8.8: icmp_seq=1 ttl=128 time=148 ms

64 bytes from 8.8.8.8: icmp_seq=2 ttl=128 time=164 ms

64 bytes from 8.8.8.8: icmp_seq=3 ttl=128 time=155 ms

64 bytes from 8.8.8.8: icmp_seq=4 ttl=128 time=151 ms

^C

--- 8.8.8.8 ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 3002ms

rtt min/avg/max/mdev = 148.021/154.972/164.324/6.098 ms

[root@localhost ~]# hostnamectl status

   Static hostname: localhost.localdomain

         Icon name: computer-vm

           Chassis: vm

        Machine ID: c2953bb8f7b24959ae579c009a8ebf36

           Boot ID: 39f5064f457a45cd96fb88273822bb41

    Virtualization: vmware

  Operating System: CentOS Linux 7 (Core)

       CPE OS Name: cpe:/o:centos:centos:7

            Kernel: Linux 3.10.0-1127.10.1.el7.x86_64

      Architecture: x86-64

[root@localhost ~]# yum update -y

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

 * base: mirrors.aliyun.com

 * extras: mirrors.aliyun.com

 * updates: mirrors.aliyun.com

Complete!

[root@localhost ~]# cat /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

[root@localhost ~]# yum update -y

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

 * base: mirrors.aliyun.com

 * extras: mirrors.aliyun.com

 * updates: mirrors.aliyun.com

No packages marked for update

[root@localhost ~]# sync;reboot

[root@localhost ~]# yum install -y centos-release-openstack-queens

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

 * base: mirrors.aliyun.com

 * extras: mirrors.aliyun.com

 * updates: mirrors.aliyun.com

Resolving Dependencies

Installed:

  centos-release-openstack-queens.noarch 0:1-2.el7.centos                                                                                            

Complete!

[root@localhost ~]#

[root@localhost ~]# yum install -y openstack-packstack

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

Installing:

 openstack-packstack                     noarch              1:12.0.1-1.el7                               centos-openstack-queens              190 k

Installed:

  openstack-packstack.noarch 1:12.0.1-1.el7                                                                                                          

Complete!

[root@localhost ~]#

[root@localhost ~]# packstack --allinone

Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20200617-205649-FJW678/openstack-setup.log

Packstack changed given value  to required value /root/.ssh/id_rsa.pub

Installing:

Clean Up                                             [ DONE ]

Discovering ip protocol version                      [ DONE ]

Setting up ssh keys                                  [ DONE ]

Preparing servers                                    [ DONE ]

Pre installing Puppet and discovering hosts' details[ ERROR ]

ERROR : Failed to run remote script, stdout:

stderr: Warning: Permanently added '192.168.207.156' (ECDSA) to the list of known hosts.

+ trap t ERR

+ facter -p

facter: error while loading shared libraries: leatherman_curl.so.1.3.0: cannot open shared object file: No such file or directory

++ t

++ exit 127

Please check log file /var/tmp/packstack/20200617-205649-FJW678/openstack-setup.log for more information

Additional information:

 * A new answerfile was created in: /root/packstack-answers-20200617-205650.txt

 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.

[root@localhost ~]# rpm -qa | grep leatherman

leatherman-1.10.0-1.el7.x86_64

[root@localhost ~]# yum downgrade -y leatherman

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

Installed:

  leatherman.x86_64 0:1.3.0-9.el7                                                                                                                    

Complete!

[root@localhost ~]# rpm -qa | grep leatherman

leatherman-1.3.0-9.el7.x86_64

[root@localhost ~]# packstack --allinone

Welcome to the Packstack setup utility

 **** Installation completed successfully ******

Additional information:

 * A new answerfile was created in: /root/packstack-answers-20200618-005230.txt

 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.

 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.207.156. To use the command line tools you need to source the file.

 * To access the OpenStack Dashboard browse to http://192.168.207.156/dashboard .

Please, find your login credentials stored in the keystonerc_admin in your home directory.

 * The installation log file is available at: /var/tmp/packstack/20200618-005229-NCOgq_/openstack-setup.log

 * The generated manifests are available at: /var/tmp/packstack/20200618-005229-NCOgq_/manifests

[root@localhost ~]# ls -F /root/

anaconda-ks.cfg       keystonerc_admin  packstack-answers-20200617-205650.txt  packstack-answers-20200618-005230.txt

initial-setup-ks.cfg  keystonerc_demo   packstack-answers-20200617-205958.txt

[root@localhost ~]# cat -n /root/keystonerc_admin

     1 unset OS_SERVICE_TOKEN

     2     export OS_USERNAME=admin

     3     export OS_PASSWORD='73e194eac1d243ac'

     4     export OS_REGION_NAME=RegionOne

     5     export OS_AUTH_URL=http://192.168.207.156:5000/v3

     6     export PS1='[\u@\h \W(keystone_admin)]\$ '

     7     

     8 export OS_PROJECT_NAME=admin

     9 export OS_USER_DOMAIN_NAME=Default

    10 export OS_PROJECT_DOMAIN_NAME=Default

    11 export OS_IDENTITY_API_VERSION=3

 

[root@localhost ~]#

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值