snow chuai汇总、整理、撰写---2020/2/7
------------+---------------------------+---------------------------+------------
| | |
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 | 1be75e85ec9445ab9ff7dd7ec2f02b71 |
| domain_id | default |
| enabled | True |
| id | 2132238b5c05445184a54036e339a2a8 |
| name | barbican |
| options | {} |
| password_expires_at | None |
+---------------------+----------------------------------+
|
1) 存储key # 语法:--name [key's名] --payload [key's数据] [root@node1 ~(keystone)]# openstack secret store --name secret01 --payload secretkey +---------------+---------------------------------------------------------------------------+ | Field | Value | +---------------+---------------------------------------------------------------------------+ | Secret href | http://192.168.10.11:9311/v1/secrets/3902d1c4-8ccf-4cf2-a24c-5719cfbe439d | | Name | secret01 | | Created | None | | Status | None | | Content types | None | | Algorithm | aes | | Bit length | 256 | | Secret type | opaque | | Mode | cbc | | Expiration | None | +---------------+---------------------------------------------------------------------------+ |
