diff options
author | 2017-06-23 17:44:33 +0400 | |
---|---|---|
committer | 2017-06-23 17:46:04 +0400 | |
commit | 3c7e4c3773face367cdf0988cccfc2dfd68f55ab (patch) | |
tree | 832551e5963d70be294ca797a8a5d349cc7cf571 /mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack | |
parent | c9c86b875735b7f21a90e73f16b58fa13c01b419 (diff) |
Remove redundant services from noha scenario
Change-Id: I445f6ac802fbf1b382b18bcb4306eb5538cb1867
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack')
4 files changed, 50 insertions, 30 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/compute.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/compute.yml index 8ed7f51b3..72aee1bca 100644 --- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/compute.yml +++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/compute.yml @@ -2,9 +2,8 @@ classes: - system.linux.system.repo.mcp.openstack - system.linux.system.repo.mcp.extra - system.linux.system.repo.saltstack.xenial -- system.nova.compute.cluster -- system.neutron.compute.cluster -- system.ceilometer.agent.cluster +- system.nova.compute.single +- service.neutron.compute.single - cluster.virtual-mcp-ocata-ovs parameters: _param: @@ -16,11 +15,18 @@ parameters: nova: compute: vncproxy_url: http://${_param:cluster_vip_address}:6080 + network: + region: ${_param:openstack_region} + user: neutron + tenant: service + password: ${_param:keystone_neutron_password} + neutron: + compute: + agent_mode: ${_param:neutron_compute_agent_mode} message_queue: - members: - - host: ${_param:openstack_control_node01_address} - - host: ${_param:openstack_control_node02_address} - - host: ${_param:openstack_control_node03_address} + host: ${_param:openstack_control_address} + metadata: + host: ${_param:openstack_control_address} linux: network: bridge: openvswitch diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml index 65fc1e474..8f63000aa 100644 --- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml +++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml @@ -3,30 +3,29 @@ classes: - system.linux.system.repo.mcp.openstack - system.linux.system.repo.mcp.extra - system.linux.system.repo.saltstack.xenial -- system.ceilometer.client - system.memcached.server.single -- system.rabbitmq.server.cluster +- system.rabbitmq.server.single - system.rabbitmq.server.vhost.openstack - system.keystone.server.wsgi -- system.keystone.server.cluster -- system.glance.control.cluster -- system.nova.control.cluster -- system.neutron.control.openvswitch.cluster -- system.cinder.control.cluster -- system.heat.server.cluster -- system.galera.server.cluster -- system.galera.server.database.aodh -- system.galera.server.database.ceilometer +- system.keystone.server.single +- system.keystone.client.single +- system.keystone.client.service.nova21 +- system.keystone.client.service.nova-placement +- system.keystone.client.service.glare +- system.keystone.client.service.cinder3 +- system.glance.control.single +- system.nova.control.single +- system.neutron.control.openvswitch.single +- system.cinder.control.single +- system.heat.server.single +- service.mysql.server.single - system.galera.server.database.cinder - system.galera.server.database.glance - system.galera.server.database.grafana - system.galera.server.database.heat - system.galera.server.database.keystone - system.galera.server.database.nova -- system.haproxy.proxy.listen.openstack.nova-placement -- system.ceilometer.server.cluster -- system.aodh.server.cluster -- system.horizon.server.cluster +- system.horizon.server.single - cluster.virtual-mcp-ocata-ovs parameters: _param: @@ -46,14 +45,20 @@ parameters: proto: static address: ${_param:single_address} netmask: 255.255.255.0 - keepalived: - cluster: - instance: - VIP: - virtual_router_id: 150 keystone: server: admin_email: ${_param:admin_email} + pkgs: + - keystone + - python-keystone + - python-keystoneclient + - python-psycopg2 + - python-mysqldb + - python-six + - python-memcache + - python-openstackclient + - gettext-base + - python-pycadf glance: server: storage: @@ -72,3 +77,8 @@ parameters: novncproxy_port: 6080 vncproxy_url: http://${_param:cluster_vip_address}:6080 workers: 1 + mysql: + server: + version: '5.7' + bind: + address: ${_param:cluster_local_address} diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/gateway.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/gateway.yml index 67e5a4371..9257d8604 100644 --- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/gateway.yml +++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/gateway.yml @@ -2,7 +2,7 @@ classes: - system.linux.system.repo.mcp.openstack - system.linux.system.repo.mcp.extra - system.linux.system.repo.saltstack.xenial -- system.neutron.gateway.cluster +- service.neutron.gateway.single - cluster.virtual-mcp-ocata-ovs parameters: _param: @@ -11,6 +11,9 @@ parameters: external_interface: ens6 interface_mtu: 9000 linux_system_codename: xenial + neutron: + gateway: + agent_mode: ${_param:neutron_gateway_agent_mode} linux: network: bridge: openvswitch diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/init.yml index 4b5149f64..e4cf3bbac 100644 --- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/init.yml +++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/init.yml @@ -6,7 +6,7 @@ parameters: openstack_region: RegionOne admin_email: root@localhost cluster_public_protocol: http - cluster_public_host: 172.16.10.254 + cluster_public_host: 172.16.10.101 neutron_public_protocol: http neutron_control_dvr: False neutron_tenant_network_types: "flat,vxlan" @@ -21,7 +21,7 @@ parameters: galera_server_cluster_name: openstack_cluster galera_server_maintenance_password: opnfv_secret galera_server_admin_password: opnfv_secret - cluster_vip_address: 172.16.10.254 + cluster_vip_address: ${_param:cluster_public_host} cluster_local_address: ${_param:single_address} cluster_node01_hostname: ctl01 cluster_node01_address: 172.16.10.101 @@ -42,6 +42,7 @@ parameters: heat_domain_admin_password: opnfv_secret ceilometer_version: ${_param:openstack_version} ceilometer_service_host: 172.16.10.108 + ceilometer_database_host: ${_param:cluster_local_address} cinder_version: ${_param:openstack_version} cinder_service_host: ${_param:cluster_vip_address} ceilometer_graphite_publisher_host: 172.16.10.107 |