在CentOS上部署OpenStack Queens的问题

如果部署在CentOS 7.4上,创建虚拟机后,无法列出服务器。

能够ping通服务器,没有办法SSH.

能够在KVM图形界面上看到闪烁的服务器,但是无法持续看到。

据说在CentOS 7.4 没有这样的问题。这个问题据说和内核有关。


[root@controller ~]# . demo-openrc
[root@controller ~]# openstack server create --flavor m1.nano --image cirros \
>    --nic net-id=1346e73c-4e5f-486d-8b1d-21f52d69752b --security-group default \
>    --key-name mykey provider-instance02
+-----------------------------+-----------------------------------------------+
| Field                       | Value                                         |
+-----------------------------+-----------------------------------------------+
| OS-DCF:diskConfig           | MANUAL                                        |
| OS-EXT-AZ:availability_zone |                                               |
| OS-EXT-STS:power_state      | NOSTATE                                       |
| OS-EXT-STS:task_state       | scheduling                                    |
| OS-EXT-STS:vm_state         | building                                      |
| OS-SRV-USG:launched_at      | None                                          |
| OS-SRV-USG:terminated_at    | None                                          |
| accessIPv4                  |                                               |
| accessIPv6                  |                                               |
| addresses                   |                                               |
| adminPass                   | 4B2rcm8DyRpW                                  |
| config_drive                |                                               |
| created                     | 2018-05-11T07:59:15Z                          |
| flavor                      | m1.nano (0)                                   |
| hostId                      |                                               |
| id                          | af6e9bf0-0905-4148-b07a-07b5d3e2731b          |
| image                       | cirros (f42080b2-93a2-4d2f-9143-a0191e06b31f) |
| key_name                    | mykey                                         |
| name                        | provider-instance02                           |
| progress                    | 0                                             |
| project_id                  | ed57a5ffb278481d8aecb57cd18f7f8d              |
| properties                  |                                               |
| security_groups             | name='eed229b1-3d63-4293-b09a-3fef84afef56'   |
| status                      | BUILD                                         |
| updated                     | 2018-05-11T08:00:15Z                          |
| user_id                     | 28a81f0aa09e49b789da69b191ef5374              |
| volumes_attached            |                                               |
+-----------------------------+-----------------------------------------------+
[root@controller ~]# openstack server list
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.TypeError'> (HTTP 500) (Request-ID: req-66c23efb-facb-4ea1-9af8-8a7ee5334f79)

[root@controller ~]# 



[root@controller ~]# ping 192.168.226.101
PING 192.168.226.101 (192.168.226.101) 56(84) bytes of data.
64 bytes from 192.168.226.101: icmp_seq=1 ttl=64 time=0.065 ms
64 bytes from 192.168.226.101: icmp_seq=2 ttl=64 time=0.079 ms
64 bytes from 192.168.226.101: icmp_seq=3 ttl=64 time=0.042 ms
64 bytes from 192.168.226.101: icmp_seq=4 ttl=64 time=0.060 ms
64 bytes from 192.168.226.101: icmp_seq=5 ttl=64 time=0.076 ms
64 bytes from 192.168.226.101: icmp_seq=6 ttl=64 time=0.063 ms
64 bytes from 192.168.226.101: icmp_seq=7 ttl=64 time=0.046 ms
64 bytes from 192.168.226.101: icmp_seq=8 ttl=64 time=0.078 ms
^C
--- 192.168.226.101 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 6999ms
rtt min/avg/max/mdev = 0.042/0.063/0.079/0.015 ms
[root@controller ~]# 

猜你喜欢

转载自blog.csdn.net/openeis/article/details/80276223
今日推荐