We don't need to implement a speicific logic to ensure the parameter is
absent but can pass $::os_service_default. This change updates default
of the instance_name_template parameter so that we can simplify our
current logic to manage the parameter.
Change-Id: I5fcd8e15c5b3a3386104506fb9f7b54eda2eb867
This change introduces a new nova::glance class, so that we can easily
maintain parameters for Glance service.
Some new parameters will be added in subsequent commits.
Change-Id: I94d110f0dfe89afb6bbd066d9abc3b72ebc10e52
Add support for the [compute]/image_type_exclude_list parameter to
prevent image types being reported as supported by a compute node.
Related nova change: Iabe6246dba212b1a287a82cc0cf16e2e8c8a24b8
Change-Id: I389d4b586468720d73ac69b025a3c34df54fe73e
This setting was renamed enabled_filters a while back. For the sake of
consistency, we need to change this here as well. Another change in THT
will follow this one.
Change-Id: I110f612f1b78899e8969da607e6b400e2e64c8a1
Partial revert of If6a26527a737a7184ebddd5b4bc346d64827e9e3 to allow
both/either config option to be used until it is clear what nova will
take.
Related-bug: #1903908
Change-Id: I98fe83e0c245388944529cd19b5e2bbed134e855
This should never have been merged.
It removed more than the deprecated param, breaking the pci config on
computes.
Also should have warned for at least 1 cycle before removal.
It also wasn't removed correctly as the pick remained in nova::compute::pci
so (IIUC) the deprecated param still works today if set in hieradata.
This reverts commit d845b6f0aefaaab0b65b32cd22ccda8c2c8ee6ae.
Change-Id: I5b3d9dbbd41d060134444609458b3e8bba606ae6
Currently, the `override_uuid` parameter, if set, will generate a random
uuid to be set in libvirtd.conf. It might be desirable to set a specific
uuid instead of a random one, create a parameter to do so.
Change-Id: I981a80d9767b7eae0854a64df720c23f855ab1be
This is required for nova-compute so move to init.pp from metadata.pp and set
DEFAULT/dhcp_domain (which nova should undeprecate) vs api/dhcp_domain.
Change-Id: If6a26527a737a7184ebddd5b4bc346d64827e9e3
Related-bug: #1903908
Related-bug: #1832537
c7f44fde73896c762ea19ac89bd3d605b74227ff fixed this for
spec/classes/nova_cron_archive_deleted_rows_spec.rb , lets
fix it also for spec/classes/nova_cron_purge_shadow_tables.rb .
Change-Id: I817ec7c497c510a410590c66b9f3f6f66ffc1b90
nova::workarounds is used for config options in the [workarounds] section in
nova.conf.
Right now it is just included for the conductor and compute services as the
two existing params only apply to these services.
However workaround config params can apply to any or all nova services so it
should be included for all services.
Change-Id: Ie27fb87f1446d1570e0eb7608812ddfa70b7f91f
This exposes the nova workaround to disable downloading images from glance to
rbd (vs a cheap COW clone) when nova-compute and glance are not backed by the
same ceph cluster.
Related nova change: I069b6b1d28eaf1eee5c7fb8d0fdef9c0c229a1bf
Change-Id: I8329810d6c047c0d94e7b123e7cdc1263a7856cd
Currently behavior of the nova::migration::libvirt class is tested in
nova_migration_livirt_spec.rb, thus we don't need to test the same in
nova_compute_libvirt_spec.rb.
This patch also remove a redundant test case.
Change-Id: Iec8f2986e165ccf60f4248cbf91aa8ce20e83a53
nova-api service should be stopped before httpd service is started,
thus nova-api should notify httpd.
Change-Id: Ibffb65269daaeca62554cfbecb536361ab70611a