Skip to content

Conversation

@ewolinetz
Copy link
Contributor

Still unable to address due to ES not running as USER 1000:

[2020-09-24T20:41:22,267][WARN ][c.a.o.s.OpenDistroSecurityPlugin] [elasticsearch-cdm-j8482ktr-1] Directory /etc/elasticsearch has insecure file permissions (should be 0700)
[2020-09-24T20:41:22,267][WARN ][c.a.o.s.OpenDistroSecurityPlugin] [elasticsearch-cdm-j8482ktr-1] Directory /etc/elasticsearch/scripts has insecure file permissions (should be 0700)
sh-4.2$ id
uid=1000580000(1000580000) gid=0(root) groups=0(root),1000580000
sh-4.2$ ps -ef
UID          PID    PPID  C STIME TTY          TIME CMD
1000580+       1       0 21 20:41 ?        00:01:01 /usr/lib/jvm/jre/bin/java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.nega
1000580+     155       1  0 20:41 ?        00:00:00 [init.sh] <defunct>
1000580+    2090       0  0 20:44 pts/0    00:00:00 /bin/sh
1000580+    2778    2090  0 20:45 pts/0    00:00:00 ps -ef

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 24, 2020
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 24, 2020
Copy link
Contributor

@jcantrill jcantrill left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 24, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ewolinetz, jcantrill

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [ewolinetz,jcantrill]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ewolinetz
Copy link
Contributor Author

Unable to address the /etc/elasticsearch and /etc/elasticsearch/scripts dirs due to our current SA run-as policy... we can follow that up later.

@ewolinetz ewolinetz changed the title [WIP] Addressing permissions warning in ES start up logs Addressing permissions warning in ES start up logs Oct 2, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 2, 2020
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@ewolinetz ewolinetz changed the title Addressing permissions warning in ES start up logs Bug 1884812: Addressing permissions warning in ES start up logs Oct 2, 2020
@openshift-ci-robot openshift-ci-robot added the bugzilla/severity-unspecified Referenced Bugzilla bug's severity is unspecified for the PR. label Oct 2, 2020
@openshift-ci-robot
Copy link

@ewolinetz: This pull request references Bugzilla bug 1884812, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.6.0) matches configured target release for branch (4.6.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1884812: Addressing permissions warning in ES start up logs

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Oct 2, 2020
@ewolinetz
Copy link
Contributor Author

/refresh

@openshift-merge-robot openshift-merge-robot merged commit 770727c into openshift:master Oct 2, 2020
@openshift-ci-robot
Copy link

@ewolinetz: All pull requests linked via external trackers have merged:

Bugzilla bug 1884812 has been moved to the MODIFIED state.

In response to this:

Bug 1884812: Addressing permissions warning in ES start up logs

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ewolinetz ewolinetz deleted the es_file_perms branch June 29, 2021 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-unspecified Referenced Bugzilla bug's severity is unspecified for the PR. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants