aboutsummaryrefslogtreecommitdiffstats
path: root/releasenotes/notes/disable-manila-cephfs-snapshots-by-default-d5320a05d9b501cf.yaml
blob: 98d70b630cebf2c28e1d5dfac7a0948dcf7c4566 (plain)
1
2
3
4
5
---
upgrade:
  - |
    Disabled cephfs snapshot support (ManilaCephFSNativeCephFSEnableSnapshots
    parameter) in manila by default.
ault: "" ComputeHostnameFormat: type: string default: "" resources: userdata: type: OS::Heat::MultipartMime properties: parts: - config: {get_resource: compute_kernel_args} # Verify the logs on /var/log/cloud-init.log on the overcloud node compute_kernel_args: type: OS::Heat::SoftwareConfig properties: config: str_replace: template: | #!/bin/bash set -x FORMAT=$COMPUTE_HOSTNAME_FORMAT if [[ -z $FORMAT ]] ; then FORMAT="compute" ; else # Assumption: only %index% and %stackname% are the variables in Host name format FORMAT=$(echo $FORMAT | sed 's/\%index\%//g' | sed 's/\%stackname\%//g') ; fi if [[ $(hostname) == *$FORMAT* ]] ; then yum install -y /root/$KVMFORNFV_KERNEL_RPM grub2-mkconfig -o /etc/grub2.cfg sleep 5 reboot fi params: $KVMFORNFV_KERNEL_RPM: {get_param: ComputeKernelArgs} $COMPUTE_HOSTNAME_FORMAT: {get_param: ComputeHostnameFormat} outputs: # This means get_resource from the parent template will get the userdata, see: # http://docs.openstack.org/developer/heat/template_guide/composition.html#making-your-template-resource-more-transparent # Note this is new-for-kilo, an alternative is returning a value then using # get_attr in the parent template instead. OS::stack_id: value: {get_resource: userdata}