安装 OpenStack (DevStack) 后,我登录了仪表板。虽然我已以管理员身份登录,但我只能在那里找到两个选项卡(计算和编排),但没有找到网络和对象存储。检查了 keystone 服务,找不到 swift 和 neutron 服务,所以我只创建了这些服务,现在它列在那里,如下所示:
[stack@openstack devstack]$ keystone service-list
+---------------------+----------+----------------+-----------------------------+
| id | name | type | description |
+---------------------+----------+----------------+-----------------------------+
| 2cbf320ab83d4177a71d97ea478404f8 | cinder | volume |Cinder Volume Service|
| b8d632ae79b34d95ac1f44738ac7eef0 | cinderv2 | volumev2 |Cinder Volume Service V2 |
| b54f6814b6c449678118870d8492f93d | ec2 | ec2 |EC2 Compatibility Layer |
| fc9b9806dfe74b89b600c178cc0e1812 | glance | image |Glance Image Service |
| 26a9b4ecc64a4749bfbd7872ef8e9500 | heat| orchestration |Heat Orchestration Service |
| c3ec7483de44428691e96ed119e80121|heat-cfn|cloudformation|Heat CloudFormation Service|
| 62c9b47524ab4f139d54e7688c853cfb | keystone | identity |Keystone Identity Service |
| 3dc65bcd40bf49d59c42c49a724c7563 | neutron | network | Network Service |
| d8e71222de334250903ddfa9c319db34 | nova | compute | Nova Compute Service |
| 2573faf8148f455381fbffc5ca2726c2 | novav3 | computev3| Nova Compute Service V3 |
| cac5203d66aa4f309004c833e14abe4f | s3 | s3 | S3 |
| 453c3a1a0f2c4652a076a6b6c7fcbe51 | swift |object-store| Object Store Service |
+------------------------+----------+----------------+-----------------------------+
从这里 (http://docs.openstack.org/user-guide-admin/content/log_in_dashboard.html) 我可以看到,对于管理员用户,它也必须显示其他两个选项卡(在项目中),而在管理员中这三个选项卡都缺失(资源使用情况、网络、路由器)。
由于我是 Openstack 的新手,我不确定要检查什么或如何进行?有人可以帮我吗?
答案1
这是因为没有安装其他服务,例如 Swift、Cinder 和 Neutron。仅在 Keystone 中添加服务是不够的。Devstack 默认附带 Nova-network。如果您想要 Neutron,则需要明确启用它:
从https://wiki.openstack.org/wiki/NeutronDevstack
[[local|localrc]]
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron