Skip to content

Feat/add status page design decision - #191

Merged
fkr merged 43 commits into
mainfrom
feat/add-status-page-design-decision
Mar 24, 2023
Merged

fkr merged 43 commits into
mainfrom
feat/add-status-page-design-decision

Conversation

@fkr

@fkr fkr commented Jan 26, 2023

Copy link
Copy Markdown
Member

No description provided.

master-caster and others added 21 commits December 12, 2022 10:36
This ADR contains why we decided to create a complete new application
* Add a first draft for a dev ressources overview

Signed-off-by: Eduard Itrich <[email protected]>

* added projects for @costelter to review

Signed-off-by: Ralf Heiringhoff <[email protected]>

Signed-off-by: Eduard Itrich <[email protected]>
Signed-off-by: Ralf Heiringhoff <[email protected]>
Co-authored-by: Ralf Heiringhoff <[email protected]>
* Add a first draft for a dev ressources overview
* added projects for @costelter to review
* updated out-dated PlusDemonstrator Docs
added partner api endpoints in clouds-public.yaml
* fixed gfm typos
* more fixes
* minor final fixes
* Capitalize title

Signed-off-by: Eduard Itrich <[email protected]>
Signed-off-by: Ralf Heiringhoff <[email protected]>
Co-authored-by: Eduard Itrich <[email protected]>
- Fix counting SCS flavors
- Added comments to better explain scs var, -i mode
- Also exit code documentation
- Fixed formatting
  - Replaced tabs by spaces
  - switched partly to newer string formatting style
  - fixed indentation issues
  - removed code-linebreaks as they reduce readability
  - removed trailing backslashes inside braces as they are obsolete
  - removed unnecessary import of "os"
  - renamed some variables to improve readability

Signed-off-by: Kurt Garloff <[email protected]>
Signed-off-by: Tim Beermann <[email protected]>
Co-authored-by: Tim Beermann <[email protected]>
* improved user handling to ease collaboration & transparency within the team
* added link to the gx-scs environment
* fixed link
* Use github-flavored markdown for note sections (#173)

See https://stackoverflow.com/questions/50544499/how-to-make-a-styled-markdown-admonition-box-in-a-github-gist for reference

Signed-off-by: Ralf Heiringhoff <[email protected]>
Signed-off-by: Eduard Itrich <[email protected]>
Co-authored-by: Eduard Itrich <[email protected]>
* improved user handling to ease collaboration & transparency within the team

Signed-off-by: Ralf Heiringhoff <[email protected]>

* added link to the gx-scs environment

Signed-off-by: Ralf Heiringhoff <[email protected]>

* fixed link

Signed-off-by: Ralf Heiringhoff <[email protected]>

* Use github-flavored markdown for note sections (#173)

See https://stackoverflow.com/questions/50544499/how-to-make-a-styled-markdown-admonition-box-in-a-github-gist for reference

Signed-off-by: Eduard Itrich <[email protected]>

Signed-off-by: Eduard Itrich <[email protected]>

* minor fixes

Signed-off-by: Ralf Heiringhoff <[email protected]>

Signed-off-by: Ralf Heiringhoff <[email protected]>
Signed-off-by: Eduard Itrich <[email protected]>
Co-authored-by: Eduard Itrich <[email protected]>
Signed-off-by: Ralf Heiringhoff <[email protected]>

Signed-off-by: Ralf Heiringhoff <[email protected]>
Signed-off-by: Eduard Itrich <[email protected]>

Signed-off-by: Eduard Itrich <[email protected]>
* Update plusserver-gx-scs.md
* fix URL syntax

Signed-off-by: Ralf Heiringhoff <[email protected]>
* added missing svc user
* added related projects to svc user
* fixed table

Signed-off-by: Ralf Heiringhoff <[email protected]>
Co-authored-by: Eduard Itrich <[email protected]>
left and right mix up

Signed-off-by: Ralf Heiringhoff <[email protected]>
Co-authored-by: Eduard Itrich <[email protected]>
fixed dead link + reworded it to point to the partner resources instead

Signed-off-by: Ralf Heiringhoff <[email protected]>
Co-authored-by: Eduard Itrich <[email protected]>
* Add script using OpenStack API to check flavors.

We get the list of flavors and check compliance of them.

* Print output report in YAML.

* Fix output report dict structure.

* Check vCPUs, RAM, Disk OpenStack data vs name.

Overproviding is allowed, we only warn.
For underprovisioning, we produce an error.

* Count errors for underperforming flavors.

* Some comments help with code reading.

* Warn for strange memory sizes.

We only recommend 0.5, 1, 1.5, 2, ... 9.5, 10, 11, 12, 13, ...
and warn for numbers that are not integers if >= 10 and not halfed
integers for smaller memory sizes. (This gives us still plenty of
flexibility.)

Another change was naming the return values as cpuram is more readable
than ret[0].

* Fixed formatting.

- Replaced tabs by spaces
- switched partly to newer string formatting style
- fixed indentation issues
- removed code-linebreaks as they reduce readability
- removed trailing backslashes inside braces as they are obsolete

* Implement Tim's suggestion who to report result.

Tim suggested a better report format discussing PR#163 at
SovereignCloudStack/docs#163 (comment)
which we implement.

Also: Don't list all flavors by category by default, but just the
Summary with the numbers. Option -v/--verbose produces the full
report though.

Sidenote: As we have dicts, the field order is determined by the Python
implementation (using Alphabetical ordering). If we prefer a different
ordering, we might need to use some ordered dict implementation.

* Make it pass flake8 tests.

* Address a few of the pylint complaints.

Mainly superfluous () after if. (Yes, I have written C for too long.)

Signed-off-by: Kurt Garloff <[email protected]>

Signed-off-by: Kurt Garloff <[email protected]>
Signed-off-by: Tim Beermann <[email protected]>
Co-authored-by: Tim Beermann <[email protected]>
…els (#148)

* Add initial draft for the proposal SCS Standards YAML

* Add a first round of key values for certification yaml and give example

* Fix some typos and ammend section on list of standards

* Fix SCS capitalization issue

* Add missing full stop at end of file

* Add flag to distinguish between mandatory and optional standards

* Promote proposal to state

* Rename state to condition

Signed-off-by: Eduard Itrich <[email protected]>

Signed-off-by: Eduard Itrich <[email protected]>
Co-authored-by: Kurt Garloff <[email protected]>
Signed-off-by: Joshua Mühlfort <[email protected]>
Co-authored-by: Kurt Garloff <[email protected]>
* Add dNation Dev Project cloud resource

Signed-off-by: Roman Hros <[email protected]>

* added project id

Signed-off-by: Ralf Heiringhoff <[email protected]>

Signed-off-by: Roman Hros <[email protected]>
Signed-off-by: Ralf Heiringhoff <[email protected]>
Co-authored-by: Ralf Heiringhoff <[email protected]>
While there sprinkle another link

Signed-off-by: Felix Kronlage-Dammers <[email protected]>
@fkr fkr added the work in progress Pull requests that are work in progress, do not merge them label Jan 26, 2023
@fkr fkr added this to the R4 (v5.0.0) milestone Jan 26, 2023
@fkr

fkr commented Jan 26, 2023

Copy link
Copy Markdown
Member Author

This is primarily the work from @master-caster and comes from https://github.com/master-caster/Docs.
With this PR, I want to mainline the document. However the PR is currently WIP as the file naming and location is likely not correct.

Signed-off-by: Felix Kronlage-Dammers <[email protected]>

@garloff garloff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good document overall, but please

  • fix the link
  • consider the comment about including the design/requirements discussion in the ADR itself rather than linking it

@frosty-geek frosty-geek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fkr
fkr requested a review from jschoone February 20, 2023 10:26
@fkr

fkr commented Feb 20, 2023

Copy link
Copy Markdown
Member Author

@jschoone in the 'Definition of Done' of this story (SovereignCloudStack/issues#180) we have:

"A person that has not been part of the status page application development group has read the design documents and understood the decisions".

You've not been part of that group :)
Please review.

@jschoone jschoone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fkr fkr self-assigned this Feb 20, 2023
@fkr fkr added Ops Issues or pull requests relevant for Team 3: Ops Tooling and removed work in progress Pull requests that are work in progress, do not merge them labels Feb 20, 2023
@fkr

fkr commented Mar 1, 2023

Copy link
Copy Markdown
Member Author

ping @garloff - unless you review, this can't be merged (since you requested changes).

Signed-off-by: Felix Kronlage-Dammers <[email protected]>

@garloff garloff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great document, I suggest two minor wording changes

@fkr

fkr commented Mar 23, 2023

Copy link
Copy Markdown
Member Author

Filename needs to be renamed to carry track number (4 is OPS)

@fkr fkr modified the milestones: R4 (v5.0.0), R5 (v6.0.0) Mar 24, 2023
@fkr
fkr merged commit 0a916c5 into main Mar 24, 2023
@fkr
fkr deleted the feat/add-status-page-design-decision branch March 24, 2023 07:46
fkr added a commit that referenced this pull request Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ops Issues or pull requests relevant for Team 3: Ops Tooling

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

9 participants