From a6daf4ece3f05600ad66fea55c5220d07a71cef1 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Wed, 24 May 2017 12:44:05 +0400 Subject: [mcp] Bring in reclass system salt models Change-Id: I1a865b7524f3a5242544e60e6b36b1092721c58b Signed-off-by: Michael Polenchuk --- mcp/reclass/classes/system/nova/compute/single.yml | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 mcp/reclass/classes/system/nova/compute/single.yml (limited to 'mcp/reclass/classes/system/nova/compute/single.yml') diff --git a/mcp/reclass/classes/system/nova/compute/single.yml b/mcp/reclass/classes/system/nova/compute/single.yml new file mode 100644 index 000000000..f50b93767 --- /dev/null +++ b/mcp/reclass/classes/system/nova/compute/single.yml @@ -0,0 +1,91 @@ +applications: +- nova +classes: +- service.nova.compute.kvm +parameters: + _param: + nova_vncproxy_url: https://${_param:cluster_public_host}:6080 + nova_compute_ssh_public: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCltIn93BcTMzNK/n2eBze6PyTkmIgdDkeXNR9X4DqE48Va80ojv2pq8xuaBxiNITJzyl+4p4UvTTXo+HmuX8qbHvqgMGXvuPUCpndEfb2r67f6vpMqPwMgBrUg2ZKgN4OsSDHU+H0dia0cEaTjz5pvbUy9lIsSyhrqOUVF9reJq+boAvVEedm8fUqiZuiejAw2D27+rRtdEPgsKMnh3626YEsr963q4rjU/JssV/iKMNu7mk2a+koOrJ+aHvcVU8zJjfA0YghoeVT/I3GLU/MB/4tD/RyR8GM+UYbI4sgAC7ZOCdQyHdJgnEzx3SJIwcS65U0T2XYvn2qXHXqJ9iGZ root@mirantis.com + nova_compute_avail_zone: + nova_compute_ssh_private: | + -----BEGIN RSA PRIVATE KEY----- + MIIEpAIBAAKCAQEApbSJ/dwXEzMzSv59ngc3uj8k5JiIHQ5HlzUfV+A6hOPFWvNK + I79qavMbmgcYjSEyc8pfuKeFL0016Ph5rl/Kmx76oDBl77j1AqZ3RH29q+u3+r6T + Kj8DIAa1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yPG/s9NqaFdB4gaVJ2VgqcQQKg + v++QcssulCRbS/2/cJBWr2ECgYAJFCDL9G9HEwlGorGzcNIkxeiyppZhwFDDJuz8 + j4+kU9uPg0rqa8F8JINxq1ZCz7A10/jKlWFuLTbpk2Dw1lUeQCiVvX9PKU30FLGT + IC6M4rPyxCb75EQUVbXN1p3WAGkfx0aEsweEgtZhNyNeEGJSBK/Iw8/agfpq/pOf + sboOMQKBgQClKmrAYKWnwdPPka3msyjl/AXDruR4XFvMlOPKbs3nYstolE7eR94F + 7xDyBz85icFU0rceYQetwFH2p5tRL0GcUQhJmJFgIL0OXdCQvRNJrT3iS00N1aUo + SG9MrLHCd5l60aCUQg0UA5ed7Hd6SA314k+HwxJno9/wJ+voBeacMg== + -----END RSA PRIVATE KEY----- + openssh: + client: + enabled: True + user: {} + stricthostkeychecking: False + nova: + compute: + version: ${_param:nova_version} + disable_flow_collection: true + enabled: true + virtualization: kvm + availability_zone: ${_param:nova_compute_avail_zone} + vncproxy_url: ${_param:nova_vncproxy_url} + bind: + vnc_address: ${_param:control_address} + vnc_port: 6080 + vnc_name: 0.0.0.0 + database: + engine: mysql + host: ${_param:control_address} + port: 3306 + name: nova + user: nova + password: ${_param:mysql_nova_password} + identity: + engine: keystone + host: ${_param:control_address} + port: 35357 + user: nova + password: ${_param:keystone_nova_password} + tenant: service + message_queue: + engine: rabbitmq + host: ${_param:control_address} + port: 5672 + user: openstack + password: ${_param:rabbitmq_openstack_password} + virtual_host: '/openstack' + image: + engine: glance + host: ${_param:control_address} + port: 9292 + network: + engine: neutron + host: ${_param:control_address} + port: 9696 + cache: + engine: memcached + members: + - host: 127.0.0.1 + port: 11211 + user: + public_key: ${_param:nova_compute_ssh_public} + private_key: ${_param:nova_compute_ssh_private} -- cgit 1.2.3-korg