Migrate parameters to the [openstack] section

The parameters in the [benchmark] section and the [tempest] section
were deprecated and have been migrated to the [openstack] section[1].
This change updates the parameters used to define parameters under
the new section.

[1] e9539a16fe2e110d7b60a0f0dc95debf715fed36

Change-Id: I0bfabb0d2585a2093c6385325b69322b3041c022
This commit is contained in:
Takashi Kajinami 2021-11-15 21:09:03 +09:00
parent bc940b8b2b
commit 08640cf670
28 changed files with 495 additions and 321 deletions

View File

@ -36,10 +36,18 @@ class rally::settings::cinder (
include rally::deps
rally_config {
'benchmark/cinder_volume_create_poll_interval': value => $volume_create_poll_interval;
'benchmark/cinder_volume_create_prepoll_delay': value => $volume_create_prepoll_delay;
'benchmark/cinder_volume_create_timeout': value => $volume_create_timeout;
'benchmark/cinder_volume_delete_poll_interval': value => $volume_delete_poll_interval;
'benchmark/cinder_volume_delete_timeout': value => $volume_delete_timeout;
'openstack/cinder_volume_create_poll_interval': value => $volume_create_poll_interval;
'openstack/cinder_volume_create_prepoll_delay': value => $volume_create_prepoll_delay;
'openstack/cinder_volume_create_timeout': value => $volume_create_timeout;
'openstack/cinder_volume_delete_poll_interval': value => $volume_delete_poll_interval;
'openstack/cinder_volume_delete_timeout': value => $volume_delete_timeout;
}
rally_config {
'benchmark/cinder_volume_create_poll_interval': ensure => absent;
'benchmark/cinder_volume_create_prepoll_delay': ensure => absent;
'benchmark/cinder_volume_create_timeout': ensure => absent;
'benchmark/cinder_volume_delete_poll_interval': ensure => absent;
'benchmark/cinder_volume_delete_timeout': ensure => absent;
}
}

View File

@ -25,8 +25,14 @@ class rally::settings::ec2 (
include rally::deps
rally_config {
'benchmark/ec2_server_boot_poll_interval': value => $server_boot_poll_interval;
'benchmark/ec2_server_boot_prepoll_delay': value => $server_boot_prepoll_delay;
'benchmark/ec2_server_boot_timeout': value => $server_boot_timeout;
'openstack/ec2_server_boot_poll_interval': value => $server_boot_poll_interval;
'openstack/ec2_server_boot_prepoll_delay': value => $server_boot_prepoll_delay;
'openstack/ec2_server_boot_timeout': value => $server_boot_timeout;
}
rally_config {
'benchmark/ec2_server_boot_poll_interval': ensure => absent;
'benchmark/ec2_server_boot_prepoll_delay': ensure => absent;
'benchmark/ec2_server_boot_timeout': ensure => absent;
}
}

View File

@ -36,10 +36,18 @@ class rally::settings::glance (
include rally::deps
rally_config {
'benchmark/glance_image_create_poll_interval': value => $image_create_poll_interval;
'benchmark/glance_image_create_prepoll_delay': value => $image_create_prepoll_delay;
'benchmark/glance_image_create_timeout': value => $image_create_timeout;
'benchmark/glance_image_delete_poll_interval': value => $image_delete_poll_interval;
'benchmark/glance_image_delete_timeout': value => $image_delete_timeout;
'openstack/glance_image_create_poll_interval': value => $image_create_poll_interval;
'openstack/glance_image_create_prepoll_delay': value => $image_create_prepoll_delay;
'openstack/glance_image_create_timeout': value => $image_create_timeout;
'openstack/glance_image_delete_poll_interval': value => $image_delete_poll_interval;
'openstack/glance_image_delete_timeout': value => $image_delete_timeout;
}
rally_config {
'benchmark/glance_image_create_poll_interval': ensure => absent;
'benchmark/glance_image_create_prepoll_delay': ensure => absent;
'benchmark/glance_image_create_timeout': ensure => absent;
'benchmark/glance_image_delete_poll_interval': ensure => absent;
'benchmark/glance_image_delete_timeout': ensure => absent;
}
}

View File

@ -131,27 +131,50 @@ class rally::settings::heat (
include rally::deps
rally_config {
'benchmark/heat_stack_check_poll_interval': value => $stack_check_poll_interval;
'benchmark/heat_stack_check_timeout': value => $stack_check_timeout;
'benchmark/heat_stack_create_poll_interval': value => $stack_create_poll_interval;
'benchmark/heat_stack_create_prepoll_delay': value => $stack_create_prepoll_delay;
'benchmark/heat_stack_create_timeout': value => $stack_create_timeout;
'benchmark/heat_stack_delete_poll_interval': value => $stack_delete_poll_interval;
'benchmark/heat_stack_delete_timeout': value => $stack_delete_timeout;
'benchmark/heat_stack_restore_poll_interval': value => $stack_restore_poll_interval;
'benchmark/heat_stack_restore_timeout': value => $stack_restore_timeout;
'benchmark/heat_stack_resume_poll_interval': value => $stack_resume_poll_interval;
'benchmark/heat_stack_resume_timeout': value => $stack_resume_timeout;
'benchmark/heat_stack_scale_poll_interval': value => $stack_scale_poll_interval;
'benchmark/heat_stack_scale_timeout': value => $stack_scale_timeout;
'benchmark/heat_stack_snapshot_poll_interval': value => $stack_snapshot_poll_interval;
'benchmark/heat_stack_snapshot_timeout': value => $stack_snapshot_timeout;
'benchmark/heat_stack_suspend_poll_interval': value => $stack_suspend_poll_interval;
'benchmark/heat_stack_suspend_timeout': value => $stack_suspend_timeout;
'benchmark/heat_stack_update_poll_interval': value => $stack_update_poll_interval;
'benchmark/heat_stack_update_prepoll_delay': value => $stack_update_prepoll_delay;
'benchmark/heat_stack_update_timeout': value => $stack_update_timeout;
'openstack/heat_stack_check_poll_interval': value => $stack_check_poll_interval;
'openstack/heat_stack_check_timeout': value => $stack_check_timeout;
'openstack/heat_stack_create_poll_interval': value => $stack_create_poll_interval;
'openstack/heat_stack_create_prepoll_delay': value => $stack_create_prepoll_delay;
'openstack/heat_stack_create_timeout': value => $stack_create_timeout;
'openstack/heat_stack_delete_poll_interval': value => $stack_delete_poll_interval;
'openstack/heat_stack_delete_timeout': value => $stack_delete_timeout;
'openstack/heat_stack_restore_poll_interval': value => $stack_restore_poll_interval;
'openstack/heat_stack_restore_timeout': value => $stack_restore_timeout;
'openstack/heat_stack_resume_poll_interval': value => $stack_resume_poll_interval;
'openstack/heat_stack_resume_timeout': value => $stack_resume_timeout;
'openstack/heat_stack_scale_poll_interval': value => $stack_scale_poll_interval;
'openstack/heat_stack_scale_timeout': value => $stack_scale_timeout;
'openstack/heat_stack_snapshot_poll_interval': value => $stack_snapshot_poll_interval;
'openstack/heat_stack_snapshot_timeout': value => $stack_snapshot_timeout;
'openstack/heat_stack_suspend_poll_interval': value => $stack_suspend_poll_interval;
'openstack/heat_stack_suspend_timeout': value => $stack_suspend_timeout;
'openstack/heat_stack_update_poll_interval': value => $stack_update_poll_interval;
'openstack/heat_stack_update_prepoll_delay': value => $stack_update_prepoll_delay;
'openstack/heat_stack_update_timeout': value => $stack_update_timeout;
'role/heat_stack_owner_role': value => $stack_owner_role;
'role/heat_stack_user_role': value => $stack_user_role;
}
rally_config {
'benchmark/heat_stack_check_poll_interval': ensure => absent;
'benchmark/heat_stack_check_timeout': ensure => absent;
'benchmark/heat_stack_create_poll_interval': ensure => absent;
'benchmark/heat_stack_create_prepoll_delay': ensure => absent;
'benchmark/heat_stack_create_timeout': ensure => absent;
'benchmark/heat_stack_delete_poll_interval': ensure => absent;
'benchmark/heat_stack_delete_timeout': ensure => absent;
'benchmark/heat_stack_restore_poll_interval': ensure => absent;
'benchmark/heat_stack_restore_timeout': ensure => absent;
'benchmark/heat_stack_resume_poll_interval': ensure => absent;
'benchmark/heat_stack_resume_timeout': ensure => absent;
'benchmark/heat_stack_scale_poll_interval': ensure => absent;
'benchmark/heat_stack_scale_timeout': ensure => absent;
'benchmark/heat_stack_snapshot_poll_interval': ensure => absent;
'benchmark/heat_stack_snapshot_timeout': ensure => absent;
'benchmark/heat_stack_suspend_poll_interval': ensure => absent;
'benchmark/heat_stack_suspend_timeout': ensure => absent;
'benchmark/heat_stack_update_poll_interval': ensure => absent;
'benchmark/heat_stack_update_prepoll_delay': ensure => absent;
'benchmark/heat_stack_update_timeout': ensure => absent;
}
}

View File

@ -15,6 +15,10 @@ class rally::settings::ironic (
include rally::deps
rally_config {
'benchmark/ironic_node_create_poll_interval': value => $node_create_poll_interval;
'openstack/ironic_node_create_poll_interval': value => $node_create_poll_interval;
}
rally_config {
'benchmark/ironic_node_create_poll_interval': ensure => absent;
}
}

View File

@ -25,8 +25,14 @@ class rally::settings::magnum (
include rally::deps
rally_config {
'benchmark/magnum_cluster_create_prepoll_delay': value => $magnum_cluster_create_prepoll_delay;
'benchmark/magnum_cluster_create_timeout': value => $magnum_cluster_create_timeout;
'benchmark/magnum_cluster_create_poll_interval': value => $magnum_cluster_create_poll_interval;
'openstack/magnum_cluster_create_prepoll_delay': value => $magnum_cluster_create_prepoll_delay;
'openstack/magnum_cluster_create_timeout': value => $magnum_cluster_create_timeout;
'openstack/magnum_cluster_create_poll_interval': value => $magnum_cluster_create_poll_interval;
}
rally_config {
'benchmark/magnum_cluster_create_prepoll_delay': ensure => absent;
'benchmark/magnum_cluster_create_timeout': ensure => absent;
'benchmark/magnum_cluster_create_poll_interval': ensure => absent;
}
}

View File

@ -35,10 +35,18 @@ class rally::settings::manila (
include rally::deps
rally_config {
'benchmark/manila_share_create_poll_interval': value => $share_create_poll_interval;
'benchmark/manila_share_create_prepoll_delay': value => $share_create_prepoll_delay;
'benchmark/manila_share_create_timeout': value => $share_create_timeout;
'benchmark/manila_share_delete_poll_interval': value => $share_delete_poll_interval;
'benchmark/manila_share_delete_timeout': value => $share_delete_timeout;
'openstack/manila_share_create_poll_interval': value => $share_create_poll_interval;
'openstack/manila_share_create_prepoll_delay': value => $share_create_prepoll_delay;
'openstack/manila_share_create_timeout': value => $share_create_timeout;
'openstack/manila_share_delete_poll_interval': value => $share_delete_poll_interval;
'openstack/manila_share_delete_timeout': value => $share_delete_timeout;
}
rally_config {
'benchmark/manila_share_create_poll_interval': ensure => absent;
'benchmark/manila_share_create_prepoll_delay': ensure => absent;
'benchmark/manila_share_create_timeout': ensure => absent;
'benchmark/manila_share_delete_poll_interval': ensure => absent;
'benchmark/manila_share_delete_timeout': ensure => absent;
}
}

View File

@ -15,6 +15,10 @@ class rally::settings::mistral (
include rally::deps
rally_config {
'benchmark/mistral_execution_timeout': value => $mistral_execution_timeout;
'openstack/mistral_execution_timeout': value => $mistral_execution_timeout;
}
rally_config {
'benchmark/mistral_execution_timeout': ensure => absent;
}
}

View File

@ -15,6 +15,10 @@ class rally::settings::monasca (
include rally::deps
rally_config {
'benchmark/monasca_metric_create_prepoll_delay': value => $monasca_metric_create_prepoll_delay;
'openstack/monasca_metric_create_prepoll_delay': value => $monasca_metric_create_prepoll_delay;
}
rally_config {
'benchmark/monasca_metric_create_prepoll_delay': ensure => absent;
}
}

View File

@ -20,7 +20,12 @@ class rally::settings::murano (
include rally::deps
rally_config {
'benchmark/murano_deploy_environment_check_interval': value => $deploy_environment_check_interval;
'benchmark/murano_deploy_environment_timeout': value => $deploy_environment_timeout;
'openstack/murano_deploy_environment_check_interval': value => $deploy_environment_check_interval;
'openstack/murano_deploy_environment_timeout': value => $deploy_environment_timeout;
}
rally_config {
'benchmark/murano_deploy_environment_check_interval': ensure => absent;
'benchmark/murano_deploy_environment_timeout': ensure => absent;
}
}

View File

@ -345,72 +345,142 @@ class rally::settings::nova (
include rally::deps
rally_config {
'benchmark/nova_detach_volume_poll_interval': value => $detach_volume_poll_interval;
'benchmark/nova_detach_volume_timeout': value => $detach_volume_timeout;
'benchmark/nova_server_boot_poll_interval': value => $server_boot_poll_interval;
'benchmark/nova_server_boot_prepoll_delay': value => $server_boot_prepoll_delay;
'benchmark/nova_server_boot_timeout': value => $server_boot_timeout;
'benchmark/nova_server_delete_poll_interval': value => $server_delete_poll_interval;
'benchmark/nova_server_delete_prepoll_delay': value => $server_delete_prepoll_delay;
'benchmark/nova_server_delete_timeout': value => $server_delete_timeout;
'benchmark/nova_server_image_create_poll_interval': value => $server_image_create_poll_interval;
'benchmark/nova_server_image_create_prepoll_delay': value => $server_image_create_prepoll_delay;
'benchmark/nova_server_image_create_timeout': value => $server_image_create_timeout;
'benchmark/nova_server_image_delete_poll_interval': value => $server_image_delete_poll_interval;
'benchmark/nova_server_image_delete_prepoll_delay': value => $server_image_delete_prepoll_delay;
'benchmark/nova_server_image_delete_timeout': value => $server_image_delete_timeout;
'benchmark/nova_server_live_migrate_poll_interval': value => $server_live_migrate_poll_interval;
'benchmark/nova_server_live_migrate_prepoll_delay': value => $server_live_migrate_prepoll_delay;
'benchmark/nova_server_live_migrate_timeout': value => $server_live_migrate_timeout;
'benchmark/nova_server_migrate_poll_interval': value => $server_migrate_poll_interval;
'benchmark/nova_server_migrate_prepoll_delay': value => $server_migrate_prepoll_delay;
'benchmark/nova_server_migrate_timeout': value => $server_migrate_timeout;
'benchmark/nova_server_pause_poll_interval': value => $server_pause_poll_interval;
'benchmark/nova_server_pause_prepoll_delay': value => $server_pause_prepoll_delay;
'benchmark/nova_server_pause_timeout': value => $server_pause_timeout;
'benchmark/nova_server_reboot_poll_interval': value => $server_reboot_poll_interval;
'benchmark/nova_server_reboot_prepoll_delay': value => $server_reboot_prepoll_delay;
'benchmark/nova_server_reboot_timeout': value => $server_reboot_timeout;
'benchmark/nova_server_rebuild_poll_interval': value => $server_rebuild_poll_interval;
'benchmark/nova_server_rebuild_prepoll_delay': value => $server_rebuild_prepoll_delay;
'benchmark/nova_server_rebuild_timeout': value => $server_rebuild_timeout;
'benchmark/nova_server_rescue_poll_interval': value => $server_rescue_poll_interval;
'benchmark/nova_server_rescue_prepoll_delay': value => $server_rescue_prepoll_delay;
'benchmark/nova_server_rescue_timeout': value => $server_rescue_timeout;
'benchmark/nova_server_resize_confirm_poll_interval': value => $server_resize_confirm_poll_interval;
'benchmark/nova_server_resize_confirm_prepoll_delay': value => $server_resize_confirm_prepoll_delay;
'benchmark/nova_server_resize_confirm_timeout': value => $server_resize_confirm_timeout;
'benchmark/nova_server_resize_poll_interval': value => $server_resize_poll_interval;
'benchmark/nova_server_resize_prepoll_delay': value => $server_resize_prepoll_delay;
'benchmark/nova_server_resize_revert_poll_interval': value => $server_resize_revert_poll_interval;
'benchmark/nova_server_resize_revert_prepoll_delay': value => $server_resize_revert_prepoll_delay;
'benchmark/nova_server_resize_revert_timeout': value => $server_resize_revert_timeout;
'benchmark/nova_server_resize_timeout': value => $server_resize_timeout;
'benchmark/nova_server_resume_poll_interval': value => $server_resume_poll_interval;
'benchmark/nova_server_resume_prepoll_delay': value => $server_resume_prepoll_delay;
'benchmark/nova_server_resume_timeout': value => $server_resume_timeout;
'benchmark/nova_server_shelve_poll_interval': value => $server_shelve_poll_interval;
'benchmark/nova_server_shelve_prepoll_delay': value => $server_shelve_prepoll_delay;
'benchmark/nova_server_shelve_timeout': value => $server_shelve_timeout;
'benchmark/nova_server_start_poll_interval': value => $server_start_poll_interval;
'benchmark/nova_server_start_prepoll_delay': value => $server_start_prepoll_delay;
'benchmark/nova_server_start_timeout': value => $server_start_timeout;
'benchmark/nova_server_stop_poll_interval': value => $server_stop_poll_interval;
'benchmark/nova_server_stop_prepoll_delay': value => $server_stop_prepoll_delay;
'benchmark/nova_server_stop_timeout': value => $server_stop_timeout;
'benchmark/nova_server_suspend_poll_interval': value => $server_suspend_poll_interval;
'benchmark/nova_server_suspend_prepoll_delay': value => $server_suspend_prepoll_delay;
'benchmark/nova_server_suspend_timeout': value => $server_suspend_timeout;
'benchmark/nova_server_unpause_poll_interval': value => $server_unpause_poll_interval;
'benchmark/nova_server_unpause_prepoll_delay': value => $server_unpause_prepoll_delay;
'benchmark/nova_server_unpause_timeout': value => $server_unpause_timeout;
'benchmark/nova_server_unrescue_poll_interval': value => $server_unrescue_poll_interval;
'benchmark/nova_server_unrescue_prepoll_delay': value => $server_unrescue_prepoll_delay;
'benchmark/nova_server_unrescue_timeout': value => $server_unrescue_timeout;
'benchmark/nova_server_unshelve_poll_interval': value => $server_unshelve_poll_interval;
'benchmark/nova_server_unshelve_prepoll_delay': value => $server_unshelve_prepoll_delay;
'benchmark/nova_server_unshelve_timeout': value => $server_unshelve_timeout;
'benchmark/vm_ping_poll_interval': value => $vm_ping_poll_interval;
'benchmark/vm_ping_timeout': value => $vm_ping_timeout;
'openstack/nova_detach_volume_poll_interval': value => $detach_volume_poll_interval;
'openstack/nova_detach_volume_timeout': value => $detach_volume_timeout;
'openstack/nova_server_boot_poll_interval': value => $server_boot_poll_interval;
'openstack/nova_server_boot_prepoll_delay': value => $server_boot_prepoll_delay;
'openstack/nova_server_boot_timeout': value => $server_boot_timeout;
'openstack/nova_server_delete_poll_interval': value => $server_delete_poll_interval;
'openstack/nova_server_delete_prepoll_delay': value => $server_delete_prepoll_delay;
'openstack/nova_server_delete_timeout': value => $server_delete_timeout;
'openstack/nova_server_image_create_poll_interval': value => $server_image_create_poll_interval;
'openstack/nova_server_image_create_prepoll_delay': value => $server_image_create_prepoll_delay;
'openstack/nova_server_image_create_timeout': value => $server_image_create_timeout;
'openstack/nova_server_image_delete_poll_interval': value => $server_image_delete_poll_interval;
'openstack/nova_server_image_delete_prepoll_delay': value => $server_image_delete_prepoll_delay;
'openstack/nova_server_image_delete_timeout': value => $server_image_delete_timeout;
'openstack/nova_server_live_migrate_poll_interval': value => $server_live_migrate_poll_interval;
'openstack/nova_server_live_migrate_prepoll_delay': value => $server_live_migrate_prepoll_delay;
'openstack/nova_server_live_migrate_timeout': value => $server_live_migrate_timeout;
'openstack/nova_server_migrate_poll_interval': value => $server_migrate_poll_interval;
'openstack/nova_server_migrate_prepoll_delay': value => $server_migrate_prepoll_delay;
'openstack/nova_server_migrate_timeout': value => $server_migrate_timeout;
'openstack/nova_server_pause_poll_interval': value => $server_pause_poll_interval;
'openstack/nova_server_pause_prepoll_delay': value => $server_pause_prepoll_delay;
'openstack/nova_server_pause_timeout': value => $server_pause_timeout;
'openstack/nova_server_reboot_poll_interval': value => $server_reboot_poll_interval;
'openstack/nova_server_reboot_prepoll_delay': value => $server_reboot_prepoll_delay;
'openstack/nova_server_reboot_timeout': value => $server_reboot_timeout;
'openstack/nova_server_rebuild_poll_interval': value => $server_rebuild_poll_interval;
'openstack/nova_server_rebuild_prepoll_delay': value => $server_rebuild_prepoll_delay;
'openstack/nova_server_rebuild_timeout': value => $server_rebuild_timeout;
'openstack/nova_server_rescue_poll_interval': value => $server_rescue_poll_interval;
'openstack/nova_server_rescue_prepoll_delay': value => $server_rescue_prepoll_delay;
'openstack/nova_server_rescue_timeout': value => $server_rescue_timeout;
'openstack/nova_server_resize_confirm_poll_interval': value => $server_resize_confirm_poll_interval;
'openstack/nova_server_resize_confirm_prepoll_delay': value => $server_resize_confirm_prepoll_delay;
'openstack/nova_server_resize_confirm_timeout': value => $server_resize_confirm_timeout;
'openstack/nova_server_resize_poll_interval': value => $server_resize_poll_interval;
'openstack/nova_server_resize_prepoll_delay': value => $server_resize_prepoll_delay;
'openstack/nova_server_resize_revert_poll_interval': value => $server_resize_revert_poll_interval;
'openstack/nova_server_resize_revert_prepoll_delay': value => $server_resize_revert_prepoll_delay;
'openstack/nova_server_resize_revert_timeout': value => $server_resize_revert_timeout;
'openstack/nova_server_resize_timeout': value => $server_resize_timeout;
'openstack/nova_server_resume_poll_interval': value => $server_resume_poll_interval;
'openstack/nova_server_resume_prepoll_delay': value => $server_resume_prepoll_delay;
'openstack/nova_server_resume_timeout': value => $server_resume_timeout;
'openstack/nova_server_shelve_poll_interval': value => $server_shelve_poll_interval;
'openstack/nova_server_shelve_prepoll_delay': value => $server_shelve_prepoll_delay;
'openstack/nova_server_shelve_timeout': value => $server_shelve_timeout;
'openstack/nova_server_start_poll_interval': value => $server_start_poll_interval;
'openstack/nova_server_start_prepoll_delay': value => $server_start_prepoll_delay;
'openstack/nova_server_start_timeout': value => $server_start_timeout;
'openstack/nova_server_stop_poll_interval': value => $server_stop_poll_interval;
'openstack/nova_server_stop_prepoll_delay': value => $server_stop_prepoll_delay;
'openstack/nova_server_stop_timeout': value => $server_stop_timeout;
'openstack/nova_server_suspend_poll_interval': value => $server_suspend_poll_interval;
'openstack/nova_server_suspend_prepoll_delay': value => $server_suspend_prepoll_delay;
'openstack/nova_server_suspend_timeout': value => $server_suspend_timeout;
'openstack/nova_server_unpause_poll_interval': value => $server_unpause_poll_interval;
'openstack/nova_server_unpause_prepoll_delay': value => $server_unpause_prepoll_delay;
'openstack/nova_server_unpause_timeout': value => $server_unpause_timeout;
'openstack/nova_server_unrescue_poll_interval': value => $server_unrescue_poll_interval;
'openstack/nova_server_unrescue_prepoll_delay': value => $server_unrescue_prepoll_delay;
'openstack/nova_server_unrescue_timeout': value => $server_unrescue_timeout;
'openstack/nova_server_unshelve_poll_interval': value => $server_unshelve_poll_interval;
'openstack/nova_server_unshelve_prepoll_delay': value => $server_unshelve_prepoll_delay;
'openstack/nova_server_unshelve_timeout': value => $server_unshelve_timeout;
'openstack/vm_ping_poll_interval': value => $vm_ping_poll_interval;
'openstack/vm_ping_timeout': value => $vm_ping_timeout;
}
rally_config {
'benchmark/nova_detach_volume_poll_interval': ensure => absent;
'benchmark/nova_detach_volume_timeout': ensure => absent;
'benchmark/nova_server_boot_poll_interval': ensure => absent;
'benchmark/nova_server_boot_prepoll_delay': ensure => absent;
'benchmark/nova_server_boot_timeout': ensure => absent;
'benchmark/nova_server_delete_poll_interval': ensure => absent;
'benchmark/nova_server_delete_prepoll_delay': ensure => absent;
'benchmark/nova_server_delete_timeout': ensure => absent;
'benchmark/nova_server_image_create_poll_interval': ensure => absent;
'benchmark/nova_server_image_create_prepoll_delay': ensure => absent;
'benchmark/nova_server_image_create_timeout': ensure => absent;
'benchmark/nova_server_image_delete_poll_interval': ensure => absent;
'benchmark/nova_server_image_delete_prepoll_delay': ensure => absent;
'benchmark/nova_server_image_delete_timeout': ensure => absent;
'benchmark/nova_server_live_migrate_poll_interval': ensure => absent;
'benchmark/nova_server_live_migrate_prepoll_delay': ensure => absent;
'benchmark/nova_server_live_migrate_timeout': ensure => absent;
'benchmark/nova_server_migrate_poll_interval': ensure => absent;
'benchmark/nova_server_migrate_prepoll_delay': ensure => absent;
'benchmark/nova_server_migrate_timeout': ensure => absent;
'benchmark/nova_server_pause_poll_interval': ensure => absent;
'benchmark/nova_server_pause_prepoll_delay': ensure => absent;
'benchmark/nova_server_pause_timeout': ensure => absent;
'benchmark/nova_server_reboot_poll_interval': ensure => absent;
'benchmark/nova_server_reboot_prepoll_delay': ensure => absent;
'benchmark/nova_server_reboot_timeout': ensure => absent;
'benchmark/nova_server_rebuild_poll_interval': ensure => absent;
'benchmark/nova_server_rebuild_prepoll_delay': ensure => absent;
'benchmark/nova_server_rebuild_timeout': ensure => absent;
'benchmark/nova_server_rescue_poll_interval': ensure => absent;
'benchmark/nova_server_rescue_prepoll_delay': ensure => absent;
'benchmark/nova_server_rescue_timeout': ensure => absent;
'benchmark/nova_server_resize_confirm_poll_interval': ensure => absent;
'benchmark/nova_server_resize_confirm_prepoll_delay': ensure => absent;
'benchmark/nova_server_resize_confirm_timeout': ensure => absent;
'benchmark/nova_server_resize_poll_interval': ensure => absent;
'benchmark/nova_server_resize_prepoll_delay': ensure => absent;
'benchmark/nova_server_resize_revert_poll_interval': ensure => absent;
'benchmark/nova_server_resize_revert_prepoll_delay': ensure => absent;
'benchmark/nova_server_resize_revert_timeout': ensure => absent;
'benchmark/nova_server_resize_timeout': ensure => absent;
'benchmark/nova_server_resume_poll_interval': ensure => absent;
'benchmark/nova_server_resume_prepoll_delay': ensure => absent;
'benchmark/nova_server_resume_timeout': ensure => absent;
'benchmark/nova_server_shelve_poll_interval': ensure => absent;
'benchmark/nova_server_shelve_prepoll_delay': ensure => absent;
'benchmark/nova_server_shelve_timeout': ensure => absent;
'benchmark/nova_server_start_poll_interval': ensure => absent;
'benchmark/nova_server_start_prepoll_delay': ensure => absent;
'benchmark/nova_server_start_timeout': ensure => absent;
'benchmark/nova_server_stop_poll_interval': ensure => absent;
'benchmark/nova_server_stop_prepoll_delay': ensure => absent;
'benchmark/nova_server_stop_timeout': ensure => absent;
'benchmark/nova_server_suspend_poll_interval': ensure => absent;
'benchmark/nova_server_suspend_prepoll_delay': ensure => absent;
'benchmark/nova_server_suspend_timeout': ensure => absent;
'benchmark/nova_server_unpause_poll_interval': ensure => absent;
'benchmark/nova_server_unpause_prepoll_delay': ensure => absent;
'benchmark/nova_server_unpause_timeout': ensure => absent;
'benchmark/nova_server_unrescue_poll_interval': ensure => absent;
'benchmark/nova_server_unrescue_prepoll_delay': ensure => absent;
'benchmark/nova_server_unrescue_timeout': ensure => absent;
'benchmark/nova_server_unshelve_poll_interval': ensure => absent;
'benchmark/nova_server_unshelve_prepoll_delay': ensure => absent;
'benchmark/nova_server_unshelve_timeout': ensure => absent;
'benchmark/vm_ping_poll_interval': ensure => absent;
'benchmark/vm_ping_timeout': ensure => absent;
}
}

View File

@ -40,11 +40,20 @@ class rally::settings::sahara (
include rally::deps
rally_config {
'benchmark/sahara_cluster_check_interval': value => $cluster_check_interval;
'benchmark/sahara_cluster_create_timeout': value => $cluster_create_timeout;
'benchmark/sahara_cluster_delete_timeout': value => $cluster_delete_timeout;
'benchmark/sahara_job_check_interval': value => $job_check_interval;
'benchmark/sahara_job_execution_timeout': value => $job_execution_timeout;
'benchmark/sahara_workers_per_proxy': value => $workers_per_proxy;
'openstack/sahara_cluster_check_interval': value => $cluster_check_interval;
'openstack/sahara_cluster_create_timeout': value => $cluster_create_timeout;
'openstack/sahara_cluster_delete_timeout': value => $cluster_delete_timeout;
'openstack/sahara_job_check_interval': value => $job_check_interval;
'openstack/sahara_job_execution_timeout': value => $job_execution_timeout;
'openstack/sahara_workers_per_proxy': value => $workers_per_proxy;
}
rally_config {
'benchmark/sahara_cluster_check_interval': ensure => absent;
'benchmark/sahara_cluster_create_timeout': ensure => absent;
'benchmark/sahara_cluster_delete_timeout': ensure => absent;
'benchmark/sahara_job_check_interval': ensure => absent;
'benchmark/sahara_job_execution_timeout': ensure => absent;
'benchmark/sahara_workers_per_proxy': ensure => absent;
}
}

View File

@ -66,16 +66,30 @@ class rally::settings::tempest (
include rally::deps
rally_config {
'tempest/img_url': value => $img_url;
'tempest/img_disk_format': value => $img_disk_format;
'tempest/img_container_format': value => $img_container_format;
'tempest/img_name_regex': value => $img_name_regex;
'tempest/swift_operator_role': value => $swift_operator_role;
'tempest/swift_reseller_admin_role': value => $swift_reseller_admin_role;
'tempest/heat_stack_owner_role': value => $heat_stack_owner_role;
'tempest/heat_stack_user_role': value => $heat_stack_user_role;
'tempest/flavor_ref_ram': value => $flavor_ref_ram;
'tempest/flavor_ref_alt_ram': value => $flavor_ref_alt_ram;
'tempest/heat_instance_type_ram': value => $heat_instance_type_ram;
'openstack/img_url': value => $img_url;
'openstack/img_disk_format': value => $img_disk_format;
'openstack/img_container_format': value => $img_container_format;
'openstack/img_name_regex': value => $img_name_regex;
'openstack/swift_operator_role': value => $swift_operator_role;
'openstack/swift_reseller_admin_role': value => $swift_reseller_admin_role;
'openstack/heat_stack_owner_role': value => $heat_stack_owner_role;
'openstack/heat_stack_user_role': value => $heat_stack_user_role;
'openstack/flavor_ref_ram': value => $flavor_ref_ram;
'openstack/flavor_ref_alt_ram': value => $flavor_ref_alt_ram;
'openstack/heat_instance_type_ram': value => $heat_instance_type_ram;
}
rally_config {
'tempest/img_url': ensure => absent;
'tempest/img_disk_format': ensure => absent;
'tempest/img_container_format': ensure => absent;
'tempest/img_name_regex': ensure => absent;
'tempest/swift_operator_role': ensure => absent;
'tempest/swift_reseller_admin_role': ensure => absent;
'tempest/heat_stack_owner_role': ensure => absent;
'tempest/heat_stack_user_role': ensure => absent;
'tempest/flavor_ref_ram': ensure => absent;
'tempest/flavor_ref_alt_ram': ensure => absent;
'tempest/heat_instance_type_ram': ensure => absent;
}
}

View File

@ -20,7 +20,12 @@ class rally::settings::watcher (
include rally::deps
rally_config {
'benchmark/watcher_audit_launch_poll_interval': value => $audit_launch_poll_interval;
'benchmark/watcher_audit_launch_timeout': value => $audit_launch_timeout;
'openstack/watcher_audit_launch_poll_interval': value => $audit_launch_poll_interval;
'openstack/watcher_audit_launch_timeout': value => $audit_launch_timeout;
}
rally_config {
'benchmark/watcher_audit_launch_poll_interval': ensure => absent;
'benchmark/watcher_audit_launch_timeout': ensure => absent;
}
}

View File

@ -19,22 +19,22 @@ describe 'rally::settings::cinder' do
shared_examples_for 'with default parameters' do
it 'configures rally cinder settings with default parameters' do
is_expected.to contain_rally_config('benchmark/cinder_volume_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/cinder_volume_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/cinder_volume_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/cinder_volume_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/cinder_volume_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/cinder_volume_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/cinder_volume_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/cinder_volume_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/cinder_volume_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/cinder_volume_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_cinder_params ) }
it 'configures rally-settings-cinder settings with all parameters' do
is_expected.to contain_rally_config('benchmark/cinder_volume_create_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/cinder_volume_create_timeout').with(:value => 600.0)
is_expected.to contain_rally_config('benchmark/cinder_volume_create_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/cinder_volume_delete_timeout').with(:value => 600.0)
is_expected.to contain_rally_config('benchmark/cinder_volume_delete_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/cinder_volume_create_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/cinder_volume_create_timeout').with(:value => 600.0)
is_expected.to contain_rally_config('openstack/cinder_volume_create_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/cinder_volume_delete_timeout').with(:value => 600.0)
is_expected.to contain_rally_config('openstack/cinder_volume_delete_poll_interval').with(:value => 2.0)
end
end

View File

@ -17,18 +17,18 @@ describe 'rally::settings::ec2' do
shared_examples_for 'with default parameters' do
it 'configures rally ec2 settings with default parameters' do
is_expected.to contain_rally_config('benchmark/ec2_server_boot_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/ec2_server_boot_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/ec2_server_boot_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/ec2_server_boot_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/ec2_server_boot_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/ec2_server_boot_poll_interval').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_ec2_params ) }
it 'configures rally-settings-ec2 settings with all parameters' do
is_expected.to contain_rally_config('benchmark/ec2_server_boot_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/ec2_server_boot_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/ec2_server_boot_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/ec2_server_boot_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/ec2_server_boot_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/ec2_server_boot_poll_interval').with(:value => 1.0)
end
end

View File

@ -19,22 +19,22 @@ describe 'rally::settings::glance' do
shared_examples_for 'with default parameters' do
it 'configures rally glance settings with default parameters' do
is_expected.to contain_rally_config('benchmark/glance_image_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/glance_image_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/glance_image_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/glance_image_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/glance_image_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/glance_image_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/glance_image_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/glance_image_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/glance_image_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/glance_image_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_glance_params ) }
it 'configures rally-settings-glance settings with all parameters' do
is_expected.to contain_rally_config('benchmark/glance_image_create_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/glance_image_create_timeout').with(:value => 120.0)
is_expected.to contain_rally_config('benchmark/glance_image_create_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/glance_image_delete_timeout').with(:value => 120.0)
is_expected.to contain_rally_config('benchmark/glance_image_delete_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/glance_image_create_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/glance_image_create_timeout').with(:value => 120.0)
is_expected.to contain_rally_config('openstack/glance_image_create_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/glance_image_delete_timeout').with(:value => 120.0)
is_expected.to contain_rally_config('openstack/glance_image_delete_poll_interval').with(:value => 1.0)
end
end

View File

@ -36,26 +36,26 @@ describe 'rally::settings::heat' do
shared_examples_for 'with default parameters' do
it 'configures rally heat settings with default parameters' do
is_expected.to contain_rally_config('benchmark/heat_stack_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_check_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_check_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_update_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_update_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_update_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_suspend_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_suspend_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_resume_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_resume_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_snapshot_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_snapshot_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_restore_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_restore_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_scale_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/heat_stack_scale_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_check_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_check_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_update_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_update_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_update_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_suspend_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_suspend_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_resume_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_resume_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_snapshot_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_snapshot_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_restore_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_restore_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_scale_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_scale_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('role/heat_stack_owner_role').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('role/heat_stack_user_role').with(:value => '<SERVICE DEFAULT>')
end
@ -64,26 +64,26 @@ describe 'rally::settings::heat' do
shared_examples_for 'with all parameters' do
before { params.merge!( rally_heat_params ) }
it 'configures rally-settings-heat settings with all parameters' do
is_expected.to contain_rally_config('benchmark/heat_stack_create_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/heat_stack_create_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('benchmark/heat_stack_create_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/heat_stack_delete_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('benchmark/heat_stack_delete_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/heat_stack_check_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('benchmark/heat_stack_check_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/heat_stack_update_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/heat_stack_update_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('benchmark/heat_stack_update_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/heat_stack_suspend_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('benchmark/heat_stack_suspend_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/heat_stack_resume_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('benchmark/heat_stack_resume_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/heat_stack_snapshot_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('benchmark/heat_stack_snapshot_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/heat_stack_restore_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('benchmark/heat_stack_restore_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/heat_stack_scale_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('benchmark/heat_stack_scale_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/heat_stack_create_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/heat_stack_create_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('openstack/heat_stack_create_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/heat_stack_delete_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('openstack/heat_stack_delete_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/heat_stack_check_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('openstack/heat_stack_check_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/heat_stack_update_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/heat_stack_update_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('openstack/heat_stack_update_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/heat_stack_suspend_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('openstack/heat_stack_suspend_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/heat_stack_resume_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('openstack/heat_stack_resume_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/heat_stack_snapshot_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('openstack/heat_stack_snapshot_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/heat_stack_restore_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('openstack/heat_stack_restore_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/heat_stack_scale_timeout').with(:value => 3600.0)
is_expected.to contain_rally_config('openstack/heat_stack_scale_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('role/heat_stack_owner_role').with(:value => 'heat_stack_owner')
is_expected.to contain_rally_config('role/heat_stack_user_role').with(:value => 'heat_stack_user')
end

View File

@ -15,14 +15,14 @@ describe 'rally::settings::ironic' do
shared_examples_for 'with default parameters' do
it 'configures rally ironic settings with default parameters' do
is_expected.to contain_rally_config('benchmark/ironic_node_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/ironic_node_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_ironic_params ) }
it 'configures rally-settings-ironic settings with all parameters' do
is_expected.to contain_rally_config('benchmark/ironic_node_create_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/ironic_node_create_poll_interval').with(:value => 1.0)
end
end

View File

@ -17,18 +17,18 @@ describe 'rally::settings::magnum' do
shared_examples_for 'with default parameters' do
it 'configures rally magnum settings with default parameters' do
is_expected.to contain_rally_config('benchmark/magnum_cluster_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/magnum_cluster_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/magnum_cluster_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/magnum_cluster_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/magnum_cluster_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/magnum_cluster_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_magnum_params ) }
it 'configures rally-settings-magnum settings with all parameters' do
is_expected.to contain_rally_config('benchmark/magnum_cluster_create_prepoll_delay').with(:value => 9.0)
is_expected.to contain_rally_config('benchmark/magnum_cluster_create_timeout').with(:value => 600.0)
is_expected.to contain_rally_config('benchmark/magnum_cluster_create_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/magnum_cluster_create_prepoll_delay').with(:value => 9.0)
is_expected.to contain_rally_config('openstack/magnum_cluster_create_timeout').with(:value => 600.0)
is_expected.to contain_rally_config('openstack/magnum_cluster_create_poll_interval').with(:value => 2.0)
end
end

View File

@ -19,22 +19,22 @@ describe 'rally::settings::manila' do
shared_examples_for 'with default parameters' do
it 'configures rally manila settings with default parameters' do
is_expected.to contain_rally_config('benchmark/manila_share_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/manila_share_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/manila_share_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/manila_share_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/manila_share_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/manila_share_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/manila_share_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/manila_share_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/manila_share_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/manila_share_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_manila_params ) }
it 'configures rally-settings-manila settings with all parameters' do
is_expected.to contain_rally_config('benchmark/manila_share_create_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/manila_share_create_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/manila_share_create_poll_interval').with(:value => 3.0)
is_expected.to contain_rally_config('benchmark/manila_share_delete_timeout').with(:value => 180.0)
is_expected.to contain_rally_config('benchmark/manila_share_delete_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/manila_share_create_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/manila_share_create_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/manila_share_create_poll_interval').with(:value => 3.0)
is_expected.to contain_rally_config('openstack/manila_share_delete_timeout').with(:value => 180.0)
is_expected.to contain_rally_config('openstack/manila_share_delete_poll_interval').with(:value => 2.0)
end
end

View File

@ -15,14 +15,14 @@ describe 'rally::settings::mistral' do
shared_examples_for 'with default parameters' do
it 'configures rally mistral settings with default parameters' do
is_expected.to contain_rally_config('benchmark/mistral_execution_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/mistral_execution_timeout').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_mistral_params ) }
it 'configures rally-settings-mistral settings with all parameters' do
is_expected.to contain_rally_config('benchmark/mistral_execution_timeout').with(:value => 10.0)
is_expected.to contain_rally_config('openstack/mistral_execution_timeout').with(:value => 10.0)
end
end

View File

@ -15,14 +15,14 @@ describe 'rally::settings::monasca' do
shared_examples_for 'with default parameters' do
it 'configures rally monasca settings with default parameters' do
is_expected.to contain_rally_config('benchmark/monasca_metric_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/monasca_metric_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_monasca_params ) }
it 'configures rally-settings-monasca settings with all parameters' do
is_expected.to contain_rally_config('benchmark/monasca_metric_create_prepoll_delay').with(:value => 10.0)
is_expected.to contain_rally_config('openstack/monasca_metric_create_prepoll_delay').with(:value => 10.0)
end
end

View File

@ -16,16 +16,16 @@ describe 'rally::settings::murano' do
shared_examples_for 'with default parameters' do
it 'configures rally murano settings with default parameters' do
is_expected.to contain_rally_config('benchmark/murano_deploy_environment_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/murano_deploy_environment_check_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/murano_deploy_environment_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/murano_deploy_environment_check_interval').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_murano_params ) }
it 'configures rally-settings-murano settings with all parameters' do
is_expected.to contain_rally_config('benchmark/murano_deploy_environment_timeout').with(:value => 1200)
is_expected.to contain_rally_config('benchmark/murano_deploy_environment_check_interval').with(:value => 5)
is_expected.to contain_rally_config('openstack/murano_deploy_environment_timeout').with(:value => 1200)
is_expected.to contain_rally_config('openstack/murano_deploy_environment_check_interval').with(:value => 5)
end
end

View File

@ -114,84 +114,84 @@ describe 'rally::settings::nova' do
:server_migrate_prepoll_delay, :server_migrate_timeout,
:server_migrate_poll_interval, :detach_volume_timeout,
:detach_volume_poll_interval, ].each { |param|
is_expected.to contain_rally_config("benchmark/nova_#{param}").with_value('<SERVICE DEFAULT>')
is_expected.to contain_rally_config("openstack/nova_#{param}").with_value('<SERVICE DEFAULT>')
}
is_expected.to contain_rally_config('benchmark/vm_ping_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/vm_ping_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/vm_ping_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/vm_ping_timeout').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_nova_params ) }
it 'configures rally-settings-nova settings with all parameters' do
is_expected.to contain_rally_config('benchmark/nova_server_start_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('benchmark/nova_server_start_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_start_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/nova_server_stop_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('benchmark/nova_server_stop_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_stop_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_boot_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/nova_server_boot_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_boot_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/nova_server_delete_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_delete_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_delete_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_reboot_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_reboot_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_reboot_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_rebuild_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/nova_server_rebuild_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_rebuild_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/nova_server_rescue_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_rescue_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_rescue_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_unrescue_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_unrescue_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_unrescue_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_suspend_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_suspend_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_suspend_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_resume_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_resume_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_resume_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_pause_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_pause_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_pause_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_unpause_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_unpause_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_unpause_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_shelve_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_shelve_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_shelve_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_unshelve_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_unshelve_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_unshelve_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_image_create_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('benchmark/nova_server_image_create_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_image_create_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_image_delete_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('benchmark/nova_server_image_delete_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('benchmark/nova_server_image_delete_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_resize_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_resize_timeout').with(:value => 400.0)
is_expected.to contain_rally_config('benchmark/nova_server_resize_poll_interval').with(:value => 5.0)
is_expected.to contain_rally_config('benchmark/nova_server_resize_confirm_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('benchmark/nova_server_resize_confirm_timeout').with(:value => 200.0)
is_expected.to contain_rally_config('benchmark/nova_server_resize_confirm_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_resize_revert_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('benchmark/nova_server_resize_revert_timeout').with(:value => 200.0)
is_expected.to contain_rally_config('benchmark/nova_server_resize_revert_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_live_migrate_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/nova_server_live_migrate_timeout').with(:value => 400.0)
is_expected.to contain_rally_config('benchmark/nova_server_live_migrate_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_server_migrate_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/nova_server_migrate_timeout').with(:value => 400.0)
is_expected.to contain_rally_config('benchmark/nova_server_migrate_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/nova_detach_volume_timeout').with(:value => 200.0)
is_expected.to contain_rally_config('benchmark/nova_detach_volume_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/vm_ping_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('benchmark/vm_ping_timeout').with(:value => 120.0)
is_expected.to contain_rally_config('openstack/nova_server_start_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('openstack/nova_server_start_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_start_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/nova_server_stop_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('openstack/nova_server_stop_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_stop_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_boot_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/nova_server_boot_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_boot_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/nova_server_delete_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_delete_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_delete_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_reboot_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_reboot_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_reboot_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_rebuild_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/nova_server_rebuild_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_rebuild_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/nova_server_rescue_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_rescue_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_rescue_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_unrescue_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_unrescue_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_unrescue_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_suspend_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_suspend_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_suspend_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_resume_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_resume_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_resume_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_pause_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_pause_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_pause_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_unpause_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_unpause_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_unpause_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_shelve_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_shelve_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_shelve_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_unshelve_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_unshelve_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_unshelve_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_image_create_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('openstack/nova_server_image_create_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_image_create_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_image_delete_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('openstack/nova_server_image_delete_timeout').with(:value => 300.0)
is_expected.to contain_rally_config('openstack/nova_server_image_delete_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_resize_prepoll_delay').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_resize_timeout').with(:value => 400.0)
is_expected.to contain_rally_config('openstack/nova_server_resize_poll_interval').with(:value => 5.0)
is_expected.to contain_rally_config('openstack/nova_server_resize_confirm_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('openstack/nova_server_resize_confirm_timeout').with(:value => 200.0)
is_expected.to contain_rally_config('openstack/nova_server_resize_confirm_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_resize_revert_prepoll_delay').with(:value => 0.0)
is_expected.to contain_rally_config('openstack/nova_server_resize_revert_timeout').with(:value => 200.0)
is_expected.to contain_rally_config('openstack/nova_server_resize_revert_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_live_migrate_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/nova_server_live_migrate_timeout').with(:value => 400.0)
is_expected.to contain_rally_config('openstack/nova_server_live_migrate_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_server_migrate_prepoll_delay').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/nova_server_migrate_timeout').with(:value => 400.0)
is_expected.to contain_rally_config('openstack/nova_server_migrate_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/nova_detach_volume_timeout').with(:value => 200.0)
is_expected.to contain_rally_config('openstack/nova_detach_volume_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/vm_ping_poll_interval').with(:value => 1.0)
is_expected.to contain_rally_config('openstack/vm_ping_timeout').with(:value => 120.0)
end
end

View File

@ -19,22 +19,22 @@ describe 'rally::settings::sahara' do
shared_examples_for 'with default parameters' do
it 'configures rally sahara settings with default parameters' do
is_expected.to contain_rally_config('benchmark/sahara_cluster_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/sahara_cluster_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/sahara_cluster_check_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/sahara_job_execution_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/sahara_job_check_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/sahara_cluster_create_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/sahara_cluster_delete_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/sahara_cluster_check_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/sahara_job_execution_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/sahara_job_check_interval').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_sahara_params ) }
it 'configures rally-settings-sahara settings with all parameters' do
is_expected.to contain_rally_config('benchmark/sahara_cluster_create_timeout').with(:value => 1800)
is_expected.to contain_rally_config('benchmark/sahara_cluster_delete_timeout').with(:value => 900)
is_expected.to contain_rally_config('benchmark/sahara_cluster_check_interval').with(:value => 5)
is_expected.to contain_rally_config('benchmark/sahara_job_execution_timeout').with(:value => 600)
is_expected.to contain_rally_config('benchmark/sahara_job_check_interval').with(:value => 5)
is_expected.to contain_rally_config('openstack/sahara_cluster_create_timeout').with(:value => 1800)
is_expected.to contain_rally_config('openstack/sahara_cluster_delete_timeout').with(:value => 900)
is_expected.to contain_rally_config('openstack/sahara_cluster_check_interval').with(:value => 5)
is_expected.to contain_rally_config('openstack/sahara_job_execution_timeout').with(:value => 600)
is_expected.to contain_rally_config('openstack/sahara_job_check_interval').with(:value => 5)
end
end

View File

@ -17,25 +17,25 @@ describe 'rally::settings::tempest' do
shared_examples_for 'with default parameters' do
it 'configures rally tempest settings with default parameters' do
is_expected.to contain_rally_config('tempest/img_url').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('tempest/img_disk_format').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('tempest/img_name_regex').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('tempest/swift_operator_role').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('tempest/swift_reseller_admin_role').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('tempest/heat_stack_owner_role').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('tempest/heat_stack_user_role').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('tempest/flavor_ref_ram').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('tempest/flavor_ref_alt_ram').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('tempest/heat_instance_type_ram').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/img_url').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/img_disk_format').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/img_name_regex').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/swift_operator_role').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/swift_reseller_admin_role').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_owner_role').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_stack_user_role').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/flavor_ref_ram').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/flavor_ref_alt_ram').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/heat_instance_type_ram').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_tempest_params ) }
it 'configures rally-settings-tempest settings with all parameters' do
is_expected.to contain_rally_config('tempest/img_url').with(:value => 'http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img')
is_expected.to contain_rally_config('tempest/img_disk_format').with(:value => 'raw')
is_expected.to contain_rally_config('tempest/img_container_format').with(:value => 'ovf')
is_expected.to contain_rally_config('openstack/img_url').with(:value => 'http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img')
is_expected.to contain_rally_config('openstack/img_disk_format').with(:value => 'raw')
is_expected.to contain_rally_config('openstack/img_container_format').with(:value => 'ovf')
end
end

View File

@ -16,16 +16,16 @@ describe 'rally::settings::watcher' do
shared_examples_for 'with default parameters' do
it 'configures rally watcher settings with default parameters' do
is_expected.to contain_rally_config('benchmark/watcher_audit_launch_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('benchmark/watcher_audit_launch_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/watcher_audit_launch_poll_interval').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_rally_config('openstack/watcher_audit_launch_timeout').with(:value => '<SERVICE DEFAULT>')
end
end
shared_examples_for 'with all parameters' do
before { params.merge!( rally_watcher_params ) }
it 'configures rally-settings-watcher settings with all parameters' do
is_expected.to contain_rally_config('benchmark/watcher_audit_launch_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('benchmark/watcher_audit_launch_timeout').with(:value => 300)
is_expected.to contain_rally_config('openstack/watcher_audit_launch_poll_interval').with(:value => 2.0)
is_expected.to contain_rally_config('openstack/watcher_audit_launch_timeout').with(:value => 300)
end
end