• docker exec rabbitmq rabbitmqctl wait /var/lib/rabbitmq/mnesia/rabbitmq.pid


    RUNNING HANDLER [rabbitmq : Waiting for rabbitmq to start on first node] ********************************************************************************************************************
    fatal: [kolla-control-netw]: FAILED! => {"changed": true, "cmd": "docker exec rabbitmq rabbitmqctl wait /var/lib/rabbitmq/mnesia/rabbitmq.pid", "delta": "0:00:00.793997", "end": "2020-03-19 15:20:44.561877", "msg": "non-zero return code", "rc": 137, "start": "2020-03-19 15:20:43.767880", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

    docker exec rabbitmq rabbitmqctl wait /var/lib/rabbitmq/mnesia/rabbitmq.pid", "delta": "0:00:00.793997", "end": "2020-03-19 15:20:44.561877", "msg": "non-zero return code", "rc": 137, "start": "2020-03-19 15:20:43.767880", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

     

     

     

     

     

     

     

     

     

     find /usr/local/gis/app/static -type f -mmin +60 -exec rm {} ;

     docker images

     

     

    ./init-runonce
    Checking for locally available cirros image.
    Creating glance image.
    +------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field            | Value                                                                                                                                                                                                       |
    +------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | checksum         | 13cbe968de16dadc239a4e5eb4d57808                                                                                                                                                                            |
    | container_format | bare                                                                                                                                                                                                        |
    | created_at       | 2020-03-24T06:29:11Z                                                                                                                                                                                        |
    | disk_format      | qcow2                                                                                                                                                                                                       |
    | file             | /v2/images/747ed76a-3127-4124-a0c2-27cce11845f8/file                                                                                                                                                        |
    | id               | 747ed76a-3127-4124-a0c2-27cce11845f8                                                                                                                                                                        |
    | min_disk         | 0                                                                                                                                                                                                           |
    | min_ram          | 0                                                                                                                                                                                                           |
    | name             | cirros                                                                                                                                                                                                      |
    | owner            | a3d9a81478b742e09941b4528af62051                                                                                                                                                                            |
    | properties       | os_hash_algo='sha512', os_hash_value='5cce026fe87c69d1d0f961f72a8c7a5027b8c5ac35e6c7c70181e2f5ce52022ae10832dff6f6002844b47293774c8143bfc6df736ca041ad7a1b82b5319b975a', os_hidden='False', os_type='linux' |
    | protected        | False                                                                                                                                                                                                       |
    | schema           | /v2/schemas/image                                                                                                                                                                                           |
    | size             | 10162176                                                                                                                                                                                                    |
    | status           | active                                                                                                                                                                                                      |
    | tags             |                                                                                                                                                                                                             |
    | updated_at       | 2020-03-24T06:29:11Z                                                                                                                                                                                        |
    | virtual_size     | None                                                                                                                                                                                                        |
    | visibility       | public                                                                                                                                                                                                      |
    +------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    Configuring neutron.
    +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field                     | Value                                                                                                                                                            |
    +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | admin_state_up            | UP                                                                                                                                                               |
    | availability_zone_hints   |                                                                                                                                                                  |
    | availability_zones        |                                                                                                                                                                  |
    | created_at                | 2020-03-24T06:29:17Z                                                                                                                                             |
    | description               |                                                                                                                                                                  |
    | dns_domain                | None                                                                                                                                                             |
    | id                        | 669c5ff7-0541-48d5-a6c8-a128e3e71eb1                                                                                                                             |
    | ipv4_address_scope        | None                                                                                                                                                             |
    | ipv6_address_scope        | None                                                                                                                                                             |
    | is_default                | False                                                                                                                                                            |
    | is_vlan_transparent       | None                                                                                                                                                             |
    | location                  | cloud='', project.domain_id=, project.domain_name='Default', project.id='a3d9a81478b742e09941b4528af62051', project.name='admin', region_name='RegionOne', zone= |
    | mtu                       | 1500                                                                                                                                                             |
    | name                      | public1                                                                                                                                                          |
    | port_security_enabled     | True                                                                                                                                                             |
    | project_id                | a3d9a81478b742e09941b4528af62051                                                                                                                                 |
    | provider:network_type     | flat                                                                                                                                                             |
    | provider:physical_network | physnet1                                                                                                                                                         |
    | provider:segmentation_id  | None                                                                                                                                                             |
    | qos_policy_id             | None                                                                                                                                                             |
    | revision_number           | 1                                                                                                                                                                |
    | router:external           | External                                                                                                                                                         |
    | segments                  | None                                                                                                                                                             |
    | shared                    | False                                                                                                                                                            |
    | status                    | ACTIVE                                                                                                                                                           |
    | subnets                   |                                                                                                                                                                  |
    | tags                      |                                                                                                                                                                  |
    | updated_at                | 2020-03-24T06:29:17Z                                                                                                                                             |
    +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field                | Value                                                                                                                                                            |
    +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | allocation_pools     | 10.0.2.150-10.0.2.199                                                                                                                                            |
    | cidr                 | 10.0.2.0/24                                                                                                                                                      |
    | created_at           | 2020-03-24T06:29:22Z                                                                                                                                             |
    | description          |                                                                                                                                                                  |
    | dns_nameservers      |                                                                                                                                                                  |
    | dns_publish_fixed_ip | None                                                                                                                                                             |
    | enable_dhcp          | False                                                                                                                                                            |
    | gateway_ip           | 10.0.2.1                                                                                                                                                         |
    | host_routes          |                                                                                                                                                                  |
    | id                   | 2336badc-9e2f-4d40-9eeb-520142f5bba0                                                                                                                             |
    | ip_version           | 4                                                                                                                                                                |
    | ipv6_address_mode    | None                                                                                                                                                             |
    | ipv6_ra_mode         | None                                                                                                                                                             |
    | location             | cloud='', project.domain_id=, project.domain_name='Default', project.id='a3d9a81478b742e09941b4528af62051', project.name='admin', region_name='RegionOne', zone= |
    | name                 | public1-subnet                                                                                                                                                   |
    | network_id           | 669c5ff7-0541-48d5-a6c8-a128e3e71eb1                                                                                                                             |
    | prefix_length        | None                                                                                                                                                             |
    | project_id           | a3d9a81478b742e09941b4528af62051                                                                                                                                 |
    | revision_number      | 0                                                                                                                                                                |
    | segment_id           | None                                                                                                                                                             |
    | service_types        |                                                                                                                                                                  |
    | subnetpool_id        | None                                                                                                                                                             |
    | tags                 |                                                                                                                                                                  |
    | updated_at           | 2020-03-24T06:29:22Z                                                                                                                                             |
    +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field                     | Value                                                                                                                                                            |
    +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | admin_state_up            | UP                                                                                                                                                               |
    | availability_zone_hints   |                                                                                                                                                                  |
    | availability_zones        |                                                                                                                                                                  |
    | created_at                | 2020-03-24T06:29:25Z                                                                                                                                             |
    | description               |                                                                                                                                                                  |
    | dns_domain                | None                                                                                                                                                             |
    | id                        | a066ba72-fa19-42cc-9691-8c5a0b68ffaf                                                                                                                             |
    | ipv4_address_scope        | None                                                                                                                                                             |
    | ipv6_address_scope        | None                                                                                                                                                             |
    | is_default                | False                                                                                                                                                            |
    | is_vlan_transparent       | None                                                                                                                                                             |
    | location                  | cloud='', project.domain_id=, project.domain_name='Default', project.id='a3d9a81478b742e09941b4528af62051', project.name='admin', region_name='RegionOne', zone= |
    | mtu                       | 1450                                                                                                                                                             |
    | name                      | demo-net                                                                                                                                                         |
    | port_security_enabled     | True                                                                                                                                                             |
    | project_id                | a3d9a81478b742e09941b4528af62051                                                                                                                                 |
    | provider:network_type     | vxlan                                                                                                                                                            |
    | provider:physical_network | None                                                                                                                                                             |
    | provider:segmentation_id  | 29                                                                                                                                                               |
    | qos_policy_id             | None                                                                                                                                                             |
    | revision_number           | 1                                                                                                                                                                |
    | router:external           | Internal                                                                                                                                                         |
    | segments                  | None                                                                                                                                                             |
    | shared                    | False                                                                                                                                                            |
    | status                    | ACTIVE                                                                                                                                                           |
    | subnets                   |                                                                                                                                                                  |
    | tags                      |                                                                                                                                                                  |
    | updated_at                | 2020-03-24T06:29:25Z                                                                                                                                             |
    +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field                | Value                                                                                                                                                            |
    +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | allocation_pools     | 10.0.0.2-10.0.0.254                                                                                                                                              |
    | cidr                 | 10.0.0.0/24                                                                                                                                                      |
    | created_at           | 2020-03-24T06:29:28Z                                                                                                                                             |
    | description          |                                                                                                                                                                  |
    | dns_nameservers      | 8.8.8.8                                                                                                                                                          |
    | dns_publish_fixed_ip | None                                                                                                                                                             |
    | enable_dhcp          | True                                                                                                                                                             |
    | gateway_ip           | 10.0.0.1                                                                                                                                                         |
    | host_routes          |                                                                                                                                                                  |
    | id                   | 31ebb3a5-c064-4e40-85dc-46979ca8f9a1                                                                                                                             |
    | ip_version           | 4                                                                                                                                                                |
    | ipv6_address_mode    | None                                                                                                                                                             |
    | ipv6_ra_mode         | None                                                                                                                                                             |
    | location             | cloud='', project.domain_id=, project.domain_name='Default', project.id='a3d9a81478b742e09941b4528af62051', project.name='admin', region_name='RegionOne', zone= |
    | name                 | demo-subnet                                                                                                                                                      |
    | network_id           | a066ba72-fa19-42cc-9691-8c5a0b68ffaf                                                                                                                             |
    | prefix_length        | None                                                                                                                                                             |
    | project_id           | a3d9a81478b742e09941b4528af62051                                                                                                                                 |
    | revision_number      | 0                                                                                                                                                                |
    | segment_id           | None                                                                                                                                                             |
    | service_types        |                                                                                                                                                                  |
    | subnetpool_id        | None                                                                                                                                                             |
    | tags                 |                                                                                                                                                                  |
    | updated_at           | 2020-03-24T06:29:28Z                                                                                                                                             |
    +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    +-------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field                   | Value                                                                                                                                                            |
    +-------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | admin_state_up          | UP                                                                                                                                                               |
    | availability_zone_hints |                                                                                                                                                                  |
    | availability_zones      |                                                                                                                                                                  |
    | created_at              | 2020-03-24T06:29:32Z                                                                                                                                             |
    | description             |                                                                                                                                                                  |
    | distributed             | False                                                                                                                                                            |
    | external_gateway_info   | null                                                                                                                                                             |
    | flavor_id               | None                                                                                                                                                             |
    | ha                      | False                                                                                                                                                            |
    | id                      | 7f7b16ee-6cf4-4a60-a0a0-454f295359c2                                                                                                                             |
    | location                | cloud='', project.domain_id=, project.domain_name='Default', project.id='a3d9a81478b742e09941b4528af62051', project.name='admin', region_name='RegionOne', zone= |
    | name                    | demo-router                                                                                                                                                      |
    | project_id              | a3d9a81478b742e09941b4528af62051                                                                                                                                 |
    | revision_number         | 1                                                                                                                                                                |
    | routes                  |                                                                                                                                                                  |
    | status                  | ACTIVE                                                                                                                                                           |
    | tags                    |                                                                                                                                                                  |
    | updated_at              | 2020-03-24T06:29:32Z                                                                                                                                             |
    +-------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field             | Value                                                                                                                                                            |
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | created_at        | 2020-03-24T06:30:31Z                                                                                                                                             |
    | description       |                                                                                                                                                                  |
    | direction         | ingress                                                                                                                                                          |
    | ether_type        | IPv4                                                                                                                                                             |
    | id                | 456caeb5-09c6-4a71-b40b-c7a8b03ea77f                                                                                                                             |
    | location          | cloud='', project.domain_id=, project.domain_name='Default', project.id='a3d9a81478b742e09941b4528af62051', project.name='admin', region_name='RegionOne', zone= |
    | name              | None                                                                                                                                                             |
    | port_range_max    | None                                                                                                                                                             |
    | port_range_min    | None                                                                                                                                                             |
    | project_id        | a3d9a81478b742e09941b4528af62051                                                                                                                                 |
    | protocol          | icmp                                                                                                                                                             |
    | remote_group_id   | None                                                                                                                                                             |
    | remote_ip_prefix  | 0.0.0.0/0                                                                                                                                                        |
    | revision_number   | 0                                                                                                                                                                |
    | security_group_id | 45e4554b-229d-4196-8382-1c90b28641c6                                                                                                                             |
    | tags              | []                                                                                                                                                               |
    | updated_at        | 2020-03-24T06:30:31Z                                                                                                                                             |
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field             | Value                                                                                                                                                            |
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | created_at        | 2020-03-24T06:30:35Z                                                                                                                                             |
    | description       |                                                                                                                                                                  |
    | direction         | ingress                                                                                                                                                          |
    | ether_type        | IPv4                                                                                                                                                             |
    | id                | 1b9c3862-54d3-4c71-90cc-105a6743a23a                                                                                                                             |
    | location          | cloud='', project.domain_id=, project.domain_name='Default', project.id='a3d9a81478b742e09941b4528af62051', project.name='admin', region_name='RegionOne', zone= |
    | name              | None                                                                                                                                                             |
    | port_range_max    | 22                                                                                                                                                               |
    | port_range_min    | 22                                                                                                                                                               |
    | project_id        | a3d9a81478b742e09941b4528af62051                                                                                                                                 |
    | protocol          | tcp                                                                                                                                                              |
    | remote_group_id   | None                                                                                                                                                             |
    | remote_ip_prefix  | 0.0.0.0/0                                                                                                                                                        |
    | revision_number   | 0                                                                                                                                                                |
    | security_group_id | 45e4554b-229d-4196-8382-1c90b28641c6                                                                                                                             |
    | tags              | []                                                                                                                                                               |
    | updated_at        | 2020-03-24T06:30:35Z                                                                                                                                             |
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field             | Value                                                                                                                                                            |
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | created_at        | 2020-03-24T06:30:38Z                                                                                                                                             |
    | description       |                                                                                                                                                                  |
    | direction         | ingress                                                                                                                                                          |
    | ether_type        | IPv4                                                                                                                                                             |
    | id                | 4461533e-23f1-4eb5-a3a8-b59915a689e2                                                                                                                             |
    | location          | cloud='', project.domain_id=, project.domain_name='Default', project.id='a3d9a81478b742e09941b4528af62051', project.name='admin', region_name='RegionOne', zone= |
    | name              | None                                                                                                                                                             |
    | port_range_max    | 8000                                                                                                                                                             |
    | port_range_min    | 8000                                                                                                                                                             |
    | project_id        | a3d9a81478b742e09941b4528af62051                                                                                                                                 |
    | protocol          | tcp                                                                                                                                                              |
    | remote_group_id   | None                                                                                                                                                             |
    | remote_ip_prefix  | 0.0.0.0/0                                                                                                                                                        |
    | revision_number   | 0                                                                                                                                                                |
    | security_group_id | 45e4554b-229d-4196-8382-1c90b28641c6                                                                                                                             |
    | tags              | []                                                                                                                                                               |
    | updated_at        | 2020-03-24T06:30:38Z                                                                                                                                             |
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field             | Value                                                                                                                                                            |
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | created_at        | 2020-03-24T06:30:41Z                                                                                                                                             |
    | description       |                                                                                                                                                                  |
    | direction         | ingress                                                                                                                                                          |
    | ether_type        | IPv4                                                                                                                                                             |
    | id                | cee3f252-bb49-49e9-a35b-2057571343e5                                                                                                                             |
    | location          | cloud='', project.domain_id=, project.domain_name='Default', project.id='a3d9a81478b742e09941b4528af62051', project.name='admin', region_name='RegionOne', zone= |
    | name              | None                                                                                                                                                             |
    | port_range_max    | 8080                                                                                                                                                             |
    | port_range_min    | 8080                                                                                                                                                             |
    | project_id        | a3d9a81478b742e09941b4528af62051                                                                                                                                 |
    | protocol          | tcp                                                                                                                                                              |
    | remote_group_id   | None                                                                                                                                                             |
    | remote_ip_prefix  | 0.0.0.0/0                                                                                                                                                        |
    | revision_number   | 0                                                                                                                                                                |
    | security_group_id | 45e4554b-229d-4196-8382-1c90b28641c6                                                                                                                             |
    | tags              | []                                                                                                                                                               |
    | updated_at        | 2020-03-24T06:30:41Z                                                                                                                                             |
    +-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    Configuring nova public key and quotas.
    +-------------+-------------------------------------------------+
    | Field       | Value                                           |
    +-------------+-------------------------------------------------+
    | fingerprint | ca:6b:79:0a:14:5e:53:3f:da:11:cb:9f:6f:69:0d:74 |
    | name        | mykey                                           |
    | user_id     | dd60fe2a660b47c98a16df0f0487b8c8                |
    +-------------+-------------------------------------------------+
    +----------------------------+---------+
    | Field                      | Value   |
    +----------------------------+---------+
    | OS-FLV-DISABLED:disabled   | False   |
    | OS-FLV-EXT-DATA:ephemeral  | 0       |
    | disk                       | 1       |
    | id                         | 1       |
    | name                       | m1.tiny |
    | os-flavor-access:is_public | True    |
    | properties                 |         |
    | ram                        | 512     |
    | rxtx_factor                | 1.0     |
    | swap                       |         |
    | vcpus                      | 1       |
    +----------------------------+---------+
    +----------------------------+----------+
    | Field                      | Value    |
    +----------------------------+----------+
    | OS-FLV-DISABLED:disabled   | False    |
    | OS-FLV-EXT-DATA:ephemeral  | 0        |
    | disk                       | 20       |
    | id                         | 2        |
    | name                       | m1.small |
    | os-flavor-access:is_public | True     |
    | properties                 |          |
    | ram                        | 2048     |
    | rxtx_factor                | 1.0      |
    | swap                       |          |
    | vcpus                      | 1        |
    +----------------------------+----------+
    +----------------------------+-----------+
    | Field                      | Value     |
    +----------------------------+-----------+
    | OS-FLV-DISABLED:disabled   | False     |
    | OS-FLV-EXT-DATA:ephemeral  | 0         |
    | disk                       | 40        |
    | id                         | 3         |
    | name                       | m1.medium |
    | os-flavor-access:is_public | True      |
    | properties                 |           |
    | ram                        | 4096      |
    | rxtx_factor                | 1.0       |
    | swap                       |           |
    | vcpus                      | 2         |
    +----------------------------+-----------+
    +----------------------------+----------+
    | Field                      | Value    |
    +----------------------------+----------+
    | OS-FLV-DISABLED:disabled   | False    |
    | OS-FLV-EXT-DATA:ephemeral  | 0        |
    | disk                       | 80       |
    | id                         | 4        |
    | name                       | m1.large |
    | os-flavor-access:is_public | True     |
    | properties                 |          |
    | ram                        | 8192     |
    | rxtx_factor                | 1.0      |
    | swap                       |          |
    | vcpus                      | 4        |
    +----------------------------+----------+
    +----------------------------+-----------+
    | Field                      | Value     |
    +----------------------------+-----------+
    | OS-FLV-DISABLED:disabled   | False     |
    | OS-FLV-EXT-DATA:ephemeral  | 0         |
    | disk                       | 160       |
    | id                         | 5         |
    | name                       | m1.xlarge |
    | os-flavor-access:is_public | True      |
    | properties                 |           |
    | ram                        | 16384     |
    | rxtx_factor                | 1.0       |
    | swap                       |           |
    | vcpus                      | 8         |
    +----------------------------+-----------+
    
    Done.
    
    To deploy a demo instance, run:
    
    openstack server create 
        --image cirros 
        --flavor m1.tiny 
        --key-name mykey 
        --network demo-net 
        demo1
    

      

  • 相关阅读:
    centos 系统查看raid信息
    021-制作OpenStack镜像官方文档
    020-VMware虚拟机作为OpenStack计算节点,上面的虚拟机无法启动问题解决
    019-openstack组件使用的默认端口号
    CentOS7搭建FastDFS+Nginx
    zabbix 安装中文无法显示的问题
    ##6.2 Neutron计算节点-- openstack pike
    thinkphp 5.6以上版本出现No input file specified解决办法
    单/多行——超出文字变成.....
    修改cmd为utf-8编码:
  • 原文地址:https://www.cnblogs.com/ruiy/p/12533029.html
Copyright © 2020-2023  润新知