Add Nova client metadata to create Octavia keypair
- Added metadata defining keypair required to log-in into amphorae
- Include service.nova.client and depend on it to enable client
- Also use admin_identity to create nova flavors as this action is
often restricted to admin
Depends on: https://gerrit.mcp.mirantis.net/7475
Related PROD: PROD-12876
Change-Id: I35b642110f3922ca6bb64e355f7cd9130db3359f
diff --git a/nova/client/service/octavia.yml b/nova/client/service/octavia.yml
index 817297f..e0b6557 100644
--- a/nova/client/service/octavia.yml
+++ b/nova/client/service/octavia.yml
@@ -1,9 +1,12 @@
+classes:
+- service.nova.client
parameters:
+ _param:
+ octavia_ssh_key_path: "/etc/octavia/.ssh/octavia_ssh_key.pub"
nova:
client:
- enabled: true
server:
- octavia_identity:
+ admin_identity:
endpoint_type: internalURL
flavor:
m1.amphora:
@@ -11,3 +14,8 @@
ram: 1024
disk: 2
vcpus: 1
+ octavia_identity:
+ endpoint_type: internalURL
+ keypair:
+ octavia_ssh_key:
+ pub_file: ${_param:octavia_ssh_key_path}