Created
March 21, 2024 13:16
-
-
Save bschonec/027bcdb9b02136bae4cb2a437af53e73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debug: Prefetching semanage resources for selinux_fcontext | |
Debug: Executing: '/sbin/semanage fcontext -a -t mongod_var_lib_t -f a /u01/app/MongoDB.*' | |
Notice: /Stage[main]/Selinux/Selinux::Fcontext[mariadb_data]/Selinux_fcontext[/u01/app/MongoDB.*_a]/ensure: created (corrective) | |
Debug: /Stage[main]/Selinux/Selinux::Fcontext[mariadb_data]/Selinux_fcontext[/u01/app/MongoDB.*_a]: The container Selinux::Fcontext[mariadb_data] will propagate my refresh event | |
Debug: Selinux::Fcontext[mariadb_data]: The container Class[Selinux] will propagate my refresh event | |
Notice: /Stage[main]/Profile::Base/File[/u01/app]/owner: owner changed 'root' to 'mongod' (corrective) | |
Notice: /Stage[main]/Profile::Base/File[/u01/app]/group: group changed 'root' to 'mongod' (corrective) | |
Notice: /File[/u01/app]/seltype: seltype changed 'unlabeled_t' to 'default_t' (corrective) | |
Debug: /Stage[main]/Profile::Base/File[/u01/app]: The container Class[Profile::Base] will propagate my refresh event | |
Debug: /Stage[main]/Profile::Base/File[/u01/app]: The container Class[Profile::Base] will propagate my refresh event | |
Debug: /Stage[main]/Profile::Base/File[/u01/app]: The container Class[Profile::Base] will propagate my refresh event | |
Notice: /Stage[main]/Profile::Base/File[/u01/app/MongoDB]/ensure: created (corrective) | |
Debug: /Stage[main]/Profile::Base/File[/u01/app/MongoDB]: The container Class[Profile::Base] will propagate my refresh event | |
Notice: /Stage[main]/Profile::Base/File[/u01/app/MongoDB/key]/ensure: created (corrective) | |
Debug: /Stage[main]/Profile::Base/File[/u01/app/MongoDB/key]: The container Class[Profile::Base] will propagate my refresh event | |
Notice: /Stage[main]/Mongodb::Server::Config/File[/u01/app/MongoDB/key/mongod.key]/ensure: defined content as '{sha256}e0544266408a6f446506f0fcefdb4077bf1df695530666c40ca05313a96621ae' (corrective) | |
Debug: /Stage[main]/Mongodb::Server::Config/File[/u01/app/MongoDB/key/mongod.key]: The container Class[Mongodb::Server::Config] will propagate my refresh event | |
Notice: /Stage[main]/Mongodb::Server::Config/File[/u01/app/MongoDB/data]/ensure: created (corrective) | |
Debug: /Stage[main]/Mongodb::Server::Config/File[/u01/app/MongoDB/data]: The container Class[Mongodb::Server::Config] will propagate my refresh event | |
Debug: Class[Mongodb::Server::Config]: The container Stage[main] will propagate my refresh event | |
Debug: Class[Mongodb::Server::Config]: The container Class[Mongodb::Server] will propagate my refresh event | |
Info: Class[Mongodb::Server::Config]: Scheduling refresh of Class[Mongodb::Server::Service] | |
Info: Class[Mongodb::Server::Service]: Scheduling refresh of Service[mongodb] | |
Debug: /Stage[main]/Selinux/Selinux::Exec_restorecon[mariadb_data]/Exec[selinux::exec_restorecon /u01/app/MongoDB]: 'restorecon -R /u01/app/MongoDB' won't be executed because of failed check 'refreshonly' | |
Debug: Class[Selinux]: The container Stage[main] will propagate my refresh event | |
Debug: Executing: '/bin/systemctl is-active -- mongod' | |
Debug: Executing: '/bin/systemctl is-enabled -- mongod' | |
Debug: Executing: '/bin/systemctl show --property=NeedDaemonReload -- mongod' | |
Debug: Executing: '/bin/systemctl unmask -- mongod' | |
Debug: Executing: '/bin/systemctl start -- mongod' | |
Debug: Executing: '/bin/systemctl is-enabled -- mongod' | |
Notice: /Stage[main]/Mongodb::Server::Service/Service[mongodb]/ensure: ensure changed 'stopped' to 'running' (corrective) | |
Debug: /Service[mongodb]: The container Class[Mongodb::Server::Service] will propagate my refresh event | |
Info: /Service[mongodb]: Unscheduling refresh on Service[mongodb] | |
Debug: Unable to connect to mongodb server (10.100.100.19:27017): Connection refused - connect(2) for "10.100.100.19" port 27017 | |
Debug: Failed to connect to mongodb; sleeping 4 seconds before retry | |
Debug: Unable to connect to mongodb server (10.100.100.19:27017): Connection refused - connect(2) for "10.100.100.19" port 27017 | |
Debug: Failed to connect to mongodb; sleeping 4 seconds before retry | |
Debug: Unable to connect to mongodb server (10.100.100.19:27017): Connection refused - connect(2) for "10.100.100.19" port 27017 | |
Debug: Failed to connect to mongodb; sleeping 4 seconds before retry | |
Debug: Unable to connect to mongodb server (10.100.100.19:27017): Connection refused - connect(2) for "10.100.100.19" port 27017 | |
Debug: Failed to connect to mongodb; sleeping 4 seconds before retry | |
Debug: Unable to connect to mongodb server (10.100.100.19:27017): Connection refused - connect(2) for "10.100.100.19" port 27017 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Then, when I do 'restorecon -Rv /u01', the context change: