Remove dedicated network node for multinode, remove cloudwatch
* cloudwatch has been deprecated since Havana, removed in Queens * chef pinning is relaxed to major versions * remove dedicated network node for multinode testing Change-Id: I397bf5e61d13d217206e07351b0dbb91125c3212
This commit is contained in:
parent
4f374d32b9
commit
8193580838
@ -2,7 +2,7 @@
|
|||||||
driver:
|
driver:
|
||||||
name: dokken
|
name: dokken
|
||||||
privileged: true
|
privileged: true
|
||||||
chef_version: '13.6.4' # workaround for chef/chef#6784
|
chef_version: 13
|
||||||
volumes:
|
volumes:
|
||||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||||
- /sys/fs/selinux:/sys/fs/selinux:rw
|
- /sys/fs/selinux:/sys/fs/selinux:rw
|
||||||
@ -84,7 +84,6 @@ suites:
|
|||||||
- recipe[openstack-orchestration::engine]
|
- recipe[openstack-orchestration::engine]
|
||||||
- recipe[openstack-orchestration::api]
|
- recipe[openstack-orchestration::api]
|
||||||
- recipe[openstack-orchestration::api-cfn]
|
- recipe[openstack-orchestration::api-cfn]
|
||||||
- recipe[openstack-orchestration::api-cloudwatch]
|
|
||||||
- recipe[openstack-orchestration::identity_registration]
|
- recipe[openstack-orchestration::identity_registration]
|
||||||
- recipe[openstack-image::image_upload]
|
- recipe[openstack-image::image_upload]
|
||||||
- recipe[openstack-dashboard::horizon]
|
- recipe[openstack-dashboard::horizon]
|
||||||
|
@ -13,7 +13,8 @@ provisioner:
|
|||||||
# For example:
|
# For example:
|
||||||
# always_update_cookbooks: <%= !ENV['CI'] %>
|
# always_update_cookbooks: <%= !ENV['CI'] %>
|
||||||
always_update_cookbooks: true
|
always_update_cookbooks: true
|
||||||
require_chef_omnibus: '13.6.4' # workaround for chef/chef#6784
|
product_name: chef
|
||||||
|
product_version: 13
|
||||||
# Copy secret to /tmp/kitchen on test VM. Kitchen tries to gather secrets
|
# Copy secret to /tmp/kitchen on test VM. Kitchen tries to gather secrets
|
||||||
# before any recipes had a chance to run -> we cannot use a recipe to put the
|
# before any recipes had a chance to run -> we cannot use a recipe to put the
|
||||||
# secrets file in place.
|
# secrets file in place.
|
||||||
@ -31,9 +32,9 @@ provisioner:
|
|||||||
update_apt_cache: true
|
update_apt_cache: true
|
||||||
bind_service:
|
bind_service:
|
||||||
db:
|
db:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
mq:
|
mq:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
main:
|
main:
|
||||||
identity:
|
identity:
|
||||||
host: '0.0.0.0'
|
host: '0.0.0.0'
|
||||||
@ -47,8 +48,6 @@ provisioner:
|
|||||||
host: '0.0.0.0'
|
host: '0.0.0.0'
|
||||||
compute-metadata-api:
|
compute-metadata-api:
|
||||||
host: '0.0.0.0'
|
host: '0.0.0.0'
|
||||||
compute-novnc:
|
|
||||||
host: '0.0.0.0'
|
|
||||||
image_api:
|
image_api:
|
||||||
host: '0.0.0.0'
|
host: '0.0.0.0'
|
||||||
image_registry:
|
image_registry:
|
||||||
@ -59,8 +58,6 @@ provisioner:
|
|||||||
host: '0.0.0.0'
|
host: '0.0.0.0'
|
||||||
orchestration-api-cfn:
|
orchestration-api-cfn:
|
||||||
host: '0.0.0.0'
|
host: '0.0.0.0'
|
||||||
orchestration-api-cloudwatch:
|
|
||||||
host: '0.0.0.0'
|
|
||||||
placement-api:
|
placement-api:
|
||||||
host: '0.0.0.0'
|
host: '0.0.0.0'
|
||||||
compute:
|
compute:
|
||||||
@ -72,84 +69,72 @@ provisioner:
|
|||||||
server_hostname: controller.example.net
|
server_hostname: controller.example.net
|
||||||
endpoints:
|
endpoints:
|
||||||
db:
|
db:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
mq:
|
mq:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
admin:
|
admin:
|
||||||
block-storage:
|
block-storage:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
compute-api:
|
compute-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
compute-metadata-api:
|
compute-metadata-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
compute-novnc:
|
|
||||||
host: '192.168.101.80'
|
|
||||||
identity:
|
identity:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
image_api:
|
image_api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
image_registry:
|
image_registry:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
network:
|
network:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
orchestration-api:
|
orchestration-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
orchestration-api-cfn:
|
orchestration-api-cfn:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
orchestration-api-cloudwatch:
|
|
||||||
host: '192.168.101.80'
|
|
||||||
placement-api:
|
placement-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
internal:
|
internal:
|
||||||
block-storage:
|
block-storage:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
compute-api:
|
compute-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
compute-metadata-api:
|
compute-metadata-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
compute-novnc:
|
|
||||||
host: '192.168.101.80'
|
|
||||||
identity:
|
identity:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
image_api:
|
image_api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
image_registry:
|
image_registry:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
network:
|
network:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
orchestration-api:
|
orchestration-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
orchestration-api-cfn:
|
orchestration-api-cfn:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
orchestration-api-cloudwatch:
|
|
||||||
host: '192.168.101.80'
|
|
||||||
placement-api:
|
placement-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
public:
|
public:
|
||||||
block-storage:
|
block-storage:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
compute-api:
|
compute-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
compute-metadata-api:
|
compute-metadata-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
compute-novnc:
|
|
||||||
host: '192.168.101.80'
|
|
||||||
identity:
|
identity:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
image_api:
|
image_api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
image_registry:
|
image_registry:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
network:
|
network:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
orchestration-api:
|
orchestration-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
orchestration-api-cfn:
|
orchestration-api-cfn:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
orchestration-api-cloudwatch:
|
|
||||||
host: '192.168.101.80'
|
|
||||||
placement-api:
|
placement-api:
|
||||||
host: '192.168.101.80'
|
host: '192.168.101.60'
|
||||||
image:
|
image:
|
||||||
image_upload: true
|
image_upload: true
|
||||||
memcached_servers: ['127.0.0.1:11211']
|
memcached_servers: ['127.0.0.1:11211']
|
||||||
@ -168,7 +153,7 @@ provisioner:
|
|||||||
vni_ranges: '65537:69999'
|
vni_ranges: '65537:69999'
|
||||||
vxlan_group: '239.1.1.40'
|
vxlan_group: '239.1.1.40'
|
||||||
transport_url:
|
transport_url:
|
||||||
rabbit_host: '192.168.101.80'
|
rabbit_host: '192.168.101.60'
|
||||||
tun_network_bridge_interface: 'eth2'
|
tun_network_bridge_interface: 'eth2'
|
||||||
secret:
|
secret:
|
||||||
key_path: /tmp/kitchen/encrypted_data_bag_secret
|
key_path: /tmp/kitchen/encrypted_data_bag_secret
|
||||||
@ -187,29 +172,7 @@ platforms:
|
|||||||
- name: centos-7.4
|
- name: centos-7.4
|
||||||
|
|
||||||
suites:
|
suites:
|
||||||
- name: network
|
- name: compute1
|
||||||
customize:
|
|
||||||
cpus: 2
|
|
||||||
memory: 2048
|
|
||||||
driver:
|
|
||||||
network:
|
|
||||||
- ["private_network", {ip: "192.168.100.70"}]
|
|
||||||
- ["private_network", {ip: "192.168.101.70"}]
|
|
||||||
run_list:
|
|
||||||
- recipe[openstack-common]
|
|
||||||
- recipe[openstack-common::logging]
|
|
||||||
- recipe[openstack-common::sysctl]
|
|
||||||
- recipe[openstack-common::python]
|
|
||||||
- recipe[openstack-network::plugin_config]
|
|
||||||
- recipe[openstack-network::ml2_openvswitch]
|
|
||||||
- recipe[openstack-network]
|
|
||||||
- recipe[openstack-network::openvswitch]
|
|
||||||
- recipe[openstack-network::_bridge_config_example]
|
|
||||||
- recipe[openstack-network::l3_agent]
|
|
||||||
- recipe[openstack-network::dhcp_agent]
|
|
||||||
- recipe[openstack-network::metadata_agent]
|
|
||||||
- recipe[openstack-network::openvswitch_agent]
|
|
||||||
- name: compute
|
|
||||||
customize:
|
customize:
|
||||||
cpus: 2
|
cpus: 2
|
||||||
memory: 2048
|
memory: 2048
|
||||||
@ -223,14 +186,28 @@ suites:
|
|||||||
- recipe[openstack-common::sysctl]
|
- recipe[openstack-common::sysctl]
|
||||||
- recipe[openstack-common::python]
|
- recipe[openstack-common::python]
|
||||||
- recipe[openstack-compute::compute]
|
- recipe[openstack-compute::compute]
|
||||||
|
- name: compute2
|
||||||
|
customize:
|
||||||
|
cpus: 2
|
||||||
|
memory: 2048
|
||||||
|
driver:
|
||||||
|
network:
|
||||||
|
- ["private_network", {ip: "192.168.100.62"}]
|
||||||
|
- ["private_network", {ip: "192.168.101.62"}]
|
||||||
|
run_list:
|
||||||
|
- recipe[openstack-common]
|
||||||
|
- recipe[openstack-common::logging]
|
||||||
|
- recipe[openstack-common::sysctl]
|
||||||
|
- recipe[openstack-common::python]
|
||||||
|
- recipe[openstack-compute::compute]
|
||||||
- name: controller
|
- name: controller
|
||||||
customize:
|
customize:
|
||||||
cpus: 4
|
cpus: 4
|
||||||
memory: 4096
|
memory: 8192
|
||||||
driver:
|
driver:
|
||||||
network:
|
network:
|
||||||
- ["private_network", {ip: "192.168.100.80"}]
|
- ["private_network", {ip: "192.168.100.60"}]
|
||||||
- ["private_network", {ip: "192.168.101.80"}]
|
- ["private_network", {ip: "192.168.101.60"}]
|
||||||
run_list:
|
run_list:
|
||||||
# run_list taken from roles/multinode-controller.json
|
# run_list taken from roles/multinode-controller.json
|
||||||
- recipe[openstack-common]
|
- recipe[openstack-common]
|
||||||
@ -248,9 +225,15 @@ suites:
|
|||||||
- recipe[openstack-image::api]
|
- recipe[openstack-image::api]
|
||||||
- recipe[openstack-image::registry]
|
- recipe[openstack-image::registry]
|
||||||
- recipe[openstack-image::identity_registration]
|
- recipe[openstack-image::identity_registration]
|
||||||
|
- recipe[openstack-network::plugin_config]
|
||||||
|
- recipe[openstack-network::ml2_openvswitch]
|
||||||
- recipe[openstack-network]
|
- recipe[openstack-network]
|
||||||
- recipe[openstack-network::ml2_core_plugin]
|
|
||||||
- recipe[openstack-network::openvswitch]
|
- recipe[openstack-network::openvswitch]
|
||||||
|
- recipe[openstack-network::_bridge_config_example]
|
||||||
|
- recipe[openstack-network::l3_agent]
|
||||||
|
- recipe[openstack-network::dhcp_agent]
|
||||||
|
- recipe[openstack-network::metadata_agent]
|
||||||
|
- recipe[openstack-network::openvswitch_agent]
|
||||||
- recipe[openstack-compute::nova-setup]
|
- recipe[openstack-compute::nova-setup]
|
||||||
- recipe[openstack-compute::identity_registration]
|
- recipe[openstack-compute::identity_registration]
|
||||||
- recipe[openstack-compute::conductor]
|
- recipe[openstack-compute::conductor]
|
||||||
@ -271,7 +254,6 @@ suites:
|
|||||||
- recipe[openstack-orchestration::engine]
|
- recipe[openstack-orchestration::engine]
|
||||||
- recipe[openstack-orchestration::api]
|
- recipe[openstack-orchestration::api]
|
||||||
- recipe[openstack-orchestration::api-cfn]
|
- recipe[openstack-orchestration::api-cfn]
|
||||||
- recipe[openstack-orchestration::api-cloudwatch]
|
|
||||||
- recipe[openstack-orchestration::identity_registration]
|
- recipe[openstack-orchestration::identity_registration]
|
||||||
- recipe[openstack-image::image_upload]
|
- recipe[openstack-image::image_upload]
|
||||||
- recipe[openstack-dashboard::horizon]
|
- recipe[openstack-dashboard::horizon]
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
driver:
|
driver:
|
||||||
name: vagrant
|
name: vagrant
|
||||||
customize:
|
customize:
|
||||||
memory: 12000
|
cpus: 4
|
||||||
|
memory: 8192
|
||||||
|
|
||||||
client_rb:
|
client_rb:
|
||||||
treat_deprecation_warnings_as_errors: true
|
treat_deprecation_warnings_as_errors: true
|
||||||
@ -15,7 +16,8 @@ provisioner:
|
|||||||
# For example:
|
# For example:
|
||||||
# always_update_cookbooks: <%= !ENV['CI'] %>
|
# always_update_cookbooks: <%= !ENV['CI'] %>
|
||||||
always_update_cookbooks: true
|
always_update_cookbooks: true
|
||||||
require_chef_omnibus: '13.6.4' # workaround for chef/chef#6784
|
product_name: chef
|
||||||
|
product_version: 13
|
||||||
# Copy secret to /tmp/kitchen on test VM. Kitchen tries to gather secrets
|
# Copy secret to /tmp/kitchen on test VM. Kitchen tries to gather secrets
|
||||||
# before any recipes had a chance to run -> we cannot use a recipe to put the
|
# before any recipes had a chance to run -> we cannot use a recipe to put the
|
||||||
# secrets file in place.
|
# secrets file in place.
|
||||||
@ -78,7 +80,6 @@ suites:
|
|||||||
- recipe[openstack-orchestration::engine]
|
- recipe[openstack-orchestration::engine]
|
||||||
- recipe[openstack-orchestration::api]
|
- recipe[openstack-orchestration::api]
|
||||||
- recipe[openstack-orchestration::api-cfn]
|
- recipe[openstack-orchestration::api-cfn]
|
||||||
- recipe[openstack-orchestration::api-cloudwatch]
|
|
||||||
- recipe[openstack-orchestration::identity_registration]
|
- recipe[openstack-orchestration::identity_registration]
|
||||||
- recipe[openstack-image::image_upload]
|
- recipe[openstack-image::image_upload]
|
||||||
- recipe[openstack-dashboard::horizon]
|
- recipe[openstack-dashboard::horizon]
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
"compute-novnc": { "host": "192.168.101.60" },
|
"compute-novnc": { "host": "192.168.101.60" },
|
||||||
"orchestration-api": { "host": "192.168.101.60" },
|
"orchestration-api": { "host": "192.168.101.60" },
|
||||||
"orchestration-api-cfn": { "host": "192.168.101.60" },
|
"orchestration-api-cfn": { "host": "192.168.101.60" },
|
||||||
"orchestration-api-cloudwatch": { "host": "192.168.101.60" },
|
|
||||||
"placement-api": { "host": "192.168.101.60" }
|
"placement-api": { "host": "192.168.101.60" }
|
||||||
},
|
},
|
||||||
"internal": {
|
"internal": {
|
||||||
@ -53,7 +52,6 @@
|
|||||||
"compute-novnc": { "host": "192.168.101.60" },
|
"compute-novnc": { "host": "192.168.101.60" },
|
||||||
"orchestration-api": { "host": "192.168.101.60" },
|
"orchestration-api": { "host": "192.168.101.60" },
|
||||||
"orchestration-api-cfn": { "host": "192.168.101.60" },
|
"orchestration-api-cfn": { "host": "192.168.101.60" },
|
||||||
"orchestration-api-cloudwatch": { "host": "192.168.101.60" },
|
|
||||||
"placement-api": { "host": "192.168.101.60" }
|
"placement-api": { "host": "192.168.101.60" }
|
||||||
},
|
},
|
||||||
"public": {
|
"public": {
|
||||||
@ -67,7 +65,6 @@
|
|||||||
"compute-novnc": { "host": "192.168.101.60" },
|
"compute-novnc": { "host": "192.168.101.60" },
|
||||||
"orchestration-api": { "host": "192.168.101.60" },
|
"orchestration-api": { "host": "192.168.101.60" },
|
||||||
"orchestration-api-cfn": { "host": "192.168.101.60" },
|
"orchestration-api-cfn": { "host": "192.168.101.60" },
|
||||||
"orchestration-api-cloudwatch": { "host": "192.168.101.60" },
|
|
||||||
"placement-api": { "host": "192.168.101.60" }
|
"placement-api": { "host": "192.168.101.60" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -90,7 +87,6 @@
|
|||||||
"compute-novnc": { "host": "0.0.0.0" },
|
"compute-novnc": { "host": "0.0.0.0" },
|
||||||
"orchestration-api": { "host": "0.0.0.0" },
|
"orchestration-api": { "host": "0.0.0.0" },
|
||||||
"orchestration-api-cfn": { "host": "0.0.0.0" },
|
"orchestration-api-cfn": { "host": "0.0.0.0" },
|
||||||
"orchestration-api-cloudwatch": { "host": "0.0.0.0" },
|
|
||||||
"placement-api": { "host": "0.0.0.0" }
|
"placement-api": { "host": "0.0.0.0" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
"recipe[openstack-orchestration::engine]",
|
"recipe[openstack-orchestration::engine]",
|
||||||
"recipe[openstack-orchestration::api]",
|
"recipe[openstack-orchestration::api]",
|
||||||
"recipe[openstack-orchestration::api-cfn]",
|
"recipe[openstack-orchestration::api-cfn]",
|
||||||
"recipe[openstack-orchestration::api-cloudwatch]",
|
|
||||||
"recipe[openstack-orchestration::identity_registration]",
|
"recipe[openstack-orchestration::identity_registration]",
|
||||||
"recipe[openstack-image::image_upload]",
|
"recipe[openstack-image::image_upload]",
|
||||||
"recipe[openstack-dashboard::horizon]",
|
"recipe[openstack-dashboard::horizon]",
|
||||||
|
Loading…
Reference in New Issue
Block a user