GithubHelp home page GithubHelp logo

gao-yan / pacemaker-mgmt Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 11.0 2.66 MB

Pacemaker-mgmt is a server/client GUI to manage pacemaker based HA solution

Home Page: http://www.clusterlabs.org

Shell 5.45% C 75.50% Perl 9.23% Java 6.20% Makefile 3.50% M4 0.13%

pacemaker-mgmt's People

Contributors

alan-r avatar atomictoaster avatar bes-internal avatar dmuhamedagic avatar gao-yan avatar hideoyamauchi avatar horms avatar kinyoshida avatar krivenok avatar lennie avatar ultrabug avatar xwhu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pacemaker-mgmt's Issues

mgmt_tls_lib.c gnutls deprecation errors cause build failure under CentOS 7

Package list: https://gist.githubusercontent.com/sammcj/2fabbfe261992f65a1a3/raw/3292a5f2cda0de6a3c45b9fe00f1b13a9cfb53c9/rpm.qa

[root@int-build-samm pacemaker-mgmt]# ./ConfigureMe make

Configure flags for RedHat Linux: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --disable-rpath
Running ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --disable-rpath
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.35.2... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.3
checking for XML::Parser... ok
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
Our Host OS: linux-gnu/x86_64-unknown-linux-gnu
configure: Sanitizing prefix: /usr
configure: Sanitizing exec_prefix: NONE
configure: Sanitizing ais_prefix: /usr
configure: Sanitizing INITDIR:
checking which init (rc) directory to use... /etc/init.d
configure: Sanitizing libdir: ${exec_prefix}/lib
checking which lib directory to use... /usr/lib64
configure: WARNING: sharedstatedir directory (/usr/com) does not exist!
configure: WARNING: docdir directory (/usr/share/doc/pacemaker-mgmt) does not exist!
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for glibtool... $(SHELL) $(top_builddir)/libtool
checking for glibtool or libtool*... $(SHELL) $(top_builddir)/libtool has been found.
checking for gmake... gmake
checking for gmake or make... gmake has been found.
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for lynx... /usr/bin/lynx
checking for pod2man... /usr/bin/pod2man
checking for route... /usr/sbin/route
checking for rpmbuild... /usr/bin/rpmbuild
checking for netstat... /usr/bin/netstat
checking for ping... /usr/bin/ping
checking for ifconfig... /usr/sbin/ifconfig
checking for ssh... /usr/bin/ssh
checking for scp... /usr/bin/scp
checking for python... (cached) /usr/bin/python
checking for mail... /usr/bin/mail
checking for getent... /usr/bin/getent
checking for ip... /usr/sbin/ip
checking for xml2-config... /usr/bin/xml2-config
checking for reboot... /usr/sbin/reboot
checking for poweroff... /usr/sbin/poweroff
checking for whoami... /usr/bin/whoami
checking for swig... /usr/bin/swig
checking for egrep... (cached) /usr/bin/grep -E
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gzip... /usr/bin/gzip
checking for tar... /usr/bin/tar
checking for md5... no
checking for test... /usr/bin/test
checking for pkg-config... /usr/bin/pkg-config
checking for mktemp... /usr/bin/mktemp
checking if chown works for non-root... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for sched_getscheduler in -lposix4... no
checking for dlopen in -lc... no
checking for dlopen in -ldl... (cached) yes
checking for sched_getscheduler in -lrt... yes
checking for getopt_long in -lgnugetopt... no
checking for pam_start in -lpam... yes
using /usr/bin/pkg-config glib-2.0
checking where is python installed... using /usr/bin/python
checking if netstat supports -f inet flag... yes
checking ping option for timeout - w or t... -w1
checking ifconfig option to list interfaces...
checking for locale directory... /usr/share/locale
checking for RPM directory... not found
checking for gettext in -lc... yes
checking for special glib includes: ... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
checking for glib library flags... -lglib-2.0
checking for ANSI C header files... (cached) yes
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/reboot.h usability... yes
checking sys/reboot.h presence... yes
checking for sys/reboot.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip_var.h... no
checking for netinet/ip_compat.h... no
checking for netinet/ip_fw.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for linux/watchdog.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking ucred.h usability... no
checking ucred.h presence... no
checking for ucred.h... no
checking for getpeerucred... no
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking for sys/ucred.h... no
checking sys/cred.h usability... no
checking sys/cred.h presence... no
checking for sys/cred.h... no
checking xti.h usability... no
checking xti.h presence... no
checking for xti.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for special libxml2 includes... -I/usr/include/libxml2
checking for xmlReadMemory in -lxml2... yes
checking for linux/icmpv6.h... yes
./configure: line 17693: test: too many arguments
checking libxml/xpath.h usability... yes
checking libxml/xpath.h presence... yes
checking for libxml/xpath.h... yes
checking for CRYPTO_free in -lcrypto... yes
checking for size_t... yes
checking for facilitynames in syslog.h... yes
checking for preprocessor stringizing operator... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for type struct tm ... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for lt_dlopen in -lltdl... yes
configure: Using installed ltdl
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking curses/curses.h usability... no
checking curses/curses.h presence... no
checking for curses/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking ncurses/ncurses.h usability... yes
checking ncurses/ncurses.h presence... yes
checking for ncurses/ncurses.h... yes
checking for printw in -lncurses... yes
checking for printw in -lncurses... (cached) yes
checking hb_config.h usability... no
checking hb_config.h presence... no
checking for hb_config.h... no
checking glue_config.h usability... yes
checking glue_config.h presence... no
configure: WARNING: glue_config.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: glue_config.h: proceeding with the compiler's result
checking for glue_config.h... yes
checking for HA_HBCONF_DIR in glue_config.h... /etc/ha.d/
checking for HB_RA_DIR in glue_config.h... /etc/ha.d/resource.d/
checking for HA_LIBHBDIR in glue_config.h... /usr/lib64/heartbeat
checking for HA_VARRUNDIR in glue_config.h... /var/run
checking for HA_VARLIBHBDIR in glue_config.h... /var/lib/heartbeat
checking for OCF_ROOT_DIR in glue_config.h... /usr/lib/ocf
checking for OCF_RA_DIR in glue_config.h... /usr/lib/ocf/resource.d/
checking for HA_APIGROUP in glue_config.h... haclient
checking for HA_CCMUSER in glue_config.h... hacluster
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pacemaker_lrmd... yes
checking crm_config.h usability... yes
checking crm_config.h presence... no
configure: WARNING: crm_config.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: crm_config.h: proceeding with the compiler's result
checking for crm_config.h... yes
checking for CRM_DAEMON_DIR in crm_config.h... /usr/libexec/pacemaker
checking pacemaker/crm/common/cluster.h usability... no
checking pacemaker/crm/common/cluster.h presence... no
checking for pacemaker/crm/common/cluster.h... no
checking pacemaker/crm/cluster.h usability... yes
checking pacemaker/crm/cluster.h presence... no
configure: WARNING: pacemaker/crm/cluster.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: pacemaker/crm/cluster.h: proceeding with the compiler's result
checking for pacemaker/crm/cluster.h... yes
checking for crm_cluster_t... yes
checking for crm_data_t... no
checking for pcmk_strerror in -lcrmcommon... yes
checking pacemaker/crm/services.h usability... yes
checking pacemaker/crm/services.h presence... yes
checking for pacemaker/crm/services.h... yes
checking whether services_lrm_status_str is declared... yes
checking whether services_ocf_exitcode_str is declared... yes
checking whether __xml_next is declared... yes
checking for crm_ipc_new in -lcrmcommon... yes
checking for update_attr_delegate in -lcib... yes
checking for new_ha_date in -lcrmcommon... no
checking whether crm_concat is declared... no
checking whether crm_int_helper is declared... no
checking whether generate_series_filename is declared... no
checking whether get_last_sequence is declared... no
checking whether create_cib_fragment is declared... no
checking whether crm_xml_init is declared... yes
checking for git... /usr/bin/git
checking build revision... git hash: 09bfb26
09bfb26
checking for PILLoadPlugin in -lpils... yes
checking for G_main_add_IPC_Channel in -lplumb... yes
checking for msgfromIPC_timeout... yes
checking for struct lrm_ops.fail_rsc... yes
checking for heartbeat support... checking for ll_cluster_new in -lhbclient... no
./configure: line 19645: test: =: unary operator expected

