hpe-storage / python-hpedockerplugin

HPE Native Docker Plugin
Apache License 2.0
36 stars 64 forks source link

File Persona: Default FPG name conflict when hosts in multi-host setup have their own ETCDs #600

Closed imran-ansari closed 5 years ago

imran-ansari commented 5 years ago

ISSUE

Default FPG name generation is dependent on a counter present in ETCD. If each host has its own ETCD, then the counter value is duplicated resulting in same FPG name on different hosts.

SOLUTION

Catch duplicate FPG exceptions from 3PAR and keep incrementing the counter till a unique FPG name is generated

imran-ansari commented 5 years ago

@sandesh-desai - I would like you to verify this before I can close it.

sandesh-desai commented 5 years ago

Not able to re-produce the issue. Now Fpg creation is as per expected, while creating a share from different host,different FPG name is creating successfully. Attaching the output: 3PAR output.txt Share creation host1.txt Share creation host2.txt

imran-ansari commented 5 years ago

Based on the above observation closing this issue.