ECS-CommunityEdition icon indicating copy to clipboard operation
ECS-CommunityEdition copied to clipboard

Error 1008 Duplicate Namespace on rebuilt ECS using deploy.yml

Open zeffery opened this issue 6 years ago • 5 comments

Expected Behavior

Trying to re-create a bucket on an ECS that was rebuilt using deploy.yml file. The deploy.yml did not contain any info on the prior namespaces or buckets.

Actual Behavior

ECS has no existing buckets. Try to recreate bucket using UI and receive 'Error 1008 (http: 400): Invalid parameter. Duplicate found: mynamepsacename.mybucketname' Attempt to delete the namespace and receive message that namespace can not be deletes as buckets exist. However no buckets are displayed in the UI.

So either 1. The buckets exist and are not displayed in the UI or 2. The buckets do not exist and something is preventing them from being created.

Steps to Reproduce Behavior

1.Rebuild an ECS using deploy.yml 2.check no namespaces on the rebuilt ECS 3.Attempt to add the namespace and receive error

Relevant Output and Logs

please tell me what logs to add

# Output and Logs go here

please tell me what logs to add


Notifies: @captntuttle

zeffery avatar Jul 11 '19 17:07 zeffery

@zeffery

What do you mean by "rebuilt?" Step1 and step2 should never be run more than one time. However, it is easy to repave the CE deployment if the data can be thrown away. This can be done by running ecsremove purge-nodes NOTE this will permanently destroy all data on the ECS CE instance.

After running ecsremove step1 and step2 can be re-run without changing the deploy.yml and should not yield any errors.

ksteinfeldt avatar Jul 17 '19 16:07 ksteinfeldt

By ‘rebuilt’ I mean the ECS was destroyed and a new one created using the existing deploy.yml file. The creation of the new ECS worked fine except I cannot create buckets with the same names that previously existed. I believe there is a issue with the UI not displaying the old buckets after a re-deploy of the ECS. Since the error said the buckets already existed I tried copying data into the buckets using ECS-Sync which was successful. I then went back into the UI and the buckets now display in the UI list of buckets as well as the UI Metering page.

From: Ken Steinfeldt [email protected] Sent: Wednesday, July 17, 2019 12:43 PM To: EMCECS/ECS-CommunityEdition [email protected] Cc: Zelek,Jeffrey J [email protected]; Mention [email protected] Subject: [External] Re: [EMCECS/ECS-CommunityEdition] Error 1008 Duplicate Namespace on rebuilt ECS using deploy.yml (#479)

@zefferyhttps://github.com/zeffery

What do you mean by "rebuilt?" Step1 and step2 should never be run more than one time. However, it is easy to repave the CE deployment if the data can be thrown away. This can be done by running ecsremove purge-nodes NOTE this will permanently destroy all data on the ECS CE instance.

After running ecsremove step1 and step2 can be re-run without changing the deploy.yml and should not yield any errors.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/EMCECS/ECS-CommunityEdition/issues/479?email_source=notifications&email_token=AMPIPNORZSTFKTTQZ4SRWKDP75DYLA5CNFSM4IBOIEO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2FABWY#issuecomment-512360667, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMPIPNLEP225JPYZS24PZJTP75DYLANCNFSM4IBOIEOQ.


This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.

TRVDiscDefault::1201

zeffery avatar Jul 17 '19 16:07 zeffery

Apologies, I thought for sure that I responded to this earlier... Perhaps I forgot to submit my comment.

If the ECS CE deployment has been truly destroyed and the disks wiped I don't know how the namespace/bucket etc can persist. How was the ECS destroyed? Can you describe the method used?

If you believe the UI is erroring by not showing you buckets and namespaces that actually do exist you can try using something like S3Browser, Cyberduck, or curl.

ksteinfeldt avatar Jul 18 '19 20:07 ksteinfeldt

I used ecs-sync to populate the empty buckets and they now appear in the UI buckets list page and metering pages. This appears to be something related to the UI.

From: Ken Steinfeldt [email protected] Sent: Thursday, July 18, 2019 4:27 PM To: EMCECS/ECS-CommunityEdition [email protected] Cc: Zelek,Jeffrey J [email protected]; Mention [email protected] Subject: [External] Re: [EMCECS/ECS-CommunityEdition] Error 1008 Duplicate Namespace on rebuilt ECS using deploy.yml (#479)

Apologies, I thought for sure that I responded to this earlier... Perhaps I forgot to submit my comment.

If the ECS CE deployment has been truly destroyed and the disks wiped I don't know how the namespace/bucket etc can persist. How was the ECS destroyed? Can you describe the method used?

If you believe the UI is erroring by not showing you buckets and namespaces that actually do exist you can try using something like S3Browser, Cyberduck, or curl.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/EMCECS/ECS-CommunityEdition/issues/479?email_source=notifications&email_token=AMPIPNNB3LWLHIOFY3QI5UDQADG23A5CNFSM4IBOIEO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JV4AA#issuecomment-512974336, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMPIPNMZAUPK6YGP33MKF5LQADG23ANCNFSM4IBOIEOQ.


This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.

TRVDiscDefault::1201

zeffery avatar Jul 19 '19 12:07 zeffery

When ecsremove is run, nothing of the previous ECS deployment should remain, including the UI. Does this issue continue with the latest release?

padthaitofuhot avatar Feb 15 '21 23:02 padthaitofuhot

closing as older

nikhil-vr avatar Sep 22 '22 06:09 nikhil-vr