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

Add Viaq installation guide to the oVirt metrics store repo #1551

Merged
merged 9 commits into from
Mar 27, 2018
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,18 @@ configured to use persistence.
partition, you are strongly recommended to use a partition other than root
`/` to avoid filling up the root partition.
- Find a partition that can easily accomodate many GB of storage.
- Create the directory e.g. `mkdir -p /var/lib/elasticsearch`
- Create the directory

# mkdir -p /var/lib/elasticsearch

- Change the group ownership to the value of your
`openshift_logging_elasticsearch_storage_group` parameter (default `65534`)
e.g. `chgrp 65534 /var/lib/elasticsearch`
- make this directory writable by the group `chmod -R g+w /var/lib/elasticsearch`

# chgrp 65534 /var/lib/elasticsearch`
Copy link

Choose a reason for hiding this comment

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

I think you need a blank line after this line

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. Thanks.

Copy link
Contributor

@rollandf rollandf Mar 27, 2018

Choose a reason for hiding this comment

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

@sradco
I think you are missing the headers, like these for example:

title: oVirt Metrics Store - Installation Guide
category: feature
authors: sradco
feature_name: oVirt Metrics Store Installation
feature_modules: engine
feature_status: In Development

Please add them, and we will see if the CI pass

- make this directory writable by the group

# chmod -R 0770 /var/lib/elasticsearch

- add the following selinux policy:

# semanage fcontext -a -t container_file_t "/var/lib/elasticsearch(/.*)?"
Expand Down