checking for ucd-snmp/snmp.h... no
checking net-snmp/net-snmp-config.h usability... yes
checking net-snmp/net-snmp-config.h presence... yes
checking for net-snmp/net-snmp-config.h... yes
checking for net-snmp-config... /usr/bin/net-snmp-config
checking for special snmp libraries... -Wl,-z,relro -Wl,-z,now -L/usr/lib64 -lnetsnmp -lssl -lssl -lcrypto -lm
checking snmp libraries: -lplumb -lpils -lcib -lcrmcommon -lcrmcommon -lxml2 -lc -lpam -lrt -ldl  -lltdl -Wl,-z,relro -Wl,-z,now -L/usr/lib64 -lnetsnmp -lssl -lssl -lcrypto -lm... ok
checking whether gcc -std=gnu99 supports "-fgnu89-inline"... yes
checking whether gcc -std=gnu99 supports "-Wcast-qual"... yes
checking whether gcc -std=gnu99 supports "-Werror"... yes
checking whether printw() requires argument of "const char *"... yes
checking whether gcc -std=gnu99 supports "-Wall"... yes
checking whether gcc -std=gnu99 supports "-Wmissing-prototypes"... yes
checking whether gcc -std=gnu99 supports "-Wmissing-declarations"... yes
checking whether gcc -std=gnu99 supports "-Wstrict-prototypes"... yes
checking whether gcc -std=gnu99 supports "-Wdeclaration-after-statement"... yes
checking whether gcc -std=gnu99 supports "-Wpointer-arith"... yes
checking whether gcc -std=gnu99 supports "-Wwrite-strings"... yes
checking whether gcc -std=gnu99 supports "-Wcast-qual"... yes
checking whether gcc -std=gnu99 supports "-Wcast-align"... yes
checking whether gcc -std=gnu99 supports "-Wbad-function-cast"... yes
checking whether gcc -std=gnu99 supports "-Winline"... yes
checking whether gcc -std=gnu99 supports "-Wmissing-format-attribute"... yes
checking whether gcc -std=gnu99 supports "-Wformat=2"... yes
checking whether gcc -std=gnu99 supports "-Wformat-security"... yes
checking whether gcc -std=gnu99 supports "-Wformat-nonliteral"... yes
checking whether gcc -std=gnu99 supports "-Wno-long-long"... yes
checking whether gcc -std=gnu99 supports "-Wno-strict-aliasing"... yes
checking whether gcc -std=gnu99 supports "-std=iso9899:199409"... yes
Enabling ANSI Compatibility on this platform
checking whether gcc -std=gnu99 supports "-Werror"... yes
Enabling Fatal Warnings (-Werror) on this platform
checking for alphasort... yes
checking for inet_pton... yes
checking for NoSuchFunctionName... no
checking for scandir... yes
checking for setenv... yes
checking for strerror... yes
checking for unsetenv... yes
checking for strnlen... yes
checking for strndup... yes
checking for daemon... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for getopt... yes
checking for fcntl... yes
checking for flock... yes
checking for inet_aton... yes
checking for mallinfo... yes
checking for mallopt... yes
checking for __default_morecore... yes
checking for seteuid... yes
checking for setegid... yes
checking for getpeereid... no
checking for setproctitle... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzBuffToBuffCompress  in -lbz2... yes
checking gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking for libgnutls-config... /usr/bin/libgnutls-config
checking for gnutls header flags... -I/usr/include/p11-kit-1
checking for gnutls library flags... -lgnutls
checking for gnutls_init in -lgnutls... yes
checking for gnutls_priority_set_direct... yes
checking for sigignore... yes
checking whether gcc -std=gnu99 supports "-funsigned-char"... yes
checking for valgrind... no
checking for gawk... /usr/bin/gawk
Supressing make details:
checking for cimserver... no
checking for sfcbd... no
checking for owcimomd... no
configure: WARNING: Cimom not found, MOF will not be installed!
checking for headers required to compile python extensions... found
checking for /etc/pam.d/common-account... no
checking for /etc/pam.d/common-auth... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README
config.status: creating debian/Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating include/mgmt/Makefile
config.status: creating lib/Makefile
config.status: creating lib/mgmt/Makefile
config.status: creating cim/Makefile
config.status: creating cim/mof/Makefile
config.status: creating cim/mof/register_providers.sh
config.status: creating cim/mof/unregister_providers.sh
config.status: creating mgmt/Makefile
config.status: creating mgmt/daemon/Makefile
config.status: creating mgmt/client/Makefile
config.status: creating mgmt/client/haclient.py
config.status: creating mgmt/client/crm_gui.desktop
config.status: creating mgmt/client/mgmtcmd.py
config.status: creating po/Makefile.in
config.status: creating replace/Makefile
config.status: creating snmp_subagent/Makefile
config.status: creating snmp_subagent/SNMPAgentSanityCheck
config.status: creating tsa_plugin/Makefile
config.status: creating tsa_plugin/testrun.sh
config.status: creating tsa_plugin/linuxha-adapter
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/mgmt_config.h
config.status: include/mgmt_config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: setting ALL_LINGUAS in configure.in is obsolete
config.status: creating po/Makefile
config.status: executing libtool commands
config.status: executing po/stamp-it commands

pacemaker-mgmt configuration:
  Version                  = 2.0 (Build: 09bfb26)
  Prefix                   = /usr
  Executables              = /usr/sbin
  Man pages                = /usr/share/man
  Libraries                = /usr/lib64
  Header files             = /usr/include
  Arch-independent files   = /usr/share
  State information        = /var
  System configuration     = /etc
  Init (rc) scripts        = /etc/init.d
  Use system LTDL          = yes
  HA group name            = haclient
  HA user name             = hacluster
  Build snmp subagent      = no
  SNMP libraries           = -Wl,-z,relro -Wl,-z,now -L/usr/lib64 -lnetsnmp -lssl -lssl -lcrypto -lm
  With Heartbeat support   = 0
  CC_WARNINGS              =  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ansi -D_GNU_SOURCE -DANSI_ONLY
  Mangled CFLAGS           = -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-inline  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char
  Libraries                = -lgnutls -lbz2 -lplumb -lpils -lcib -lcrmcommon -lcrmcommon -lxml2 -lc -lpam -lrt -ldl  -lltdl
Running gmake
Making all in replace
gmake[1]: Entering directory `/root/pacemaker-mgmt/replace'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/root/pacemaker-mgmt/replace'
Making all in include
gmake[1]: Entering directory `/root/pacemaker-mgmt/include'
gmake   all-recursive
gmake[2]: Entering directory `/root/pacemaker-mgmt/include'
Making all in mgmt
gmake[3]: Entering directory `/root/pacemaker-mgmt/include/mgmt'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/root/pacemaker-mgmt/include/mgmt'
gmake[3]: Entering directory `/root/pacemaker-mgmt/include'
if [ -r ha_version.h -a ! -w ha_version.h ]; then   \
    hgv="";                     \
    echo "Saved Version";               \
elif [ -f "../.hg_archival.txt" ]; then         \
    hgv="`/usr/bin/grep -E node: ""../.hg_archival.txt""`";         \
    echo "Hg Archived Version: ${hgv}";     \
elif [ -x  -a -d ../.hg ]; then     \
    hgv="` -R ".." id`";            \
    echo "Hg Live Version: ${hgv}";     \
elif [ -r ha_version.h ]; then              \
    hgv="";                     \
    echo "Hg Saved Live Version";           \
    cat ha_version.h;               \
else                            \
    hgv="Unknown";                  \
    echo "Unknown Hg Version";          \
fi ;                            \
if [ X"${hgv}" != "X" ]; then                   \
  echo "/* ${hgv} */" > ha_version.h;               \
  echo "#define HA_HG_VERSION \"${hgv}\"" >> ha_version.h;  \
fi
/bin/sh: line 6: [: too many arguments
Hg Saved Live Version
/* Unknown */
#define HA_HG_VERSION "Unknown"
gmake[3]: Leaving directory `/root/pacemaker-mgmt/include'
gmake[2]: Leaving directory `/root/pacemaker-mgmt/include'
gmake[1]: Leaving directory `/root/pacemaker-mgmt/include'
Making all in lib
gmake[1]: Entering directory `/root/pacemaker-mgmt/lib'
Making all in mgmt
gmake[2]: Entering directory `/root/pacemaker-mgmt/lib/mgmt'
/bin/sh ../../libtool --tag=CC   --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl -I../..          -I../..  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/libxml2 -I../../include -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl -I../..          -I../.. -I/usr/include/p11-kit-1 -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-inline  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -MT libhbmgmttls_la-mgmt_tls_lib.lo -MD -MP -MF .deps/libhbmgmttls_la-mgmt_tls_lib.Tpo -c -o libhbmgmttls_la-mgmt_tls_lib.lo `test -f 'mgmt_tls_lib.c' || echo './'`mgmt_tls_lib.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl -I../.. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I../../include -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl -I../.. -I../.. -I/usr/include/p11-kit-1 -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-inline -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -MT libhbmgmttls_la-mgmt_tls_lib.lo -MD -MP -MF .deps/libhbmgmttls_la-mgmt_tls_lib.Tpo -c mgmt_tls_lib.c  -fPIC -DPIC -o .libs/libhbmgmttls_la-mgmt_tls_lib.o
mgmt_tls_lib.c:39:1: error: 'gnutls_dh_params' is deprecated [-Werror=deprecated-declarations]
 static gnutls_dh_params dh_params;
 ^
mgmt_tls_lib.c:40:1: error: 'gnutls_anon_server_credentials' is deprecated [-Werror=deprecated-declarations]
 gnutls_anon_server_credentials anoncred_server;
 ^
mgmt_tls_lib.c:41:1: error: 'gnutls_anon_client_credentials' is deprecated [-Werror=deprecated-declarations]
 gnutls_anon_client_credentials anoncred_client;
 ^
mgmt_tls_lib.c: In function 'tls_attach_client':
mgmt_tls_lib.c:61:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
  gnutls_session* session = (gnutls_session*)gnutls_malloc(sizeof(gnutls_session));
  ^
mgmt_tls_lib.c:61:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
mgmt_tls_lib.c:61:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
mgmt_tls_lib.c:71:2: error: 'gnutls_transport_ptr' is deprecated [-Werror=deprecated-declarations]
  gnutls_transport_set_ptr(*session, (gnutls_transport_ptr) GINT_TO_POINTER(sock));
  ^
mgmt_tls_lib.c: In function 'tls_send':
mgmt_tls_lib.c:86:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
  gnutls_session* session = (gnutls_session*)s;
  ^
mgmt_tls_lib.c:86:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
mgmt_tls_lib.c: In function 'tls_recv':
mgmt_tls_lib.c:97:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
  gnutls_session* session = (gnutls_session*)s;
  ^
mgmt_tls_lib.c:97:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
mgmt_tls_lib.c: In function 'tls_detach':
mgmt_tls_lib.c:109:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
  gnutls_session* session = (gnutls_session*)s;
  ^
mgmt_tls_lib.c:109:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
mgmt_tls_lib.c: In function 'tls_attach_server':
mgmt_tls_lib.c:139:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
  gnutls_session* session = (gnutls_session*)gnutls_malloc(sizeof(gnutls_session));
  ^
mgmt_tls_lib.c:139:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
mgmt_tls_lib.c:139:2: error: 'gnutls_session' is deprecated [-Werror=deprecated-declarations]
mgmt_tls_lib.c:150:2: error: 'gnutls_transport_ptr' is deprecated [-Werror=deprecated-declarations]
  gnutls_transport_set_ptr(*session, (gnutls_transport_ptr) GINT_TO_POINTER(sock));
  ^
cc1: all warnings being treated as errors
gmake[2]: *** [libhbmgmttls_la-mgmt_tls_lib.lo] Error 1
gmake[2]: Leaving directory `/root/pacemaker-mgmt/lib/mgmt'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/pacemaker-mgmt/lib'
gmake: *** [all-recursive] Error 1

Make the GUI optional at build time

Hi,

When installing the pacemaker-mgmt it would be great to be able to avoid compiling the GUI part of the package. X/GTK-less servers would then not have to build useless GTK et al dependencies.

It would be great to implement it as a configure option like --disable-client or --disable-gui.

I made the Gentoo Linux package able to do that by doing the thing below, but I guess it would be wiser to do it in the configure :

sed -i -e 's/ client//g' mgmt/Makefile.am

and applying this patch :

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-noGTK.patch?view=markup

Thanks for considering this issue Yan !

mgmtd cannot handle templated primitives any more

When the CIB contains primitives based on templates, crm_gui cannot connect to the cluster's mgmtd any longer, as mgmtd dies in the process. The cluster can no longer be managed via the GUI. CLI management is not affected.

Software used:

  • corosync 1.3.0
  • pacemaker 1.1.12-561c4cf
  • pacemaker-mgmt 79579ac

Cluster configuration (fresh single-node pacemaker install with STONITH disabled):

# crm configure show
node desk
property cib-bootstrap-options: \
        dc-version=1.1.12-561c4cf \
        cluster-infrastructure="classic openais (with plugin)" \
        expected-quorum-votes=2 \
        stonith-enabled=false

Steps to reproduce:

  1. Connect crm_gui to cluster, verify connection is ok

  2. Create template:

    # crm configure rsc_template t_ip ocf:heartbeat:IPaddr2 \
    params nic=br0 cidr_netmask=24 \
    operations \$id=t_ip-ops \
    op monitor interval=10s timeout=20s
    
  3. Create primitive from template:

    # crm configure primitive p_gw @t_ip params ip=192.168.123.123
    

Result:

After resource creation mgmtd dies, crm_gui is no longer connected:

Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: recv msg: cib_query
                                  cib
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: set_crm: client_id=1 cib_conn=0x16ec680 cib_name=(null)
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: info: CIB query: cib
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: send msg: o
                                  <cib crm_feature_set="3.0.9" validate-with="pacemaker-2.0" epoch="60" num_updates="1"
 admin_epoch="0" cib-last-written="Mon Jan 26 12:40:32 2015" have-quorum="0" dc-uuid="desk">
 ...
                                  </cib>
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: recv msg: active_cib
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: set_crm: client_id=1 cib_conn=0x16ec680 cib_name=(null)
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: send msg: o
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: recv msg: all_nodes
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: set_crm: client_id=1 cib_conn=0x16ec680 cib_name=(null)
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: send msg: f
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: recv msg: crm_nodes
Jan 26 12:40:33 desk mgmtd[1723]: [1723]: debug: set_crm: client_id=1 cib_conn=0x16ec680 cib_name=(null)
Jan 26 12:40:33 desk pacemakerd[1383]: notice: pcmk_child_exit: Child process mgmtd terminated with signal 6 (pid=1723,
 core=0)
Jan 26 12:40:33 desk corosync[1382]: [CPG   ] got mcast request on 0x14cd100
Jan 26 12:40:33 desk pacemakerd[1383]: notice: pcmk_process_exit: Respawning failed child process: mgmtd

Subsequent connection attempts fail until the resource is deleted.

make rpm option

I'm wondering how hard it would be to add the option of building an rpm package for pacemaker-mgmt and whether this could perhaps be added into the Makefile options?

I would submit a PR for this however I must admit I am not at all experienced in building rpms.

我在编译安装pacemaker-mgmt-2.1.2时,make出现以下错误

mgmt_crm.c: 在函数‘on_cleanup_rsc’中:
mgmt_crm.c:1605: 错误:提供给函数‘query_node_uuid’的实参太少
gmake[2]: *** [libhbmgmt_la-mgmt_crm.lo] 错误 1
gmake[2]: Leaving directory /root/pacemaker-mgmt-pacemaker-mgmt-2.1.2/mgmt/daemon' gmake[1]: *** [all-recursive] 错误 1 gmake[1]: Leaving directory/root/pacemaker-mgmt-pacemaker-mgmt-2.1.2/mgmt'
make: *** [all-recursive] 错误 1
pacemaker版本
pacemaker-libs-devel-1.1.10-14.el6_5.3.i686
尝试 make pacemaker-mgmt-2.1.1提示
mgmt_lib.c: 在函数‘init_mgmt_lib’中:
mgmt_lib.c:97: 错误:隐式声明函数‘is_heartbeat_cluster’
gmake[2]: *** [libhbmgmt_la-mgmt_lib.lo] 错误 1
gmake[2]: Leaving directory /root/pacemaker-mgmt-pacemaker-mgmt-2.1.1/mgmt/daemon' gmake[1]: *** [all-recursive] 错误 1 gmake[1]: Leaving directory/root/pacemaker-mgmt-pacemaker-mgmt-2.1.1/mgmt'
make: *** [all-recursive] 错误 1
该如何解决呢

AM_PROG_MKDIR_P to be removed

Hi,
I've got a problem with compiling the gui. During bootstrap, I get a message concerning aclocal:
aclocal-1.5
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
Do you have an idea how to solve that? I tihnk it needs some patching in makefiles and configure files...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.