snow chuai汇总、整理、撰写---2020/3/4
------------+---------------------------+---------------------------+------------
| | |
eth0|192.168.10.11 eth0|192.168.10.12 eth0|192.168.10.13
+-----------+-----------+ +-----------+-----------+ +-----------+-----------+
| [ Control Node ] | | [ Compute Node ] | | [ Network Node ] |
| [node1.1000cc.net] | | [node2.1000cc.net] | | [node3.1000cc.net] |
| MariaDB RabbitMQ | | ibvirt | | Open vSwitch |
| Memcached httpd | | Nova Compute | | L2 Agent |
| Keystone Glance | | Open vSwitch | | L3 Agent |
| Nova API Cinder API | | L2 Agent | | Cinder-Volume |
| Neutron Server | | | | |
| Metadata Agent | | | | |
| Barbican API | | | | |
+-----------------------+ +-----------------------+ +-----------------------+
|
1) 添加Barbican信息及endpotin信息
[root@node1 ~(keystone)]# openstack user create --domain default --project service --password servicepassword barbican
+---------------------+----------------------------------+
| Field | Value |
+---------------------+----------------------------------+
| default_project_id | 7972f61f4a1c4f2592d2bb6dc7711e81 |
| domain_id | default |
| enabled | True |
| id | 696834e7b95a44edac246828de5780a7 |
| name | barbican |
| options | {} |
| password_expires_at | None |
+---------------------+----------------------------------+
|
1) 存储key [root@node1 ~(keystone)]# openstack secret store --name secret01 --payload secretkey # 语法:--name [key's名] --payload [key's数据] +---------------+---------------------------------------------------------------------------+ | Field | Value | +---------------+---------------------------------------------------------------------------+ | Secret href | http://192.168.10.11:9311/v1/secrets/0f32f833-2249-4e20-a0e0-40b5129562a8 | | Name | secret01 | | Created | None | | Status | None | | Content types | None | | Algorithm | aes | | Bit length | 256 | | Secret type | opaque | | Mode | cbc | | Expiration | None | +---------------+---------------------------------------------------------------------------+ |
