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

added troubleshooting info for reinstall in selinux #2550

Merged
merged 2 commits into from
May 1, 2024

Conversation

pixelchrome
Copy link
Contributor

If you ever need to un-install and install the AU on a SELinux enabled VM... use these steps (2. is important):

  1. cloudinsights-uninstall.sh -p
  2. semanage fcontext -d -t usr_t "/opt/netapp/cloudinsights(/.*)?"
  3. run the installer snippet from CI

otherwise you will get an error message

The semanage command exists on this system: running semanage and restorecon to set up SELinux context for Cloud Insights Acquisition Unit.
ValueError: File context for /opt/netapp/cloudinsights(/.*)? already defined

I've added this info to task_troubleshooting_linux_acquisition_unit_problems.adoc

@netapp-alavoie
Copy link
Contributor

Modified the wording slightly, I believe without changing any of the meaning:

|When Re-Installing the Acquisition Unit, I'm seeing "ValueError: File context for /opt/netapp/cloudinsights(/.*)? already defined".

|On a system with SELinux, This error message may appear after cloudinsights-uninstall.sh -p has been executed and the Acquisition Unit is to be reinstalled. Running the command semanage fcontext -d -t usr_t "/opt/netapp/cloudinsights(/.*)?" should correct the issue and remove the message.

@netapp-alavoie
Copy link
Contributor

netapp-alavoie commented Apr 30, 2024 via email

@netapp-alavoie netapp-alavoie merged commit 60b9a28 into NetAppDocs:main May 1, 2024
1 check passed
iebuild bot pushed a commit that referenced this pull request May 1, 2024
added troubleshooting info for reinstall in selinux NetAppDocs/netappdocs-build@a9a3ac51aa002ffdea0cfefd665413206f8be1a5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants