sous-chefs / openvpn

Development repository for the openvpn cookbook
https://supermarket.chef.io/cookbooks/openvpn
Apache License 2.0
98 stars 160 forks source link

Converge fails while checking idempotency #193

Closed alexandru-david closed 9 months ago

alexandru-david commented 2 years ago

:speaking_head: Foreword

Chef is failing when trying to converge for the second time while checking idempotency on the cookbook.

:ghost: Brief Description

Converge failed because some resources were updated in a second chef-client run. First chef run should have reached a converged state.

:pancakes: Cookbook version

v3.5.2

:woman_cook: Chef-Infra Version

17.6.18

:tophat: Platform details

AWS Cloud Provider Instance details:

  name: ec2
  region: eu-west-1
  instance_type: t3a.small

Platforms:

  - name: ubuntu-18.04
  - name: ubuntu-20.04

Steps To Reproduce

Steps to reproduce the behavior:

Run kitchen on AWS adding the following parameters to the provisioner:

provisioner:
  enforce_idempotency: true 
  multiple_converge: 2

:police_car: Expected behavior

Chef client should be able to converge for the second time proving that idempotency on the cookbook works properly.

:heavy_plus_sign: Additional context