Merge "Add test for ironic tasks ensurability"
This commit is contained in:
commit
b4ba7a3af1
@ -0,0 +1,427 @@
|
||||
access:
|
||||
email:
|
||||
type: text
|
||||
value: admin_upd@localhost
|
||||
password:
|
||||
type: password
|
||||
value: admin
|
||||
tenant:
|
||||
type: text
|
||||
value: admin
|
||||
user:
|
||||
type: text
|
||||
value: admin
|
||||
additional_components:
|
||||
ceilometer:
|
||||
type: checkbox
|
||||
value: false
|
||||
heat:
|
||||
type: hidden
|
||||
value: false
|
||||
ironic:
|
||||
type: checkbox
|
||||
value: true
|
||||
mongo:
|
||||
type: checkbox
|
||||
value: false
|
||||
murano:
|
||||
type: checkbox
|
||||
value: false
|
||||
murano-cfapi:
|
||||
type: checkbox
|
||||
value: false
|
||||
sahara:
|
||||
type: checkbox
|
||||
value: false
|
||||
common:
|
||||
auth_key:
|
||||
type: hidden
|
||||
value: ''
|
||||
auto_assign_floating_ip:
|
||||
type: checkbox
|
||||
value: true
|
||||
debug:
|
||||
type: checkbox
|
||||
value: false
|
||||
libvirt_type:
|
||||
type: radio
|
||||
value: qemu
|
||||
nova_quota:
|
||||
type: checkbox
|
||||
value: true
|
||||
propagate_task_deploy:
|
||||
type: hidden
|
||||
value: false
|
||||
puppet_debug:
|
||||
type: checkbox
|
||||
value: false
|
||||
resume_guests_state_on_host_boot:
|
||||
type: checkbox
|
||||
value: false
|
||||
task_deploy:
|
||||
type: hidden
|
||||
value: true
|
||||
use_cow_images:
|
||||
type: checkbox
|
||||
value: true
|
||||
use_vcenter:
|
||||
type: hidden
|
||||
value: false
|
||||
corosync:
|
||||
group:
|
||||
type: text
|
||||
value: 226.94.1.1
|
||||
port:
|
||||
type: text
|
||||
value: '12000'
|
||||
verified:
|
||||
type: checkbox
|
||||
value: false
|
||||
external_mongo:
|
||||
hosts_ip:
|
||||
type: text
|
||||
value: ''
|
||||
mongo_db_name:
|
||||
type: text
|
||||
value: ceilometer
|
||||
mongo_password:
|
||||
type: password
|
||||
value: ceilometer
|
||||
mongo_replset:
|
||||
type: text
|
||||
value: ''
|
||||
mongo_user:
|
||||
type: text
|
||||
value: ceilometer
|
||||
kernel_params:
|
||||
kernel:
|
||||
type: text
|
||||
value: console=tty0 net.ifnames=0 biosdevname=0 rootdelay=90 nomodeset
|
||||
murano_settings:
|
||||
murano_glance_artifacts_plugin:
|
||||
type: checkbox
|
||||
value: false
|
||||
murano_repo_url:
|
||||
type: text
|
||||
value: http://storage.apps.openstack.org/
|
||||
neutron_advanced_configuration:
|
||||
neutron_dvr:
|
||||
type: checkbox
|
||||
value: false
|
||||
neutron_l2_pop:
|
||||
type: checkbox
|
||||
value: false
|
||||
neutron_l3_ha:
|
||||
type: checkbox
|
||||
value: false
|
||||
neutron_qos:
|
||||
type: checkbox
|
||||
value: false
|
||||
operator_user:
|
||||
authkeys:
|
||||
type: textarea
|
||||
value: ''
|
||||
homedir:
|
||||
type: text
|
||||
value: /home/fueladmin
|
||||
name:
|
||||
type: text
|
||||
value: fueladmin
|
||||
password:
|
||||
type: password
|
||||
value: xalFdhQSGrB7xgdPrPiM3vZm
|
||||
sudo:
|
||||
type: textarea
|
||||
value: 'ALL=(ALL) NOPASSWD: ALL'
|
||||
provision:
|
||||
method:
|
||||
type: hidden
|
||||
value: image
|
||||
packages:
|
||||
type: textarea
|
||||
value: 'acl
|
||||
|
||||
anacron
|
||||
|
||||
bash-completion
|
||||
|
||||
bridge-utils
|
||||
|
||||
bsdmainutils
|
||||
|
||||
build-essential
|
||||
|
||||
cloud-init
|
||||
|
||||
curl
|
||||
|
||||
daemonize
|
||||
|
||||
debconf-utils
|
||||
|
||||
gdisk
|
||||
|
||||
grub-pc
|
||||
|
||||
hpsa-dkms
|
||||
|
||||
hwloc
|
||||
|
||||
i40e-dkms
|
||||
|
||||
linux-firmware
|
||||
|
||||
linux-firmware-nonfree
|
||||
|
||||
linux-headers-generic-lts-trusty
|
||||
|
||||
linux-image-generic-lts-trusty
|
||||
|
||||
lvm2
|
||||
|
||||
mcollective
|
||||
|
||||
mdadm
|
||||
|
||||
multipath-tools
|
||||
|
||||
multipath-tools-boot
|
||||
|
||||
nailgun-agent
|
||||
|
||||
nailgun-mcagents
|
||||
|
||||
network-checker
|
||||
|
||||
ntp
|
||||
|
||||
openssh-client
|
||||
|
||||
openssh-server
|
||||
|
||||
puppet
|
||||
|
||||
python-amqp
|
||||
|
||||
ruby-augeas
|
||||
|
||||
ruby-ipaddress
|
||||
|
||||
ruby-json
|
||||
|
||||
ruby-netaddr
|
||||
|
||||
ruby-openstack
|
||||
|
||||
ruby-shadow
|
||||
|
||||
ruby-stomp
|
||||
|
||||
telnet
|
||||
|
||||
ubuntu-minimal
|
||||
|
||||
ubuntu-standard
|
||||
|
||||
uuid-runtime
|
||||
|
||||
vim
|
||||
|
||||
virt-what
|
||||
|
||||
vlan
|
||||
|
||||
'
|
||||
public_network_assignment:
|
||||
assign_to_all_nodes:
|
||||
type: checkbox
|
||||
value: false
|
||||
public_ssl:
|
||||
cert_data:
|
||||
type: file
|
||||
value:
|
||||
content: '-----BEGIN CERTIFICATE-----
|
||||
|
||||
MIIC7TCCAdUCAgPoMA0GCSqGSIb3DQEBBQUAMDwxHjAcBgNVBAsMFU1pcmFudGlz
|
||||
|
||||
IEZ1ZWwtUUEgVGVhbTEaMBgGA1UEAwwRcHVibGljLmZ1ZWwubG9jYWwwHhcNMTYw
|
||||
|
||||
NDE5MTkxMTU1WhcNMjYwNDE3MTkxMTU1WjA8MR4wHAYDVQQLDBVNaXJhbnRpcyBG
|
||||
|
||||
dWVsLVFBIFRlYW0xGjAYBgNVBAMMEXB1YmxpYy5mdWVsLmxvY2FsMIIBIjANBgkq
|
||||
|
||||
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoZBouZH+0S1jPYy+FxvNAkdGxsNVzsOI
|
||||
|
||||
g7OybWx+DIskdRvONwrCFFtvP2InKJowPCebGcCqDqGF2zgFLmA9yQN/05A9f8bX
|
||||
|
||||
hFrtjfNb/YYJxDE4itSYNgSzSfnitii7AJme9UBw94s0p3749irGTB++ZhcPzwdg
|
||||
|
||||
Nx0Ymk2uFFNU18YxSx8PAk2w73a36t61E0P++MT6sYIM1GAx+9pm9Ddrj5r0b/M7
|
||||
|
||||
ikHGIUuB7M6t3mNHUveld+ZyXjaONMHZI5WQ16AMZwtHunUu/42k+o6RSS4h+zT8
|
||||
|
||||
ZiWW5cxZVLn6xqJkDkXMDdsS7PrveSuODq3LuaG4fwRpf1u2hqvyuwIDAQABMA0G
|
||||
|
||||
CSqGSIb3DQEBBQUAA4IBAQBfAjtVxKItKMFAQl/EufHjk4rBpRiaHGLH2CIJHWJ1
|
||||
|
||||
i+z7gI5XazzwMCprOxsCUrJUpr8ChobenyebNPJSnDI0R0z8ZTX6kTNk7A2ZFVrp
|
||||
|
||||
lL5TlpwhdtUjWxF3Coi+w694MbyLmJ4pA6QZTYVqSilZZ1cncLNA+Fc97STfLukK
|
||||
|
||||
wqjwCYovRVjUn4jLRjy2kcw89060xxZopVpkY9cPfg0P+PICo/eS4EunQ5rd/EDV
|
||||
|
||||
7DBfCbzthArBjF8/72J8PYhqwEc+i5PDkn2CNIXoT0coxC9YAHJ+zFHgxHnKa0/q
|
||||
|
||||
TPlvi+wJKrrSnXb5Oc34tVOxDF/WQjNuve8vHg7hvaIM
|
||||
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
|
||||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQChkGi5kf7RLWM9
|
||||
|
||||
jL4XG80CR0bGw1XOw4iDs7JtbH4MiyR1G843CsIUW28/YicomjA8J5sZwKoOoYXb
|
||||
|
||||
OAUuYD3JA3/TkD1/xteEWu2N81v9hgnEMTiK1Jg2BLNJ+eK2KLsAmZ71QHD3izSn
|
||||
|
||||
fvj2KsZMH75mFw/PB2A3HRiaTa4UU1TXxjFLHw8CTbDvdrfq3rUTQ/74xPqxggzU
|
||||
|
||||
YDH72mb0N2uPmvRv8zuKQcYhS4Hszq3eY0dS96V35nJeNo40wdkjlZDXoAxnC0e6
|
||||
|
||||
dS7/jaT6jpFJLiH7NPxmJZblzFlUufrGomQORcwN2xLs+u95K44Orcu5obh/BGl/
|
||||
|
||||
W7aGq/K7AgMBAAECggEAI6RyFg5JQuhabmewP/TYI1qKGKtbMMQeR7/K6yz2GdpQ
|
||||
|
||||
bq11rtrmugr53efPb7ukTIEITIQegB/OIfCX5AVDXCczef7mMlwxi3dr1NcNQj7h
|
||||
|
||||
xLB/ItGHytL6oqVICJuvtZAuaziOM244bYMrdVM2b/DI1kjcKfYcmcwHc3MTplPq
|
||||
|
||||
Nh+L5u2ue6bYvT+XRF4KrwuKmKuyJghyMeoiLI9JupkKw79ZB/l0Mh8vmxKMPj8g
|
||||
|
||||
MNxoJbwoTkjQxuJELmet+ysBg2KT+gJEirfRmZiouDxx8Zukd8O6YvnlsOiRFokX
|
||||
|
||||
05r33fna1z5IBpGnwe+rn6pQaeXflSd6dqotoBp4QQKBgQDLrhAdsZnDXDpYuOv+
|
||||
|
||||
ITMpc33J4NW7yE+26ebzWkLYRUW5i7YDCtJdFi5pHCeA3+QD3RlYiinQlzcy3i3R
|
||||
|
||||
4Uv4riuKyDbgaw9sYOhmgluhPKDuznEWXomloEVu8jFrHg3TKY2v/GCcv99N5grQ
|
||||
|
||||
Jg9rScFpZXkTj23KzqHf23uTEQKBgQDLENH7QzoNsBv6eS7kElBx3BQWNa0dhXab
|
||||
|
||||
kRXo62/++tIDGMkzaq38hsjcAZi8uZDZY0QJTmBMdZN3LLBln5C2g8Y6Eym5ITvf
|
||||
|
||||
pxkMUK0++MygbK/Vwmp+xu7XMiPNMG/E8NqQkca3F/6Ld08PAauZ8gpgoAsnjlNg
|
||||
|
||||
pPUdWRCRCwKBgEiEB17bDXidjHRsGjFXVqTKZp2Ke+4oaiEgc8Zue2AOgb2GvV2l
|
||||
|
||||
67GSpSFtEa9zhvXNMSnxvuNyAwgMTFnuEaNPN1do4wjRdSNL+VIN1Vu5fz6mp2Kk
|
||||
|
||||
c/NQ9YeDmQ6fG6Lzp2thum/0bCeK4IytEE5NaxwAMbRCG3/aQ4200fFRAoGAMwg5
|
||||
|
||||
HSIZ9tKpVVsbE6oemV6rlaFLrj2aPyJJFU4FyViTar/R4KAQtYPR+qhUECm6Y0d1
|
||||
|
||||
E7mkrdJmiu6qLf/ZyGR5bqLeO25Es8I0o0mrIEY6dp6Z2eiQBuhLob0yDiD8FcxJ
|
||||
|
||||
wUdBX0YibD5Bmg3baEbRoNLXussj3QfXqdZ2OV0CgYEAyovcXc1ibwrwNO59yw99
|
||||
|
||||
7zCoMFjXzZgtxn5JQDwMsdt9UKd/4nOPbbiRPL3ynr5zboDZzRxihXB5zzKjrYlE
|
||||
|
||||
o4QZIWV0VgGS2eQSni3CGOsG4VhE4/9EFF7UqeA0hYkGAZMS+EKSdPpIujStD/ck
|
||||
|
||||
sQ/BZiYxMSE8+synlzp3gss=
|
||||
|
||||
-----END PRIVATE KEY-----
|
||||
|
||||
'
|
||||
name: ca.pem
|
||||
cert_source:
|
||||
type: radio
|
||||
value: user_uploaded
|
||||
horizon:
|
||||
type: checkbox
|
||||
value: false
|
||||
hostname:
|
||||
type: text
|
||||
value: public.fuel.local
|
||||
services:
|
||||
type: checkbox
|
||||
value: false
|
||||
service_user:
|
||||
homedir:
|
||||
type: hidden
|
||||
value: /var/lib/fuel
|
||||
name:
|
||||
type: hidden
|
||||
value: fuel
|
||||
password:
|
||||
type: hidden
|
||||
value: WEwz5aKA0hYDrcERjX7irQzS
|
||||
root_password:
|
||||
type: hidden
|
||||
value: r00tme
|
||||
sudo:
|
||||
type: hidden
|
||||
value: 'ALL=(ALL) NOPASSWD: ALL'
|
||||
storage:
|
||||
admin_key:
|
||||
type: hidden
|
||||
value: AQDzghZXAAAAABAA7obspvgNjPa/HBWSOUzI1w==
|
||||
bootstrap_osd_key:
|
||||
type: hidden
|
||||
value: AQDzghZXAAAAABAAWaiWslWwse+hsaKLzbtQFw==
|
||||
ephemeral_ceph:
|
||||
type: checkbox
|
||||
value: false
|
||||
fsid:
|
||||
type: hidden
|
||||
value: 4b0ab6f5-b82b-44e4-ac3a-15c76f960b82
|
||||
images_ceph:
|
||||
type: checkbox
|
||||
value: false
|
||||
images_vcenter:
|
||||
type: checkbox
|
||||
value: false
|
||||
mon_key:
|
||||
type: hidden
|
||||
value: AQDzghZXAAAAABAAVi1udBHvkQbZbDgNnT7gXA==
|
||||
objects_ceph:
|
||||
type: checkbox
|
||||
value: false
|
||||
osd_pool_size:
|
||||
type: text
|
||||
value: '3'
|
||||
radosgw_key:
|
||||
type: hidden
|
||||
value: AQDzghZXAAAAABAA8jY8KftsCK4l726rNdu/Zg==
|
||||
volumes_block_device:
|
||||
type: checkbox
|
||||
value: true
|
||||
volumes_ceph:
|
||||
type: checkbox
|
||||
value: false
|
||||
volumes_lvm:
|
||||
type: checkbox
|
||||
value: false
|
||||
syslog:
|
||||
syslog_port:
|
||||
type: text
|
||||
value: '514'
|
||||
syslog_server:
|
||||
type: text
|
||||
value: ''
|
||||
syslog_transport:
|
||||
type: radio
|
||||
value: tcp
|
||||
workloads_collector:
|
||||
enabled:
|
||||
type: hidden
|
||||
value: false
|
||||
password:
|
||||
type: password
|
||||
value: 8qtWdXhhY84wFoxwBbZcpq3P
|
||||
tenant:
|
||||
type: text
|
||||
value: services
|
||||
user:
|
||||
type: text
|
||||
value: fuel_stats_user
|
@ -0,0 +1,94 @@
|
||||
tasks:
|
||||
- update_hosts:
|
||||
resources: []
|
||||
- openstack-network-start:
|
||||
type: skipped
|
||||
- openstack-network-common-config:
|
||||
resources: []
|
||||
- clear_nodes_info:
|
||||
type: skipped
|
||||
- openstack-network-agents-sriov:
|
||||
resources: []
|
||||
- override_configuration:
|
||||
resources: []
|
||||
- globals:
|
||||
resources: []
|
||||
- fuel_pkgs:
|
||||
resources: []
|
||||
- openstack-network-agents-l3:
|
||||
resources: []
|
||||
- openstack-network-agents-metadata:
|
||||
resources: []
|
||||
- tools:
|
||||
resources: []
|
||||
- rsync_core_puppet:
|
||||
type: sync
|
||||
- enable_nova_compute_service:
|
||||
resources: []
|
||||
- cgroups:
|
||||
resources: []
|
||||
- upload_nodes_info:
|
||||
type: skipped
|
||||
- copy_keys:
|
||||
type: copy_files
|
||||
- copy_deleted_nodes:
|
||||
type: copy_files
|
||||
- setup_repositories:
|
||||
resources: []
|
||||
- dns-client:
|
||||
resources: []
|
||||
- openstack-network-plugins-l2:
|
||||
resources: []
|
||||
- allocate_hugepages:
|
||||
resources: []
|
||||
- plugins_setup_repositories:
|
||||
no_puppet_run: true
|
||||
- ceph-compute:
|
||||
no_puppet_run: true
|
||||
- ssl-keys-saving:
|
||||
no_puppet_run: true
|
||||
- sriov_iommu_check:
|
||||
resources:
|
||||
- Exec[sriov_iommu_check]
|
||||
- openstack-network-end:
|
||||
type: skipped
|
||||
- copy_keys_ceph:
|
||||
type: copy_files
|
||||
- upload_configuration:
|
||||
type: upload_file
|
||||
- firewall:
|
||||
resources: []
|
||||
- logging:
|
||||
resources: []
|
||||
- top-role-compute:
|
||||
resources:
|
||||
- Notify[Module openstack_tasks cannot notify service nova-compute on packages
|
||||
update]
|
||||
- Nova_config[DEFAULT/resume_guests_state_on_host_boot]
|
||||
- Nova_config[vnc/novncproxy_base_url]
|
||||
- Nova_config[DEFAULT/vcpu_pin_set]
|
||||
- Service[nova-compute]
|
||||
- sync_time:
|
||||
type: shell
|
||||
- openstack-network-compute-nova:
|
||||
resources:
|
||||
- Exec[undefine_libvirt_default_network]
|
||||
- plugins_rsync:
|
||||
no_puppet_run: true
|
||||
- connectivity_tests:
|
||||
resources: []
|
||||
- configuration_symlink:
|
||||
type: shell
|
||||
- ceilometer-compute:
|
||||
resources:
|
||||
- Exec[configuration_symlink_shell]
|
||||
- hosts:
|
||||
resources: []
|
||||
- copy_haproxy_keys:
|
||||
type: copy_files
|
||||
- ntp-client:
|
||||
resources: []
|
||||
- ssl-add-trust-chain:
|
||||
no_puppet_run: true
|
||||
- reserved_ports:
|
||||
resources: []
|
@ -0,0 +1,339 @@
|
||||
tasks:
|
||||
- ironic_post_swift_key:
|
||||
type: shell
|
||||
- openstack-haproxy-mysqld:
|
||||
resources: []
|
||||
- cinder-db:
|
||||
resources: []
|
||||
- dump_rabbitmq_definitions:
|
||||
resources:
|
||||
- Dump_rabbitmq_definitions[/etc/rabbitmq/definitions.full]
|
||||
- rsync_core_puppet:
|
||||
type: sync
|
||||
- ssl-dns-setup:
|
||||
resources:
|
||||
- Exec[rsync_core_puppet_shell]
|
||||
- ceilometer-controller:
|
||||
no_puppet_run: true
|
||||
- override_configuration:
|
||||
resources: []
|
||||
- ceilometer-keystone:
|
||||
no_puppet_run: true
|
||||
- nova-db:
|
||||
resources: []
|
||||
- workloads_collector_add:
|
||||
resources: []
|
||||
- primary-openstack-network-plugins-l2:
|
||||
resources: []
|
||||
- radosgw-keystone:
|
||||
resources: []
|
||||
- virtual_ips:
|
||||
resources: []
|
||||
- primary-dns-server:
|
||||
resources: []
|
||||
- openstack-haproxy-murano:
|
||||
no_puppet_run: true
|
||||
- openstack-network-end:
|
||||
type: skipped
|
||||
- openstack-haproxy-radosgw:
|
||||
resources: []
|
||||
- openstack-haproxy-swift:
|
||||
resources: []
|
||||
- heat-db:
|
||||
resources: []
|
||||
- openstack-haproxy-neutron:
|
||||
resources: []
|
||||
- updatedb:
|
||||
no_puppet_run: true
|
||||
- ironic-db:
|
||||
resources: []
|
||||
- plugins_rsync:
|
||||
no_puppet_run: true
|
||||
- ceilometer-radosgw-user:
|
||||
no_puppet_run: true
|
||||
- openstack-haproxy-keystone:
|
||||
resources: []
|
||||
- hosts:
|
||||
resources: []
|
||||
- primary-rabbitmq:
|
||||
resources: []
|
||||
- primary-cluster-haproxy:
|
||||
resources: []
|
||||
- openstack-network-routers:
|
||||
resources: []
|
||||
- reserved_ports:
|
||||
resources: []
|
||||
- controller_remaining_tasks:
|
||||
resources: []
|
||||
- glance-keystone:
|
||||
resources: []
|
||||
- openstack-haproxy-aodh:
|
||||
resources: []
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
resources: []
|
||||
- primary-openstack-network-agents-metadata:
|
||||
resources: []
|
||||
- cinder-keystone:
|
||||
resources: []
|
||||
- copy_keys:
|
||||
type: copy_files
|
||||
- enable_rados:
|
||||
no_puppet_run: true
|
||||
- ntp-check:
|
||||
resources: []
|
||||
- aodh-db:
|
||||
no_puppet_run: true
|
||||
- disable_keystone_service_token:
|
||||
no_puppet_run: true
|
||||
- umm:
|
||||
resources: []
|
||||
- memcached:
|
||||
resources: []
|
||||
- allocate_hugepages:
|
||||
resources: []
|
||||
- openrc-delete:
|
||||
resources:
|
||||
- File[/root/openrc]
|
||||
- plugins_setup_repositories:
|
||||
no_puppet_run: true
|
||||
- sahara-keystone:
|
||||
no_puppet_run: true
|
||||
- openstack-haproxy-sahara:
|
||||
no_puppet_run: true
|
||||
- ssl-keys-saving:
|
||||
no_puppet_run: true
|
||||
- primary-cluster:
|
||||
resources: []
|
||||
- upload_cirros:
|
||||
type: shell
|
||||
- primary-keystone:
|
||||
resources:
|
||||
- File[/root/openrc]
|
||||
- primary-openstack-network-agents-l3:
|
||||
resources: []
|
||||
- upload_configuration:
|
||||
type: upload_file
|
||||
- create-cinder-types:
|
||||
resources: []
|
||||
- neutron-keystone:
|
||||
resources:
|
||||
- Keystone_endpoint[RegionOne/neutron::network]
|
||||
- logging:
|
||||
resources: []
|
||||
- nova-keystone:
|
||||
resources:
|
||||
- Keystone_endpoint[RegionOne/nova::compute]
|
||||
- Keystone_endpoint[RegionOne/compute_legacy::compute_legacy]
|
||||
- update_hosts:
|
||||
resources: []
|
||||
- ironic-keystone:
|
||||
resources:
|
||||
- Keystone_endpoint[RegionOne/ironic::baremetal]
|
||||
- connectivity_tests:
|
||||
resources: []
|
||||
- primary-heat:
|
||||
resources:
|
||||
- Heat_config[keystone_authtoken/auth_uri]
|
||||
- conntrackd:
|
||||
resources: []
|
||||
- sahara-db:
|
||||
no_puppet_run: true
|
||||
- horizon:
|
||||
resources:
|
||||
- File[/var/lib/puppet/concat/_etc_openstack-dashboard_local_settings.py/fragments/50_local_settings.py]
|
||||
- File[/etc/openstack-dashboard/local_settings.py]
|
||||
- Exec[concat_/etc/openstack-dashboard/local_settings.py]
|
||||
- openstack-haproxy-ceilometer:
|
||||
no_puppet_run: true
|
||||
- openstack-network-common-config:
|
||||
resources: []
|
||||
- firewall:
|
||||
resources: []
|
||||
- apache:
|
||||
resources: []
|
||||
- globals:
|
||||
resources:
|
||||
- File[/etc/hiera/globals.yaml]
|
||||
- aodh-keystone:
|
||||
no_puppet_run: true
|
||||
- glance:
|
||||
resources:
|
||||
- Glance_glare_config[DEFAULT/default_log_levels]
|
||||
- Glance_registry_config[DEFAULT/default_log_levels]
|
||||
- Glance_api_config[DEFAULT/default_log_levels]
|
||||
- Glance_cache_config[DEFAULT/debug]
|
||||
- Glance_api_config[DEFAULT/debug]
|
||||
- Glance_glare_config[DEFAULT/debug]
|
||||
- Glance_registry_config[DEFAULT/debug]
|
||||
- tools:
|
||||
resources: []
|
||||
- openstack-haproxy:
|
||||
resources: []
|
||||
- cgroups:
|
||||
resources: []
|
||||
- murano-cfapi-keystone:
|
||||
no_puppet_run: true
|
||||
- aodh:
|
||||
no_puppet_run: true
|
||||
- copy_deleted_nodes:
|
||||
type: copy_files
|
||||
- openstack-haproxy-ironic:
|
||||
resources:
|
||||
- File[/etc/haproxy/conf.d/180-ironic.cfg]
|
||||
- File[/var/lib/puppet/concat/_etc_haproxy_conf.d_180-ironic.cfg/fragments/00_ironic_listen_block]
|
||||
- Exec[concat_/etc/haproxy/conf.d/180-ironic.cfg]
|
||||
- setup_repositories:
|
||||
resources: []
|
||||
- openstack-network-routers-ha:
|
||||
no_puppet_run: true
|
||||
- upload_murano_package:
|
||||
no_puppet_run: true
|
||||
- glance-db:
|
||||
resources: []
|
||||
- neutron-db:
|
||||
resources: []
|
||||
- ironic_upload_images:
|
||||
type: shell
|
||||
- swift-rebalance-cron:
|
||||
resources: []
|
||||
- primary-ceph-mon:
|
||||
resources: []
|
||||
- openstack-haproxy-stats:
|
||||
resources: []
|
||||
- ironic-api:
|
||||
resources:
|
||||
- Ironic_config[DEFAULT/default_log_levels]
|
||||
- Ironic_config[DEFAULT/debug]
|
||||
- primary-ceph-radosgw:
|
||||
resources: []
|
||||
- dns-client:
|
||||
resources: []
|
||||
- cluster-vrouter:
|
||||
resources: []
|
||||
- murano-rabbitmq:
|
||||
no_puppet_run: true
|
||||
- api-proxy:
|
||||
resources: []
|
||||
- cluster_health:
|
||||
resources: []
|
||||
- heat-keystone:
|
||||
resources:
|
||||
- Keystone_endpoint[RegionOne/heat-cfn::cloudformation]
|
||||
- Keystone_endpoint[RegionOne/heat::orchestration]
|
||||
- openstack-haproxy-horizon:
|
||||
resources:
|
||||
- File[/var/lib/puppet/concat/_etc_haproxy_conf.d_015-horizon.cfg/fragments/00_horizon_listen_block]
|
||||
- File[/etc/haproxy/conf.d/015-horizon.cfg]
|
||||
- File[/var/lib/puppet/concat/_etc_haproxy_conf.d_015-horizon.cfg/fragments/01-horizon_horizon_balancermember_horizon]
|
||||
- Exec[concat_/etc/haproxy/conf.d/015-horizon.cfg]
|
||||
- openstack-network-start:
|
||||
type: skipped
|
||||
- clear_nodes_info:
|
||||
type: skipped
|
||||
- murano-db:
|
||||
no_puppet_run: true
|
||||
- copy_keys_ceph:
|
||||
type: copy_files
|
||||
- sahara:
|
||||
no_puppet_run: true
|
||||
- fuel_pkgs:
|
||||
resources: []
|
||||
- swift-keystone:
|
||||
resources:
|
||||
- Keystone_endpoint[RegionOne/swift::object-store]
|
||||
- Keystone_endpoint[RegionOne/swift_s3::s3]
|
||||
- public_vip_ping:
|
||||
resources: []
|
||||
- upload_nodes_info:
|
||||
type: skipped
|
||||
- openstack-haproxy-glance:
|
||||
resources:
|
||||
- File[/var/lib/puppet/concat/_etc_haproxy_conf.d_080-glance-api.cfg/fragments/00_glance-api_listen_block]
|
||||
- Exec[concat_/etc/haproxy/conf.d/080-glance-api.cfg]
|
||||
- File[/var/lib/puppet/concat/_etc_haproxy_conf.d_081-glance-glare.cfg/fragments/00_glance-glare_listen_block]
|
||||
- File[/etc/haproxy/conf.d/080-glance-api.cfg]
|
||||
- Exec[concat_/etc/haproxy/conf.d/081-glance-glare.cfg]
|
||||
- File[/etc/haproxy/conf.d/081-glance-glare.cfg]
|
||||
- murano:
|
||||
no_puppet_run: true
|
||||
- ceph_ready_check:
|
||||
type: shell
|
||||
- enable_quorum:
|
||||
type: shell
|
||||
- openstack-haproxy-nova:
|
||||
resources:
|
||||
- File[/etc/haproxy/conf.d/040-nova-api.cfg]
|
||||
- File[/etc/haproxy/conf.d/170-nova-novncproxy.cfg]
|
||||
- File[/var/lib/puppet/concat/_etc_haproxy_conf.d_040-nova-api.cfg/fragments/00_nova-api_listen_block]
|
||||
- Exec[concat_/etc/haproxy/conf.d/040-nova-api.cfg]
|
||||
- File[/var/lib/puppet/concat/_etc_haproxy_conf.d_170-nova-novncproxy.cfg/fragments/00_nova-novncproxy_listen_block]
|
||||
- Exec[concat_/etc/haproxy/conf.d/170-nova-novncproxy.cfg]
|
||||
- openstack-network-server-config:
|
||||
resources: []
|
||||
- primary-database:
|
||||
resources:
|
||||
- File[mysql-config-file]
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder:
|
||||
resources:
|
||||
- File[/etc/haproxy/conf.d/070-cinder-api.cfg]
|
||||
- Exec[concat_/etc/haproxy/conf.d/070-cinder-api.cfg]
|
||||
- File[/var/lib/puppet/concat/_etc_haproxy_conf.d_070-cinder-api.cfg/fragments/00_cinder-api_listen_block]
|
||||
- ntp-server:
|
||||
resources: []
|
||||
- murano-keystone:
|
||||
no_puppet_run: true
|
||||
- swift-proxy_storage:
|
||||
resources:
|
||||
- File[/var/lib/puppet/concat/_etc_swift_proxy-server.conf/fragments/00_swift_proxy]
|
||||
- File[/etc/swift/proxy-server.conf]
|
||||
- Exec[concat_/etc/swift/proxy-server.conf]
|
||||
- primary-openstack-network-agents-dhcp:
|
||||
resources:
|
||||
- Neutron_dhcp_agent_config[DEFAULT/debug]
|
||||
- openstack-haproxy-heat:
|
||||
no_puppet_run: true
|
||||
- primary-openstack-controller:
|
||||
resources:
|
||||
- Nova_config[DEFAULT/quota_driver]
|
||||
- Nova_config[database/max_retries]
|
||||
- Nova_config[DEFAULT/debug]
|
||||
- Nova_config[database/max_pool_size]
|
||||
- Nova_config[database/max_overflow]
|
||||
- Nova_config[DEFAULT/notify_on_state_change]
|
||||
- Nova_config[DEFAULT/notification_driver]
|
||||
- Nova_config[cinder/catalog_info]
|
||||
- Nova_config[database/idle_timeout]
|
||||
- Nova_config[DEFAULT/scheduler_default_filters]
|
||||
- Nova_config[DEFAULT/allow_resize_to_same_host]
|
||||
- Nova_config[DEFAULT/default_log_levels]
|
||||
- Nova_config[DEFAULT/use_stderr]
|
||||
- Nova_config[glance/api_servers]
|
||||
- openstack-cinder:
|
||||
resources:
|
||||
- Cinder_config[DEFAULT/scheduler_default_filters]
|
||||
- Cinder_config[DEFAULT/default_log_levels]
|
||||
- Cinder_config[DEFAULT/debug]
|
||||
- ceph_create_pools:
|
||||
no_puppet_run: true
|
||||
- keystone-db:
|
||||
resources:
|
||||
- File[/root/.my.cnf]
|
||||
- sync_time:
|
||||
type: shell
|
||||
- configuration_symlink:
|
||||
type: shell
|
||||
- openstack-network-server-nova:
|
||||
resources: []
|
||||
- copy_haproxy_keys:
|
||||
type: copy_files
|
||||
- openstack-network-networks:
|
||||
resources: []
|
||||
- ssl-add-trust-chain:
|
||||
no_puppet_run: true
|
@ -0,0 +1,56 @@
|
||||
tasks:
|
||||
- update_hosts:
|
||||
resources: []
|
||||
- clear_nodes_info:
|
||||
type: skipped
|
||||
- override_configuration:
|
||||
resources: []
|
||||
- globals:
|
||||
resources: []
|
||||
- fuel_pkgs:
|
||||
resources: []
|
||||
- ironic_copy_bootstrap_key:
|
||||
type: copy_files
|
||||
- rsync_core_puppet:
|
||||
type: sync
|
||||
- cgroups:
|
||||
resources: []
|
||||
- upload_nodes_info:
|
||||
type: skipped
|
||||
- copy_keys:
|
||||
type: copy_files
|
||||
- tools:
|
||||
resources: []
|
||||
- copy_deleted_nodes:
|
||||
type: copy_files
|
||||
- setup_repositories:
|
||||
resources: []
|
||||
- allocate_hugepages:
|
||||
resources: []
|
||||
- plugins_setup_repositories:
|
||||
no_puppet_run: true
|
||||
- ironic-conductor:
|
||||
resources: []
|
||||
- copy_keys_ceph:
|
||||
type: copy_files
|
||||
- upload_configuration:
|
||||
type: upload_file
|
||||
- firewall:
|
||||
resources: []
|
||||
- logging:
|
||||
resources: []
|
||||
- sync_time:
|
||||
type: shell
|
||||
- plugins_rsync:
|
||||
resources:
|
||||
- Exec[sync_time_shell]
|
||||
- connectivity_tests:
|
||||
resources: []
|
||||
- configuration_symlink:
|
||||
type: shell
|
||||
- hosts:
|
||||
resources: []
|
||||
- copy_haproxy_keys:
|
||||
type: copy_files
|
||||
- reserved_ports:
|
||||
resources: []
|
@ -0,0 +1,51 @@
|
||||
controller:
|
||||
cpu_pinning:
|
||||
dpdk:
|
||||
type: number
|
||||
value: 1
|
||||
nova:
|
||||
type: number
|
||||
value: 1
|
||||
hugepages:
|
||||
dpdk:
|
||||
type: number
|
||||
value: 128
|
||||
nova:
|
||||
type: custom_hugepages
|
||||
value:
|
||||
'1048576': 1
|
||||
'2048': 550
|
||||
ironic:
|
||||
cpu_pinning:
|
||||
dpdk:
|
||||
type: number
|
||||
value: 1
|
||||
nova:
|
||||
type: number
|
||||
value: 1
|
||||
hugepages:
|
||||
dpdk:
|
||||
type: number
|
||||
value: 128
|
||||
nova:
|
||||
type: custom_hugepages
|
||||
value:
|
||||
'1048576': 1
|
||||
'2048': 550
|
||||
compute:
|
||||
cpu_pinning:
|
||||
dpdk:
|
||||
type: number
|
||||
value: 1
|
||||
nova:
|
||||
type: number
|
||||
value: 1
|
||||
hugepages:
|
||||
dpdk:
|
||||
type: number
|
||||
value: 128
|
||||
nova:
|
||||
type: custom_hugepages
|
||||
value:
|
||||
'1048576': 1
|
||||
'2048': 550
|
@ -25,7 +25,7 @@ from fuelweb_test.tests.tests_lcm.base_lcm_test import LCMTestBasic
|
||||
from fuelweb_test.tests.tests_lcm.base_lcm_test import SetupLCMEnvironment
|
||||
|
||||
|
||||
@test(groups=['test_ensurability'])
|
||||
@test
|
||||
class TaskEnsurability(LCMTestBasic):
|
||||
"""Test suite for verification of deployment tasks ensurability."""
|
||||
|
||||
@ -218,7 +218,7 @@ class TaskEnsurability(LCMTestBasic):
|
||||
return ensurable
|
||||
|
||||
@test(depends_on=[SetupLCMEnvironment.lcm_deploy_1_ctrl_1_cmp_1_cinder],
|
||||
groups=['ensurability_1_ctrl_1_cmp_1_cinder'])
|
||||
groups=['test_ensurability', 'ensurability_1_ctrl_1_cmp_1_cinder'])
|
||||
@log_snapshot_after_test
|
||||
def ensurability_1_ctrl_1_cmp_1_cinder(self):
|
||||
"""Test ensurability for cluster with cinder
|
||||
@ -259,7 +259,7 @@ class TaskEnsurability(LCMTestBasic):
|
||||
self.env.make_snapshot('ensurability_{}'.format(deployment))
|
||||
|
||||
@test(depends_on=[SetupLCMEnvironment.lcm_deploy_1_ctrl_1_cmp_1_mongo],
|
||||
groups=['ensurability_1_ctrl_1_cmp_1_mongo'])
|
||||
groups=['test_ensurability', 'ensurability_1_ctrl_1_cmp_1_mongo'])
|
||||
@log_snapshot_after_test
|
||||
def ensurability_1_ctrl_1_cmp_1_mongo(self):
|
||||
"""Test ensurability for cluster with mongo
|
||||
@ -300,7 +300,7 @@ class TaskEnsurability(LCMTestBasic):
|
||||
self.env.make_snapshot('ensurability_{}'.format(deployment))
|
||||
|
||||
@test(depends_on=[SetupLCMEnvironment.lcm_deploy_1_ctrl_1_cmp_3_ceph],
|
||||
groups=['ensurability_1_ctrl_1_cmp_3_ceph'])
|
||||
groups=['test_ensurability', 'ensurability_1_ctrl_1_cmp_3_ceph'])
|
||||
@log_snapshot_after_test
|
||||
def ensurability_1_ctrl_1_cmp_3_ceph(self):
|
||||
"""Test ensurability for cluster with ceph
|
||||
@ -341,7 +341,8 @@ class TaskEnsurability(LCMTestBasic):
|
||||
self.env.make_snapshot('ensurability_{}'.format(deployment))
|
||||
|
||||
@test(depends_on=[SetupLCMEnvironment.lcm_deploy_3_ctrl_3_cmp_ceph_sahara],
|
||||
groups=['ensurability_3_ctrl_3_cmp_ceph_sahara'])
|
||||
groups=['test_ensurability',
|
||||
'ensurability_3_ctrl_3_cmp_ceph_sahara'])
|
||||
@log_snapshot_after_test
|
||||
def ensurability_3_ctrl_3_cmp_ceph_sahara(self):
|
||||
"""Test ensurability for cluster with Sahara, Ceilometer and Ceph
|
||||
@ -384,3 +385,46 @@ class TaskEnsurability(LCMTestBasic):
|
||||
"Please take a look at the output above!")
|
||||
|
||||
self.env.make_snapshot('ensurability_{}'.format(deployment))
|
||||
|
||||
@test(depends_on=[SetupLCMEnvironment.lcm_deploy_1_ctrl_1_cmp_1_ironic],
|
||||
groups=['ensurability_ironic',
|
||||
'ensurability_1_ctrl_1_cmp_1_ironic'])
|
||||
@log_snapshot_after_test
|
||||
def ensurability_1_ctrl_1_cmp_1_ironic(self):
|
||||
"""Test ensurability for cluster with Ironic
|
||||
|
||||
Scenario:
|
||||
1. Revert the snapshot 'lcm_deploy_1_ctrl_1_cmp_1_ironic'
|
||||
2. Check that stored setting fixtures are up to date
|
||||
3. Check that stored task fixtures are up to date
|
||||
4. Check ensurability of the tasks
|
||||
|
||||
Duration: 185m
|
||||
Snapshot: "ensurability_1_ctrl_1_cmp_1_ironic"
|
||||
"""
|
||||
self.show_step(1)
|
||||
deployment = "1_ctrl_1_cmp_1_ironic"
|
||||
self.env.revert_snapshot('lcm_deploy_{}'.format(deployment))
|
||||
|
||||
cluster_id = self.fuel_web.get_last_created_cluster()
|
||||
slave_nodes = self.fuel_web.client.list_cluster_nodes(cluster_id)
|
||||
|
||||
self.show_step(2)
|
||||
self.check_settings_consistency(deployment, cluster_id)
|
||||
|
||||
self.show_step(3)
|
||||
self.deploy_fixtures(deployment, cluster_id, slave_nodes)
|
||||
node_refs = self.check_extra_tasks(slave_nodes, deployment, idmp=False)
|
||||
if node_refs:
|
||||
self.generate_tasks_fixture(deployment, cluster_id, slave_nodes)
|
||||
msg = ('Please update ensurability fixtures in the repo '
|
||||
'according to generated fixtures')
|
||||
raise DeprecatedFixture(msg)
|
||||
|
||||
self.show_step(4)
|
||||
assert_true(
|
||||
self.check_ensurability(deployment, cluster_id, slave_nodes),
|
||||
"There are not ensurable tasks. "
|
||||
"Please take a look at the output above!")
|
||||
|
||||
self.env.make_snapshot('ensurability_{}'.format(deployment))
|
||||
|
Loading…
Reference in New Issue
Block a user