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

Adding more information to the man pages #896

Merged
merged 4 commits into from
Jul 26, 2018

Conversation

jschmid1
Copy link
Contributor

Adding

  • deepsea-stage-0 (7),
  • deepsea-stage-1 (7),
  • deepsea-stage-2 (7),
  • deepsea-stage-3 (7),
  • deepsea-stage-4 (7),
  • deepsea-stage-5 (7),
  • deepsea-customization (7),
  • deepsea-mines (7)

Signed-off-by: Joshua Schmid [email protected]

include:
- .{{ salt['pillar.get']('refresh_init', 'default') }}

which looks for a value of 'refresh_init' in the pillar. When it's not found it defaults to the name 'default' which is the name of the file in the directory. (Ignore the file extension)
Copy link
Contributor

Choose a reason for hiding this comment

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

run-on line here, please add line breaks?


.B refresh_pillar

If you, for a reason, want to change this behavior. You can add a file to
Copy link
Contributor

Choose a reason for hiding this comment

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

s/for a reason/for any reason/

.SH More examples


Deepsea ships quite some non-default states that can be used. For example we offer alternating stage.0s which have either updates or reboots (or both) disabled.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/quite some/a number of/

Copy link
Contributor

Choose a reason for hiding this comment

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

run-on line, please add line breaks

deepsea mines
.SH DESCRIPTION
.B Mines
are a salt concept to collect arbitrary data from the Minions and store it on the master. For more information read https://docs.saltstack.com/en/latest/topics/mine/
Copy link
Contributor

Choose a reason for hiding this comment

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

run-on line; please add line breaks

.SH Preface
.PP
Stage.0 behaves differently depending on the presence of a ceph cluster. On the first invocation, or the install phase, deepsea will run all operations in parallel to speep up the process.
Once you successfully deployed the cluster more caution is exercised and nodes are processed serially. The operation is chunked in three sections.
Copy link
Contributor

Choose a reason for hiding this comment

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

run-on lines; please add line breaks


.B Validation:
.RS
Deepsea performs a set of system validation tests before running the ramainder of the stage.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/ramainder/remainder/


.B Salt-Api
.RS
In order for openattic to establish a connection with salt, hence deepsea, the salt-api needs to be enabled.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe rewrite the sentence like this? "Since openATTIC communicates with DeepSea via Salt, the salt-api service must be enabled and running for openATTIC to establish a connection with Salt."

.RE
.B Sync
.RS
When a new salt or deepsea version was installed, salt needs to make sure all modules are synced over to it's minions.
Copy link
Contributor

Choose a reason for hiding this comment

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

in English it's customary to capitalize proper nouns (e.g. Salt, DeepSea, Ceph) to distinguish them from their common noun counterparts (salt, deep sea, ceph(alopod))

http://grammar.yourdictionary.com/capitalization/rules-for-capitalizing-proper-nouns.html

.RE
.B Reboot
.RS
If Deepsea detects the need for a reboot, the master will reboot. This can be changed by adjusting
Copy link
Contributor

Choose a reason for hiding this comment

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

globally standardize DeepSea (instead of "deepsea" and "Deepsea") ?

.RE
.B Sync
.RS
After a potential update was applied to the master make sure to sync the modules and grains back to the minions
Copy link
Contributor

Choose a reason for hiding this comment

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

This sentence is vague . . . what does it mean to "apply a potential update"? How does one "sync the modules and grains back to the minions" ?

.SS Minions
.B Installation of common packages
.RS
Deepsea installs packages are... (shouldn't this acutally go in the specfile?)
Copy link
Contributor

Choose a reason for hiding this comment

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

This sentence is incomplete?

@smithfarm
Copy link
Contributor

@jschmid1 I started reviewing, but cannot see a lot of the text. Can you please wrap the lines? Then, if you like, I can take another look.

@smithfarm smithfarm closed this Jan 15, 2018
@smithfarm smithfarm reopened this Jan 15, 2018
Signed-off-by: Joshua Schmid <[email protected]>
.B SLS
is short for Salt State Files. Those files are used to define a state you wish a node to be in.
DeepSea has the concept of a 'default' file that will be executed when you invoke a salt state.
For example when you want to execute a refresh on the pillar you do.
Copy link
Contributor

Choose a reason for hiding this comment

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

colon after "do" instead of full-stop

.RS
If you remove a service from your policy.cfg and apply it to the pillar by running stage.2
.B (see deepsea-stage-2 (7))
running stage.5 will remove this service and all it's traces from the node.
Copy link
Contributor

Choose a reason for hiding this comment

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

"it's" should be its, but could be reworded.... "remove all traces of the service from the node"

DeepSea stage 5 \- a deeper insight
.SH DESCRIPTION
.B DeepSea Stage 5 (Removal)
is a Salt orchestration that deploys the non-core services of ceph.
Copy link
Contributor

Choose a reason for hiding this comment

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

is a Salt orchestration that removes services.

Separate comment: I think role may still be less confusing than service. Since systemd enables/disables services. Roles are greater since they include configuration files.

This option tells you if a Developer Environment is expected. Setting this option bypasses some validations that
would lead to insufficient replication or data insafety.
Do not set this option in production.

Copy link
Contributor

Choose a reason for hiding this comment

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

Might want to mention that DEV_ENV can be set as either an environment variable or pillar variable.

Some rewording:

Set this option to 'true' for development environments. Some validations will be bypassed such as requiring minimums for Ceph monitors and storage nodes.

* mgrs

* firewall
Verify if the neccessary ports for ceph are open in the firewall.
Copy link
Contributor

Choose a reason for hiding this comment

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

No ports are actually checked. The default chains are checked for default rules.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So we are actually checking the negative -> if the ports are not closed.

Joshua Schmid added 2 commits January 19, 2018 10:41
Signed-off-by: Joshua Schmid <[email protected]>
Signed-off-by: Joshua Schmid <[email protected]>
@kshtsk
Copy link

kshtsk commented Jul 4, 2018

rebase this patch

@jschmid1 jschmid1 merged commit 9644cd8 into SUSE:master Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants