FENCE_AGENT(8)
π FENCE_AGENT(8) β the fence_openstack glow-up π
okay bestie, sit down, hydrate, and let me tell you about fence_openstack(8) from the System Manager's Manual. this is the one, this is the moment. π«Ά
β¨ NAME β¨
fence_openstack</p> β the fence agent for OpenStack's Nova service. yes, that's her. she's a fencing agent, she's from the OpenStack Nova world, and she's that girl. π
πΈ DESCRIPTION πΈ
fence_openstack</p> is a Power Fencing agent you can use with machines controlled by the Openstack's Nova service. she calls up python-novaclient and honestly? that dependency is mandatory β it has to be installed, no negotiating, no cap. β¨
and here's the vibe: the fence agent takes options on the command line and from stdin. fenced sends parameters through stdin when it execs the agent. but you can also just run the agent by itself with command line options β which is lowkey iconic for testing and for turning outlets on or off from scripts. main character energy fr fr. π₯
Vendor URL: https://wiki.openstack.org/wiki/Nova
π PARAMETERS π
every single one, in order, no skips, no "eh you don't need that one." we don't do that here. π€
-o,--action=[action]β the fencing action. (Default Value:reboot)-p,--password=[password]β login password or passphrase. π€«-S,--password-script=[script]β script to run to retrieve the password.-n,--plug=[UUID]β the UUID of the node to be fenced.--ssl-insecureβ use an SSL connection without verifying the certificate. (> lowkey risky, bestie β she said what she said.)-l,--username=[name]β login name.--auth-url=[authurl]β Keystone Auth URL.--project-name=[project]β Keystone Project. (Default Value:admin)--user-domain-name=[domain]β Keystone User Domain Name. (Default Value:Default)--project-domain-name=[domain]β Keystone Project Domain Name. (Default Value:Default)--cloud=[cloud]β Cloud fromclouds.yaml. βοΈ--openrc=[openrc]β openrc config file.--uuid=[uuid]β replaced by port/-n/--plug. (she's retired, respect her legacy π)--cacert=[cacert]β SSL X.509 certificates file. (Default Value: β yes, it's blank, that's literally what it says π)--apitimeout=[seconds]β timeout in seconds to use for API calls, default is 60. (Default Value:60)-q,--quietβ disable logging to stderr. does not affect--verboseor--debug-fileor logging to syslog.-v,--verboseβ verbose mode. multiple-vflags can be stacked on the command line (e.g.,-vvv) to increase verbosity. stack her up, she eats. π₯--verbose-levelβ level of debugging detail in output. defaults to the number of--verboseflags specified on the command line, or to 1 ifverbose=1in a stonith device configuration (i.e., on stdin).-D,--debug-file=[debugfile]β write debug information to given file.-V,--versionβ display version information and exit.-h,--helpβ display help and exit.--plug-separator=[char]β separator for plug parameter when specifying more than 1 plug. (Default Value:,)-C,--separator=[char]β separator for CSV created by 'list' operation. (Default Value:,)--delay=[seconds]β wait X seconds before fencing is started. (Default Value:0)--disable-timeout=[true/false]β disable timeout (true/false). (default: true when run from Pacemaker 2.0+)--login-timeout=[seconds]β wait X seconds for cmd prompt after login. (Default Value:5)--power-timeout=[seconds]β test X seconds for status change after ON/OFF. (Default Value:60)--power-wait=[seconds]β wait X seconds after issuing ON/OFF. (Default Value:0)--shell-timeout=[seconds]β wait X seconds for cmd prompt after issuing command. (Default Value:3)--stonith-status-sleep=[seconds]β sleep X seconds between status calls during a STONITH action. (Default Value:1)--retry-on=[attempts]β count of attempts to retry power on. (Default Value:1)
π ACTIONS π
the whole roster. every single one of them shows up and shows out. π
onβ power on machine. β‘offβ power off machine.rebootβ reboot machine. πstatusβ this returns the status of the plug/virtual machine.listβ list available plugs with aliases/virtual machines if there is support for more then one device. returnsN/Aotherwise.list-statusβ list available plugs with aliases/virtual machines and their power state if it can be obtained without additional commands. efficiency queen. β¨monitorβ check the health of fence device. π©Ίmetadataβ display the XML metadata describing this resource.manpageβ the operational behavior of this is not known. π (she's mysterious, we love her anyway)validate-allβ validate if all required parameters are entered.
π¦ STDIN PARAMETERS π¦
same energy, snake_case era. these are the ones that come in through stdin, obsoletes and all. π
actionβ fencing action (Default Value:reboot)passwordβ login password or passphrase. Obsoletes:passwdpassword_scriptβ script to run to retrieve password. Obsoletes:passwd_scriptplugβ UUID of the node to be fenced. Obsoletes:portssl_insecureβ use SSL connection without verifying certificateusernameβ login name. Obsoletes:loginauth_urlβ Keystone Auth URL. Obsoletes:auth-urlproject_nameβ Keystone Project (Default Value:admin) Obsoletes:project-nameuser_domain_nameβ Keystone User Domain Name (Default Value:Default) Obsoletes:user-domain-nameproject_domain_nameβ Keystone Project Domain Name (Default Value:Default) Obsoletes:project-domain-namecloudβ Cloud fromclouds.yaml. βοΈopenrcβ openrc config fileuuidβ replaced by port/-n/--plugcacertβ SSL X.509 certificates file (Default Value: β blank, as above π)apitimeoutβ timeout in seconds to use for API calls, default is 60. (Default Value:60)quietβ disable logging to stderr. does not affect--verboseor--debug-fileor logging to syslog.verboseβ verbose mode. multiple-vflags can be stacked on the command line (e.g.,-vvv) to increase verbosity.verbose_levelβ level of debugging detail in output. defaults to the number of--verboseflags specified on the command line, or to 1 ifverbose=1in a stonith device configuration (i.e., on stdin).debug_fileβ write debug information to given file. Obsoletes:debugversionβ display version information and exithelpβ display help and exitplug_separatorβ separator for plug parameter when specifying more than 1 plug (Default Value:,)separatorβ separator for CSV created by 'list' operation (Default Value:,)delayβ wait X seconds before fencing is started (Default Value:0)disable_timeoutβ disable timeout (true/false) (default: true when run from Pacemaker 2.0+)login_timeoutβ wait X seconds for cmd prompt after login (Default Value:5)power_timeoutβ test X seconds for status change after ON/OFF (Default Value:60)power_waitβ wait X seconds after issuing ON/OFF (Default Value:0)shell_timeoutβ wait X seconds for cmd prompt after issuing command (Default Value:3)stonith_status_sleepβ sleep X seconds between status calls during a STONITH action (Default Value:1)retry_onβ count of attempts to retry power on (Default Value:1)
and that's the whole page, bestie. no notes. periodt. πβ¨
this lil masterpiece is brought to you by fence_openstack (Fence Agent), dated 2009-10-20 β vintage, iconic, still slaying. mwah. ππ π«Ά
π¦ where this page comes from
- centos-stream 10: fence-agents-openstack 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-openstack 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-openstack 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-openstack 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-openstack 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-openstack 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-openstack 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-openstack 4.17.0-1ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms