• packstack-ironic


    安装openstack Pike版本, 其它版本安装方法类似。

    centos7.6

    packstack目前对NetworkManager 还不支持,我们修改下配置:

    systemctl disable firewalld
    
    systemctl stop firewalld
    
    systemctl disable NetworkManager
    
    systemctl stop NetworkManager
    
    systemctl enable network
    
    systemctl start network

    安装packstack:

    # 添加packstack yum源
    yum -y install centos-release-openstack-pike
     
    # 安装openstack-packstack
    yum -y install openstack-packstack
     
    # 生成answer-file
    packstack --gen-answer-file=filename(自定义文件名,这里是she.txt)

    修改 answer-file:

    CONFIG_IRONIC_INSTALL=y

    安装 openstack:

    packstack --answer-file=she.txt

    输出:

    [root@packstack-zxy ~]# packstack --answer-file=she.txt
    Welcome to the Packstack setup utility
     
    The installation log file is available at: /var/tmp/packstack/20181018-104037-TbDsgK/openstack-setup.log
     
    Installing:
    Clean Up                                             [ DONE ]
    Discovering ip protocol version                      [ DONE ]
    Setting up ssh keys                                  [ DONE ]
    Preparing servers                                    [ DONE ]
    Pre installing Puppet and discovering hosts' details [ DONE ]
    Preparing pre-install entries                        [ DONE ]
    Setting up CACERT                                    [ DONE ]
    Preparing AMQP entries                               [ DONE ]
    Preparing MariaDB entries                            [ DONE ]
    Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
    Preparing Keystone entries                           [ DONE ]
    Preparing Glance entries                             [ DONE ]
    Checking if the Cinder server has a cinder-volumes vg[ DONE ]
    Preparing Cinder entries                             [ DONE ]
    Preparing Ironic entries                             [ DONE ]
    Preparing Nova API entries                           [ DONE ]
    Creating ssh keys for Nova migration                 [ DONE ]
    Gathering ssh host keys for Nova migration           [ DONE ]
    Preparing Nova Compute entries                       [ DONE ]
    Preparing Nova Scheduler entries                     [ DONE ]
    Preparing Nova VNC Proxy entries                     [ DONE ]
    Preparing OpenStack Network-related Nova entries     [ DONE ]
    Preparing Nova Common entries                        [ DONE ]
    Preparing Neutron LBaaS Agent entries                [ DONE ]
    Preparing Neutron API entries                        [ DONE ]
    Preparing Neutron L3 entries                         [ DONE ]
    Preparing Neutron L2 Agent entries                   [ DONE ]
    Preparing Neutron DHCP Agent entries                 [ DONE ]
    Preparing Neutron Metering Agent entries             [ DONE ]
    Checking if NetworkManager is enabled and running    [ DONE ]
    Preparing OpenStack Client entries                   [ DONE ]
    Preparing Horizon entries                            [ DONE ]
    Preparing Swift builder entries                      [ DONE ]
    Preparing Swift proxy entries                        [ DONE ]
    Preparing Swift storage entries                      [ DONE ]
    Preparing Gnocchi entries                            [ DONE ]
    Preparing Redis entries                              [ DONE ]
    Preparing Ceilometer entries                         [ DONE ]
    Preparing Aodh entries                               [ DONE ]
    Preparing Puppet manifests                           [ DONE ]
    Copying Puppet modules and manifests                 [ DONE ]
    Applying 192.168.0.102_controller.pp
    192.168.0.102_controller.pp:                       [ DONE ]           
    Applying 192.168.0.102_network.pp
    192.168.0.102_network.pp:                          [ DONE ]        
    Applying 192.168.0.102_compute.pp
    192.168.0.102_compute.pp:                          [ DONE ]        
    Applying Puppet manifests                            [ DONE ]
    Finalizing                                           [ DONE ]
     
     **** Installation completed successfully ******
     
    Additional information:
     * 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.0.102. To use the command line tools you need to source the file.
     * To access the OpenStack Dashboard browse to http://192.168.0.102/dashboard .
    Please, find your login credentials stored in the keystonerc_admin in your home directory.
     * Because of the kernel update the host 192.168.0.102 requires reboot.
     * The installation log file is available at: /var/tmp/packstack/20191018-104037-TbDsgK/openstack-setup.log
     * The generated manifests are available at: /var/tmp/packstack/20191018-104037-TbDsgK/manifests

    检查服务状态:

    [root@packstack-zxy ~(keystone_admin)]# openstack service list
    +----------------------------------+------------+--------------+
    | ID                               | Name       | Type         |
    +----------------------------------+------------+--------------+
    | 244630286fdf4a949d76b475c531914d | neutron    | network      |
    | 25114c34e18e43d1a2947e7277cd1ba0 | aodh       | alarming     |
    | 25212f9bc4164cd3b31c2792237b7379 | nova       | compute      |
    | 2b12eeb6761d452cb460852b0d7aaf34 | ironic     | baremetal    |
    | 31c7af28e04b412ca314e308f86c7cbf | placement  | placement    |
    | 3b4fbbea9285416f89df179ff14d132a | swift      | object-store |
    | 4f54d7b6579140e585da8333411bf06d | glance     | image        |
    | 5b8b7fa6599448e988365c531a2925fd | keystone   | identity     |
    | 683bd89785e841aa9a139b5eac6aecfa | cinderv2   | volumev2     |
    | 9db77b73caf048ceb2909dff8e160794 | ceilometer | metering     |
    | b422ca8909234d06a8607ae60e33260f | ironic     | baremetal    |
    | cccc691554174ee797fbff8a8a85a8da | cinder     | volume       |
    | d09b6874559a4015a742acb0a730daf1 | gnocchi    | metric       |
    | fae72a022157451bbb57b26a77a65e28 | cinderv3   | volumev3     |
    +----------------------------------+------------+--------------+
     
    [root@packstack-zxy ~(keystone_admin)]# glance image-list
    +--------------------------------------+--------+
    | ID                                   | Name   |
    +--------------------------------------+--------+
    | c6807114-1628-4083-9e4f-c1e7be69f977 | cirros |
    +--------------------------------------+--------+
     
    [root@packstack-zxy ~(keystone_admin)]# nova service-list
    +--------------------------------------+------------------+---------------+----------+---------+-------+----------------------------+-----------------+-------------+
    | Id                                   | Binary           | Host          | Zone     | Status  | State | Updated_at                 | Disabled Reason | Forced down |
    +--------------------------------------+------------------+---------------+----------+---------+-------+----------------------------+-----------------+-------------+
    | 9e855799-f899-4168-85fa-0d73b5959571 | nova-conductor   | packstack-zxy | internal | enabled | up    | 2019-10-23T03:24:48.000000 | -               | False       |
    | 674f312d-9c11-49be-9896-a49a763bb1b0 | nova-scheduler   | packstack-zxy | internal | enabled | up    | 2019-10-23T03:24:44.000000 | -               | False       |
    | 24a51127-38e8-4166-8e82-30b17edcfe95 | nova-consoleauth | packstack-zxy | internal | enabled | up    | 2019-10-23T03:24:50.000000 | -               | False       |
    | eb66fae2-2b4e-4212-9afb-f96991d92fdf | nova-compute     | packstack-zxy | nova     | enabled | up    | 2019-10-23T03:24:49.000000 | -               | False       |
    +--------------------------------------+------------------+---------------+----------+---------+-------+----------------------------+-----------------+-------------+
     
    [root@packstack-zxy ~(keystone_admin)]# neutron agent-list
    neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
    +--------------------------------------+--------------------+---------------+-------------------+-------+----------------+---------------------------+
    | id                                   | agent_type         | host          | availability_zone | alive | admin_state_up | binary                    |
    +--------------------------------------+--------------------+---------------+-------------------+-------+----------------+---------------------------+
    | 12945c25-aff7-4d6e-aa1f-2d11c3f6b39d | Metering agent     | packstack-zxy |                   | :-)   | True           | neutron-metering-agent    |
    | 2bfe7ca1-c522-4a47-b439-c3300ce78011 | Open vSwitch agent | packstack-zxy |                   | :-)   | True           | neutron-openvswitch-agent |
    | 5ae75ef4-3242-4c4a-8d8a-a77622e2fedc | L3 agent           | packstack-zxy | nova              | :-)   | True           | neutron-l3-agent          |
    | 5ed5aee5-605c-4513-9aff-062d44077665 | Metadata agent     | packstack-zxy |                   | :-)   | True           | neutron-metadata-agent    |
    | f27d841f-709f-439d-ab23-b7be68bbff57 | DHCP agent         | packstack-zxy | nova              | :-)   | True           | neutron-dhcp-agent        |
    +--------------------------------------+--------------------+---------------+-------------------+-------+----------------+---------------------------+
     
    [root@packstack-zxy ~(keystone_admin)]# neutron net-list
    neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
    +--------------------------------------+---------+----------------------------------+----------------------------------------------------+
    | id                                   | name    | tenant_id                        | subnets                                            |
    +--------------------------------------+---------+----------------------------------+----------------------------------------------------+
    | 0df98ad4-bbab-4ba1-a6bf-74182e047290 | private | 48d52683ee85417bacf1ba798117f09c | fde09722-b6c3-4326-9ca7-9ff0bcbfcc5a 10.0.0.0/24   |
    | c99b004b-501d-4469-a95b-2ff189f4d513 | public  | 88ef7bb5ffd94693835cdb11b41efc75 | a78e1e41-a803-4e04-9bcb-782f29c3b3d5 172.24.4.0/24 |
    +--------------------------------------+---------+----------------------------------+----------------------------------------------------+
     
    [root@packstack-zxy ~(keystone_admin)]# neutron ext-list
    neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
    +---------------------------+----------------------------------------------------------------------------------------------+
    | alias                     | name                                                                                         |
    +---------------------------+----------------------------------------------------------------------------------------------+
    | default-subnetpools       | Default Subnetpools                                                                          |
    | availability_zone         | Availability Zone                                                                            |
    | network_availability_zone | Network Availability Zone                                                                    |
    | auto-allocated-topology   | Auto Allocated Topology Services                                                             |
    | net-mtu-writable          | Network MTU (writable)                                                                       |
    | binding                   | Port Binding                                                                                 |
    | metering                  | Neutron Metering                                                                             |
    | agent                     | agent                                                                                        |
    | subnet_allocation         | Subnet Allocation                                                                            |
    | l3_agent_scheduler        | L3 Agent Scheduler                                                                           |
    | tag                       | Tag support                                                                                  |
    | external-net              | Neutron external network                                                                     |
    | standard-attr-tag         | Tag support for resources with standard attribute: trunk, policy, security_group, floatingip |
    | flavors                   | Neutron Service Flavors                                                                      |
    | net-mtu                   | Network MTU                                                                                  |
    | network-ip-availability   | Network IP Availability                                                                      |
    | quotas                    | Quota management support                                                                     |
    | revision-if-match         | If-Match constraints based on revision_number                                                |
    | l3-ha                     | HA Router extension                                                                          |
    | provider                  | Provider Network                                                                             |
    | multi-provider            | Multi Provider Network                                                                       |
    | quota_details             | Quota details management support                                                             |
    | address-scope             | Address scope                                                                                |
    | extraroute                | Neutron Extra Route                                                                          |
    | ext-gw-mode               | Neutron L3 Configurable external gateway mode                                                |
    | subnet-service-types      | Subnet service types                                                                         |
    | standard-attr-timestamp   | Resource timestamps                                                                          |
    | service-type              | Neutron Service Type Management                                                              |
    | l3-flavors                | Router Flavor Extension                                                                      |
    | port-security             | Port Security                                                                                |
    | extra_dhcp_opt            | Neutron Extra DHCP options                                                                   |
    | standard-attr-revisions   | Resource revision numbers                                                                    |
    | pagination                | Pagination support                                                                           |
    | sorting                   | Sorting support                                                                              |
    | security-group            | security-group                                                                               |
    | dhcp_agent_scheduler      | DHCP Agent Scheduler                                                                         |
    | router_availability_zone  | Router Availability Zone                                                                     |
    | rbac-policies             | RBAC Policies                                                                                |
    | tag-ext                   | Tag support for resources: subnet, subnetpool, port, router                                  |
    | standard-attr-description | standard-attr-description                                                                    |
    | router                    | Neutron L3 Router                                                                            |
    | allowed-address-pairs     | Allowed Address Pairs                                                                        |
    | project-id                | project_id field enabled                                                                     |
    | dvr                       | Distributed Virtual Router                                                                   |
    +---------------------------+----------------------------------------------------------------------------------------------+
     
    [root@packstack-zxy ~(keystone_admin)]# systemctl status openstack-ironic-api.service
    ● openstack-ironic-api.service - OpenStack Ironic API service
       Loaded: loaded (/usr/lib/systemd/system/openstack-ironic-api.service; enabled; vendor preset: disabled)
       Active: active (running) since Thu 2019-10-23 10:12:16 CST; 1h 20min ago
     Main PID: 16385 (ironic-api)
       CGroup: /system.slice/openstack-ironic-api.service
               ├─16385 /usr/bin/python2 /usr/bin/ironic-api
               ├─16453 /usr/bin/python2 /usr/bin/ironic-api
               ├─16454 /usr/bin/python2 /usr/bin/ironic-api
               ├─16455 /usr/bin/python2 /usr/bin/ironic-api
               ├─16456 /usr/bin/python2 /usr/bin/ironic-api
               ├─16457 /usr/bin/python2 /usr/bin/ironic-api
               ├─16458 /usr/bin/python2 /usr/bin/ironic-api
               ├─16459 /usr/bin/python2 /usr/bin/ironic-api
               └─16460 /usr/bin/python2 /usr/bin/ironic-api
     
    Nov 23 11:24:16 packstack-zxy ironic-api[16385]: 2019-10-23 11:24:16.250 16454 INFO eventlet.wsgi.server [req-0f7...29368
    Nov 23 11:25:16 packstack-zxy ironic-api[16385]: 2019-10-23 11:25:16.265 16454 INFO eventlet.wsgi.server [req-6db...65789
    Nov 23 11:26:16 packstack-zxy ironic-api[16385]: 2019-10-23 11:26:16.267 16454 INFO eventlet.wsgi.server [req-9fa...39219
    Nov 23 11:27:16 packstack-zxy ironic-api[16385]: 2019-10-23 11:27:16.508 16454 INFO eventlet.wsgi.server [req-455...22189
    Nov 23 11:28:17 packstack-zxy ironic-api[16385]: 2019-10-23 11:28:17.254 16454 INFO eventlet.wsgi.server [req-38b...80151
    Nov 23 11:29:18 packstack-zxy ironic-api[16385]: 2019-10-23 11:29:18.270 16454 INFO eventlet.wsgi.server [req-99a...12919
    Nov 23 11:30:19 packstack-zxy ironic-api[16385]: 2019-10-23 11:30:19.254 16454 INFO eventlet.wsgi.server [req-6e8...61588
    Nov 23 11:31:19 packstack-zxy ironic-api[16385]: 2019-10-23 11:31:19.265 16454 INFO eventlet.wsgi.server [req-5f2...39451
    Nov 23 11:31:26 packstack-zxy ironic-api[16385]: 2019-10-23 11:31:26.256 16454 INFO eventlet.wsgi.server [req-7d7...13209
    Nov 23 11:32:21 packstack-zxy ironic-api[16385]: 2019-10-23 11:32:21.482 16454 INFO eventlet.wsgi.server [req-af3...76962
    Hint: Some lines were ellipsized, use -l to show in full.
     
    [root@packstack-zxy ~(keystone_admin)]# systemctl status openstack-ironic-conductor.service
    ● openstack-ironic-conductor.service - OpenStack Ironic Conductor service
       Loaded: loaded (/usr/lib/systemd/system/openstack-ironic-conductor.service; enabled; vendor preset: disabled)
       Active: active (running) since Thu 2019-10-23 09:58:59 CST; 1h 34min ago
     Main PID: 8757 (ironic-conducto)
       CGroup: /system.slice/openstack-ironic-conductor.service
               └─8757 /usr/bin/python2 /usr/bin/ironic-conductor
     
    Nov 23 11:32:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:32:04.353 8757 DEBUG futurist.periodics [-] Su...:639
    Nov 23 11:32:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:32:04.357 8757 DEBUG futurist.periodics [-] Su...:639
    Nov 23 11:32:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:32:04.363 8757 DEBUG futurist.periodics [-] Su...:639
    Nov 23 11:32:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:32:04.367 8757 DEBUG futurist.periodics [-] Su...:639
    Nov 23 11:32:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:32:04.377 8757 DEBUG futurist.periodics [-] Su...:639
    Nov 23 11:33:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:33:04.354 8757 DEBUG futurist.periodics [-] Su...:639
    Nov 23 11:33:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:33:04.360 8757 DEBUG futurist.periodics [-] Su...:639
    Nov 23 11:33:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:33:04.367 8757 DEBUG futurist.periodics [-] Su...:639
    Nov 23 11:33:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:33:04.371 8757 DEBUG futurist.periodics [-] Su...:639
    Nov 23 11:33:04 packstack-zxy ironic-conductor[8757]: 2019-10-23 11:33:04.379 8757 DEBUG futurist.periodics [-] Su...:639
    Hint: Some lines were ellipsized, use -l to show in full.
     
    [root@packstack-zxy ~(keystone_admin)]# systemctl status mariadb
    ● mariadb.service - MariaDB 10.1 database server
       Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
       Active: active (running) since Thu 2019-10-23 09:38:44 CST; 1h 49min ago
     Main PID: 32002 (mysqld)
       Status: "Taking your SQL requests now..."
       CGroup: /system.slice/mariadb.service
               └─32002 /usr/libexec/mysqld --basedir=/usr
     
    Nov 23 09:38:44 packstack-zxy systemd[1]: Starting MariaDB 10.1 database server...
    Nov 23 09:38:44 packstack-zxy mysql-prepare-db-dir[31965]: Database MariaDB is probably initialized in /var/lib/my...one.
    Nov 23 09:38:44 packstack-zxy mysqld[32002]: 2019-10-23  9:38:44 140699124287680 [Warning] option 'open_files_lim...67295
    Nov 23 09:38:44 packstack-zxy mysqld[32002]: 2019-10-23  9:38:44 140699124287680 [Note] /usr/libexec/mysqld (mysq...2 ...
    Nov 23 09:38:44 packstack-zxy mysqld[32002]: 2019-10-23  9:38:44 140699124287680 [Warning] Could not increase num...5035)
    Nov 23 09:38:44 packstack-zxy mysqld[32002]: 2019-10-23  9:38:44 140699124287680 [ERROR] WSREP: rsync SST method ...rtup.
    Nov 23 09:38:44 packstack-zxy mysql-check-upgrade[32030]: The datadir located at /var/lib/mysql needs to be upgrad...eps:
    Nov 23 09:38:44 packstack-zxy systemd[1]: Started MariaDB 10.1 database server.
    Hint: Some lines were ellipsized, use -l to show in full.
     
    [root@packstack-zxy ~(keystone_admin)]# systemctl status httpd
    ● httpd.service - The Apache HTTP Server
       Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
      Drop-In: /usr/lib/systemd/system/httpd.service.d
               └─openstack-dashboard.conf
       Active: active (running) since Thu 2019-10-23 10:04:16 CST; 1h 23min ago
         Docs: man:httpd(8)
               man:apachectl(8)
     Main PID: 11261 (httpd)
       Status: "Total requests: 1128; Current requests/sec: 0.1; Current traffic: 307 B/sec"
       CGroup: /system.slice/httpd.service
               ├─11261 /usr/sbin/httpd -DFOREGROUND
               ├─11263 aodh_wsgi       -DFOREGROUND
               ├─11264 aodh_wsgi       -DFOREGROUND
               ├─11265 aodh_wsgi       -DFOREGROUND
               ├─11266 aodh_wsgi       -DFOREGROUND
               ├─11267 aodh_wsgi       -DFOREGROUND
               ├─11268 aodh_wsgi       -DFOREGROUND
               ├─11269 aodh_wsgi       -DFOREGROUND
               ├─11270 aodh_wsgi       -DFOREGROUND
               ├─11271 gnocchi_wsgi    -DFOREGROUND
               ├─11272 gnocchi_wsgi    -DFOREGROUND
               ├─11273 gnocchi_wsgi    -DFOREGROUND
               ├─11274 gnocchi_wsgi    -DFOREGROUND
               ├─11275 gnocchi_wsgi    -DFOREGROUND
               ├─11276 gnocchi_wsgi    -DFOREGROUND
               ├─11277 gnocchi_wsgi    -DFOREGROUND
               ├─11278 gnocchi_wsgi    -DFOREGROUND
               ├─11279 keystone-admin  -DFOREGROUND
               ├─11280 keystone-admin  -DFOREGROUND
               ├─11281 keystone-admin  -DFOREGROUND
               ├─11282 keystone-admin  -DFOREGROUND
               ├─11283 keystone-admin  -DFOREGROUND
               ├─11284 keystone-admin  -DFOREGROUND
               ├─11285 keystone-admin  -DFOREGROUND
               ├─11286 keystone-admin  -DFOREGROUND
               ├─11305 keystone-main   -DFOREGROUND
               ├─11312 keystone-main   -DFOREGROUND
               ├─11313 keystone-main   -DFOREGROUND
               ├─11320 keystone-main   -DFOREGROUND
               ├─11321 keystone-main   -DFOREGROUND
               ├─11322 keystone-main   -DFOREGROUND
               ├─11323 keystone-main   -DFOREGROUND
               ├─11324 keystone-main   -DFOREGROUND
               ├─11325 placement_wsgi  -DFOREGROUND
               ├─11326 placement_wsgi  -DFOREGROUND
               ├─11393 placement_wsgi  -DFOREGROUND
               ├─11400 placement_wsgi  -DFOREGROUND
               ├─11401 placement_wsgi  -DFOREGROUND
               ├─11412 placement_wsgi  -DFOREGROUND
               ├─11413 placement_wsgi  -DFOREGROUND
               ├─11414 placement_wsgi  -DFOREGROUND
               ├─11425 /usr/sbin/httpd -DFOREGROUND
               ├─11426 /usr/sbin/httpd -DFOREGROUND
               ├─11427 /usr/sbin/httpd -DFOREGROUND
               ├─11548 /usr/sbin/httpd -DFOREGROUND
               ├─11549 /usr/sbin/httpd -DFOREGROUND
               ├─11550 /usr/sbin/httpd -DFOREGROUND
               ├─11551 /usr/sbin/httpd -DFOREGROUND
               ├─11552 /usr/sbin/httpd -DFOREGROUND
               ├─11553 /usr/sbin/httpd -DFOREGROUND
               ├─11560 /usr/sbin/httpd -DFOREGROUND
               ├─11561 /usr/sbin/httpd -DFOREGROUND
               ├─14118 /usr/sbin/httpd -DFOREGROUND
               ├─15081 /usr/sbin/httpd -DFOREGROUND
               ├─15108 /usr/sbin/httpd -DFOREGROUND
               ├─18589 /usr/sbin/httpd -DFOREGROUND
               ├─18592 /usr/sbin/httpd -DFOREGROUND
               ├─18593 /usr/sbin/httpd -DFOREGROUND
               ├─18606 /usr/sbin/httpd -DFOREGROUND
               ├─18607 /usr/sbin/httpd -DFOREGROUND
               ├─18608 /usr/sbin/httpd -DFOREGROUND
               └─18609 /usr/sbin/httpd -DFOREGROUND
     
     Oct 23 10:04:16 packstack-zxy httpd[11261]: [Thu Oct 23 10:04:16.126365 2019] [so:warn] [pid 11261] AH01574: modu...pping
     Oct 23 10:04:16 packstack-zxy httpd[11261]: [Thu Oct 23 10:04:16.126377 2019] [so:warn] [pid 11261] AH01574: modu...pping
     Oct 23 10:04:16 packstack-zxy httpd[11261]: [Thu Oct 23 10:04:16.126418 2019] [so:warn] [pid 11261] AH01574: modu...pping
     Oct 23 10:04:16 packstack-zxy httpd[11261]: [Thu Oct 23 10:04:16.126426 2019] [so:warn] [pid 11261] AH01574: modu...pping
     Oct 23 10:04:16 packstack-zxy httpd[11261]: [Thu Oct 23 10:04:16.127414 2019] [so:warn] [pid 11261] AH01574: modu...pping
     Oct 23 10:04:16 packstack-zxy httpd[11261]: [Thu Oct 23 10:04:16.132927 2019] [so:warn] [pid 11261] AH01574: modu...pping
     Oct 23 10:04:16 packstack-zxy httpd[11261]: [Thu Oct 23 10:04:16.133007 2019] [so:warn] [pid 11261] AH01574: modu...pping
     Oct 23 10:04:16 packstack-zxy httpd[11261]: [Thu Oct 23 10:04:16.133074 2019] [so:warn] [pid 11261] AH01574: modu...pping
     Oct 23 10:04:16 packstack-zxy httpd[11261]: [Thu Oct 23 10:04:16.137875 2019] [alias:warn] [pid 11261] AH00671: T...lias.
     Oct 23 10:04:16 packstack-zxy systemd[1]: Started The Apache HTTP Server.
    Hint: Some lines were ellipsized, use -l to show in full.
     
    [root@packstack-zxy ~(keystone_admin)]# cinder service-list
    +------------------+-------------------+------+---------+-------+----------------------------+-----------------+
    | Binary           | Host              | Zone | Status  | State | Updated_at                 | Disabled Reason |
    +------------------+-------------------+------+---------+-------+----------------------------+-----------------+
    | cinder-backup    | packstack-zxy     | nova | enabled | up    | 2019-10-23T03:25:55.000000 | -               |
    | cinder-scheduler | packstack-zxy     | nova | enabled | up    | 2019-10-23T03:25:56.000000 | -               |
    | cinder-volume    | packstack-zxy@lvm | nova | enabled | up    | 2019-10-23T03:25:51.000000 | -               |
    +------------------+-------------------+------+---------+-------+----------------------------+-----------------+
     
    [root@packstack-zxy ~(keystone_admin)]# swift stat
                   Account: AUTH_88ef7bb5ffd94693835cdb11b41efc75
                Containers: 0
                   Objects: 0
                     Bytes: 0
           X-Put-Timestamp: 1511407603.43850
               X-Timestamp: 1511407603.43850
                X-Trans-Id: txf6e0140e131a4698b2633-005a163ff2
              Content-Type: text/plain; charset=utf-8
    X-Openstack-Request-Id: txf6e0140e131a4698b2633-005a163ff2
     
     
     
    [root@packstack-zxy ~(keystone_admin)]# systemctl status rabbitmq-server
    ● rabbitmq-server.service - RabbitMQ broker
       Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled; vendor preset: disabled)
      Drop-In: /etc/systemd/system/rabbitmq-server.service.d
               └─limits.conf
       Active: active (running) since Thu 2019-10-23 09:56:09 CST; 1h 29min ago
     Main PID: 5531 (beam.smp)
       Status: "Initialized"
       CGroup: /system.slice/rabbitmq-server.service
               ├─5531 /usr/lib64/erlang/erts-7.3.1.2/bin/beam.smp -W w -A 128 -P 1048576 -t 5000000 -stbt db -K true -- -r...
               ├─5825 inet_gethost 4
               └─5826 inet_gethost 4
     
    Nov 23 09:56:06 packstack-zxy systemd[1]: Starting RabbitMQ broker...
    Nov 23 09:56:08 packstack-zxy rabbitmq-server[5531]: RabbitMQ 3.6.5. Copyright (C) 2007-2016 Pivotal Software, Inc.
    Nov 23 09:56:08 packstack-zxy rabbitmq-server[5531]: ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
    Nov 23 09:56:08 packstack-zxy rabbitmq-server[5531]: ##  ##
    Nov 23 09:56:08 packstack-zxy rabbitmq-server[5531]: ##########  Logs: /var/log/rabbitmq/rabbit@packstack-zxy.log
    Nov 23 09:56:08 packstack-zxy rabbitmq-server[5531]: ######  ##        /var/log/rabbitmq/rabbit@packstack-zxy-sasl.log
    Nov 23 09:56:08 packstack-zxy rabbitmq-server[5531]: ##########
    Nov 23 09:56:08 packstack-zxy rabbitmq-server[5531]: Starting broker...
    Nov 23 09:56:09 packstack-zxy systemd[1]: Started RabbitMQ broker.
    Nov 23 09:56:09 packstack-zxy rabbitmq-server[5531]: completed with 0 plugins.
    services status


    查看user, role, endpoint:

    openstack user list
    [root@packstack-zxy ~(keystone_admin)]# openstack user list
    +----------------------------------+------------+
    | ID                               | Name       |
    +----------------------------------+------------+
    | 333c0021c4ea48b9856501e5c13bce8b | ceilometer |
    | 46d13dc1c80b4d75a38ba7de704dfefa | demo       |
    | 4cbc4f4cd8634b93bea303c3aa9df9bb | nova       |
    | 8ac967bf8d474c1a884afbf3b00db83e | aodh       |
    | ab421f50499b47c2bc1e9795eea67ca9 | glance     |
    | ac9e2e2a9ee14923882a27870b0bc23b | gnocchi    |
    | beb4d9a24b7449b980d1bdda1454476a | swift      |
    | ce6a2eb6a5ec478abb29c972d72eef58 | neutron    |
    | e178b993e3924e85b3e9b486070c8eb5 | placement  |
    | ebd42223a22a4e26bcb44d34f59af8cb | ironic     |
    | f3ce4eb41ede48909ba85073b3fa2975 | admin      |
    | fc00a5684725418a9fd7bec7c3c64a2d | cinder     |
    +----------------------------------+------------+
     
    [root@packstack-zxy ~(keystone_admin)]# openstack role list
    +----------------------------------+---------------+
    | ID                               | Name          |
    +----------------------------------+---------------+
    | 5c51e5744cf140538a157ea3bafece3f | admin         |
    | 9a7e3ec436a4425eb1e52f325dd727d3 | ResellerAdmin |
    | 9fe2ff9ee4384b1894a90878d3e92bab | _member_      |
    | c675a872ba3f42a795754eba4cc13658 | SwiftOperator |
    +----------------------------------+---------------+
     
    [root@packstack-zxy ~(keystone_admin)]# openstack endpoint list
    +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------------+
    | ID                               | Region    | Service Name | Service Type | Enabled | Interface | URL                                               |
    +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------------+
    | 19db945a050a40e78fbe1cf7c2029a6c | RegionOne | nova         | compute      | True    | admin     | http://192.168.122.121:8774/v2.1/%(tenant_id)s    |
    | 1b898eeabe20444a9f070e493d56acf2 | RegionOne | gnocchi      | metric       | True    | admin     | http://192.168.122.121:8041                       |
    | 1e004ed187044abb999593f55887d6cf | RegionOne | placement    | placement    | True    | internal  | http://192.168.122.121:8778/placement             |
    | 256c149656984022a65b214f210bb525 | RegionOne | neutron      | network      | True    | internal  | http://192.168.122.121:9696                       |
    | 2896008cc14848dba6d0065232670e13 | RegionOne | aodh         | alarming     | True    | admin     | http://192.168.122.121:8042                       |
    | 2a650491c005417ba822a5490d12c450 | RegionOne | cinderv3     | volumev3     | True    | admin     | http://192.168.122.121:8776/v3/%(tenant_id)s      |
    | 2b67da9e2517400cb74b995548f82041 | RegionOne | ironic       | baremetal    | True    | internal  | http://192.168.122.121:6385                       |
    | 2be73a834c164147b1e61002e03bd1a5 | RegionOne | glance       | image        | True    | internal  | http://192.168.122.121:9292                       |
    | 2eabd3988dc54846b21cf969dee973cb | RegionOne | neutron      | network      | True    | public    | http://192.168.122.121:9696                       |
    | 32c172e22a3545d294ecee4faf48a0b3 | RegionOne | placement    | placement    | True    | admin     | http://192.168.122.121:8778/placement             |
    | 33806d38e8d04f51984f42cde40b4c55 | RegionOne | glance       | image        | True    | admin     | http://192.168.122.121:9292                       |
    | 3712dc412ea74074adf5dcec5ca50485 | RegionOne | cinderv2     | volumev2     | True    | admin     | http://192.168.122.121:8776/v2/%(tenant_id)s      |
    | 38c207bc7d9041db8313022da404f546 | RegionOne | swift        | object-store | True    | internal  | http://192.168.122.121:8080/v1/AUTH_%(tenant_id)s |
    | 3f8859861117421581434a995a20f083 | RegionOne | keystone     | identity     | True    | admin     | http://192.168.122.121:35357/v3                   |
    | 48fa6b56d2ea4fd1bf1cf3230f09a0d5 | RegionOne | ceilometer   | metering     | True    | admin     | http://192.168.122.121:8777                       |
    | 52b4a96cec624457b1fda1eca45c0230 | RegionOne | keystone     | identity     | True    | internal  | http://192.168.122.121:5000/v3                    |
    | 5455abd88532498688df84d56d5fd658 | RegionOne | nova         | compute      | True    | public    | http://192.168.122.121:8774/v2.1/%(tenant_id)s    |
    | 584a37f4e2f042b6bdc71a8bb20de525 | RegionOne | ceilometer   | metering     | True    | public    | http://192.168.122.121:8777                       |
    | 69c5f9c57f7641359145e98df7eda5cc | RegionOne | nova         | compute      | True    | internal  | http://192.168.122.121:8774/v2.1/%(tenant_id)s    |
    | 6a79fced1b894b87a41695a95a9a2ff7 | RegionOne | swift        | object-store | True    | admin     | http://192.168.122.121:8080/v1/AUTH_%(tenant_id)s |
    | 6deb4b91cd174d8581765ffe58872826 | RegionOne | placement    | placement    | True    | public    | http://192.168.122.121:8778/placement             |
    | 702d87267f4342458c224f0bf2ded9b4 | RegionOne | ironic       | baremetal    | True    | admin     | http://192.168.122.121:6385                       |
    | 772d33c36b134d7fbcbe354f8d8e085a | RegionOne | neutron      | network      | True    | admin     | http://192.168.122.121:9696                       |
    | 7a8fc9ccb0224f8588361c5ffe09987f | RegionOne | keystone     | identity     | True    | public    | http://192.168.122.121:5000/v3                    |
    | 7c8ad1b160c64303b8792e82c7c28f16 | RegionOne | cinderv2     | volumev2     | True    | internal  | http://192.168.122.121:8776/v2/%(tenant_id)s      |
    | 836af2bb749a4017b1dd51ef71e3f093 | RegionOne | aodh         | alarming     | True    | public    | http://192.168.122.121:8042                       |
    | 87415e3f756c4ae58da9ae29d7987274 | RegionOne | ceilometer   | metering     | True    | internal  | http://192.168.122.121:8777                       |
    | 982ddaf39bc84a3297b6a9987bfb9c44 | RegionOne | swift        | object-store | True    | public    | http://192.168.122.121:8080/v1/AUTH_%(tenant_id)s |
    | 9b69867959014fd58fed4c2aaec630d9 | RegionOne | gnocchi      | metric       | True    | public    | http://192.168.122.121:8041                       |
    | 9f87e6cc2fa2498b8325303782be12f5 | RegionOne | glance       | image        | True    | public    | http://192.168.122.121:9292                       |
    | a6dc57a14771441cac7715d16e43502a | RegionOne | cinder       | volume       | True    | internal  | http://192.168.122.121:8776/v1/%(tenant_id)s      |
    | b081c60057ed4970b63863ceecae4756 | RegionOne | aodh         | alarming     | True    | internal  | http://192.168.122.121:8042                       |
    | b10ffcef343f44da87913e26f4921f03 | RegionOne | cinder       | volume       | True    | admin     | http://192.168.122.121:8776/v1/%(tenant_id)s      |
    | b1fe085e7146427a983403093f59157a | RegionOne | ironic       | baremetal    | True    | public    | http://192.168.122.121:6385                       |
    | bd994f2254b64c289823fe99b5e812da | RegionOne | gnocchi      | metric       | True    | internal  | http://192.168.122.121:8041                       |
    | dbaa101662184e929c93979369b83ab3 | RegionOne | cinderv2     | volumev2     | True    | public    | http://192.168.122.121:8776/v2/%(tenant_id)s      |
    | eae3d3118a894a32802100053df78aa9 | RegionOne | cinderv3     | volumev3     | True    | public    | http://192.168.122.121:8776/v3/%(tenant_id)s      |
    | f385394ddc794a9f9094e52401e2e444 | RegionOne | cinderv3     | volumev3     | True    | internal  | http://192.168.122.121:8776/v3/%(tenant_id)s      |
    | f890279dd9c842e9a5dbbabe97565826 | RegionOne | cinder       | volume       | True    | public    | http://192.168.122.121:8776/v1/%(tenant_id)s      |
    +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------------+
    user、role、endpoint

    注意事项:

    yum install -y http://rdo.fedorapeople.org/rdo-release.rpm      更换源

    Testing if puppet apply is finished: 192.168.0.102_controller.pp [-] 需等待结果
  • 相关阅读:
    结果填空:青蛙爬井
    天上的星星 (前缀和)
    Poj3253 Fence Repair (优先队列)
    Requests+BeautifulSoup+正则表达式爬取猫眼电影Top100(名称,演员,评分,封面,上映时间,简介)
    数字图像处理之几种滤波器
    CodeForces
    直方图部分
    Codeforces Round #431 (Div. 2)
    2017中国大学生程序设计竞赛
    C++中数字与字符串之间的转换(转载自http://www.cnblogs.com/luxiaoxun/)
  • 原文地址:https://www.cnblogs.com/sheng518/p/11696609.html
Copyright © 2020-2023  润新知