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
(MODULES-9658) - custom ports are not labeled correctly #1099
(MODULES-9658) - custom ports are not labeled correctly #1099
Conversation
Hello @blackknight36 , This PR looks good. Unfortunately acceptance tests are failing (Failed on 5 nodes: redhat-5-x86_64",centos-5-x86_64", oracle-5-x86_64", oracle-6-x86_64", oracle-7-x86_64"). Would it be possible to check them using litmus? Please let us know if you need any help! Cheers! `Failures:
|
@lionce Where are you seeing these failures? TravisCI shows that all checks passed, is there another service that I need to check? |
I suspect the failures are due to those distros not having an "os" fact mocked up when the tests run. The selinux module uses this fact and puppet runs will fail if it is not defined. |
Hello @blackknight36 , We're using litmus to execute acceptance tests. You can run the tests following this turorial
Cheers! |
@lionce Thanks for the links. I'll have to see if I can get Litmus working on my system.
This means that the selinux module is missing. I updated the .fixtures.yml file to ensure that the module is installed but it looks like certain distros aren't honoring this file properly. |
This parameter controls whether this module will manage selinux parameters. Default value is false.
When a node has SELinux enabled the port must be labeled properly to allow the postgresql service to start.
@lionce Tests should pass now. I have removed the dependency on the selinux module. |
@blackknight36 There's still acceptance tests failing on Oracle 6 and Oracle 7. These platforms might not come with |
@florindragos I suspect you are correct. The semanage command is part of the policycoreutils-python package which may not be installed by default in Oracle LInux. The selinux module usually handles installing this package if it's missing but in this case we're not using the selinux module which leads to an issue here. I can add a package resource to install the package needed but that would also lead to a conflict with the selinux module. What would be the best way to handle this? |
Cool! |
When a node has SELinux enabled the port must be labeled properly to allow the postgresql service to start.