Running puppetd in openvz displays a warning [message #44788] |
Wed, 04 January 2012 09:24  |
Benjamin Henrion
Messages: 51 Registered: February 2011
|
Member |
|
|
Hi,
I am running puppet clients in openvz containers, but I get a warning
message like this:
============================================================ =
sabayon / # puppetd --test
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
info: Caching catalog for sabayon
info: Applying configuration version '1325668910'
notice: Finished catalog run in 0.01 seconds
============================================================ =
I compiled puppetd without the selinux use flag, any idea how to get
rid of this warning?
Best,
--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
|
|
|
Re: Running puppetd in openvz displays a warning [message #44789 is a reply to message #44788] |
Wed, 04 January 2012 10:48  |
mdfranz
Messages: 3 Registered: July 2011
|
Junior Member |

|
|
What version of puppet?
What version of Linux in your containers?
Anytime you see memory errors you should check /proc/user_beancounters for hits
I recall having some NON-FATAL puppet errors due to selinux at some
point in time during puppet runs with Ubuntu 10.04 and Centos 5/6
containers and the ancient puppet from the Ubuntu repos whatever is in
EPEL.
- mdf
On Wed, Jan 4, 2012 at 4:24 AM, Benjamin Henrion <bh@udev.org> wrote:
> Hi,
>
> I am running puppet clients in openvz containers, but I get a warning
> message like this:
>
> ============================================================ =
> sabayon / # puppetd --test
> Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
> Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
> Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
> Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
> Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
> Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
> Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
> info: Caching catalog for sabayon
> info: Applying configuration version '1325668910'
> notice: Finished catalog run in 0.01 seconds
> ============================================================ =
>
> I compiled puppetd without the selinux use flag, any idea how to get
> rid of this warning?
>
> Best,
>
> --
> Benjamin Henrion <bhenrion at ffii.org>
> FFII Brussels - +32-484-566109 - +32-2-4148403
> "In July 2005, after several failed attempts to legalise software
> patents in Europe, the patent establishment changed its strategy.
> Instead of explicitly seeking to sanction the patentability of
> software, they are now seeking to create a central European patent
> court, which would establish and enforce patentability rules in their
> favor, without any possibility of correction by competing courts or
> democratically elected legislators."
--
--
Matthew Franz
mdfranz@gmail.com
|
|
|