Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform additional checks during repo bucket/user creation #89

Open
spiegela opened this issue Nov 21, 2017 · 1 comment
Open

Perform additional checks during repo bucket/user creation #89

spiegela opened this issue Nov 21, 2017 · 1 comment
Labels

Comments

@spiegela
Copy link
Collaborator

spiegela commented Nov 21, 2017

There are several situation, in which the repository bucket or user may not be created properly:

  1. The repository-service or repository-plan is not set in the broker configuration.
  2. The selected repository-service is encrypted, but the default namespace is not.
  3. There is a name conflict in the repository-user

If the bucket is able to be created, without the user, it can require manual intervention to put the ECS components into a rational state before the broker can be started. We should perform more extensive checks during startup, to make sure that these issues don't arise.

@spiegela spiegela self-assigned this Nov 21, 2017
@spiegela spiegela added the bug label Nov 21, 2017
@spiegela spiegela changed the title Broker doesn't error when can't create bucket Broker doesn't crash when can't create bucket Nov 21, 2017
@spiegela spiegela added this to To Do in 2.1 Jan 24, 2018
@spiegela spiegela removed their assignment Jan 24, 2018
@spiegela
Copy link
Collaborator Author

The desire behavior is that the broker should crash any time the required repository resources can't be created. The broker also needs to validate that the settings are all create, as customers have run into partially created environments when messing around with settings. Required resources include:

  • Repository bucket
  • Repository user
  • Full control ACL for repository user on repository bucket
  • Configured base URL or object-endpoint
  • Replication group
  • Namespace
  • Management user and password

@spiegela spiegela changed the title Broker doesn't crash when can't create bucket Perform additional checks during repo bucket/user creation Jul 8, 2018
@spiegela spiegela removed this from To Do in 2.1 Aug 24, 2018
@spiegela spiegela added this to To do in 2.2 Aug 24, 2018
@rogalv rogalv removed this from To do in 2.2 Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant