opentelekomcloud / ansible-collection-cloud

Ansible modules for using with OTC (addition to the native OpenStack modules)
Apache License 2.0
21 stars 14 forks source link

Missing Module cbr_policy for creating policies #228

Open hadoopch opened 2 years ago

hadoopch commented 2 years ago

Hi all,

today i searched for a module creating a backup policy. I wanted to bind this newly created policy to a server vault created with cbr_vault.

I couldn't find a module cbr_policy providing this feature.

It would be great if someone could develop this module.

Regards Uli

hadoopch commented 2 years ago

I have seen that there is already a pull request

hadoopch commented 2 years ago

With the code of Anton Module is working but always ends with changed in the second run

hadoopch commented 2 years ago

Hi Polina,

i also made the experience that the time in pattern is in UTC. So if you run the playbook and check later the time in the GUI the time is two hours later (CEST). This should be mentioned in the ansible-doc

Polina-Gubina commented 1 year ago

Hi! cbr_policy is fixed now

hadoopch commented 1 year ago

Hi Polina, thanks a lot. It is available and working now.
It stills ends with changed in the second run. But that is not a problem

But there seems to be still an issue with the scheduling time.

If i define a pattern like

And the timezone:

Then i get 13:44 in Web-UI which is OK. Or should the Web-UI show the same time as defined in the pattern ?

But if i set UTC+08:00 i still get 13:44 in the Web-UI

I tried several values for the timezone parameter but it seems to have no impact.

Could you please check.

Best regards

Uli