| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/landscape/manager/ |
Upload File : |
ó
}9Rc @ sÀ d d l Z d d l Z d d l m Z d d l m Z m Z d d l m Z d d l m
Z
d d l m Z m
Z
m Z d e f d „ ƒ YZ d e f d
„ ƒ YZ d e f d „ ƒ YZ d S(
iÿÿÿÿN( t Failure( t getProcessValuet getProcessOutputAndValue( t succeed( t log_failure( t
ManagerPlugint SUCCEEDEDt FAILEDt CharmScriptErrorc B s e Z d Z d „ Z d „ Z RS( s²
Raised when a charm-provided script fails with a non-zero exit code.
@ivar script: the name of the failed script
@ivar code: the exit code of the failed script
c C s, | | _ | | _ t j | | j ƒ ƒ d S( N( t scriptt codet Exceptiont __init__t _get_message( t selfR R
( ( s? /usr/lib/python2.7/dist-packages/landscape/manager/haservice.pyR s c C s d | j | j f S( Ns3 Failed charm script: %s exited with return code %d.( R R
( R ( ( s? /usr/lib/python2.7/dist-packages/landscape/manager/haservice.pyR
s ( t __name__t
__module__t __doc__R R
( ( ( s? /usr/lib/python2.7/dist-packages/landscape/manager/haservice.pyR s t
RunPartsErrorc B s e Z d Z d „ Z d „ Z RS( sË
Raised when a charm-provided health script run-parts directory contains
a health script that fails with a non-zero exit code.
@ivar stderr: the stderr from the failed run-parts command
c C s: d | j d ƒ d j ƒ | _ t j | | j ƒ ƒ d S( Ns %st :i ( t splitt stript messageR R R
( R t stderr( ( s? /usr/lib/python2.7/dist-packages/landscape/manager/haservice.pyR &