Age | Commit message (Collapse) | Author |
|
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Refresh patches with devtool command to fix do_patch warning.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Refresh patches with devtool command to fix do_patch warning.
Remove fix_missing_qb_array.patch since it had been fixed upstream.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Refresh patch with devtool command to fix do_patch warning.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
cluster-glue refers to some resources located in $OCF_ROOT_DIR which is
provided by package cluster-resource-agents. But these resources are
installed to ${libdir}/ocf by previous commit. So update EXTRA_OECONF to
set OCF_ROOT_DIR with ${libdir}/ocf too.
Update RDEPENDS of ${PN}-lrmtest as well.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Rebuilding pacemaker would cause the following error:
| NOTE: make clean
| make: *** No rule to make target 'clean'. Stop.
| ERROR: oe_runmake failed
Fix this problem by setting CLEANBROKEN to "1".
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* Set the default OCF_ROOT_DIR to $libdir/ocf
to make the resource agents components more
compatible
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch
* Rework the patch as the logic is wrong previously
as the STAGING_INCDIR is actually applicable in
cross compiling env.
Update the patch to locate the right OCF_ROOT_DIR
in cross compiling env.
* Add "rm -rf ${D}${localstatedir}/lib/heartbeat" to
fix below error:
Error: Transaction check error:
file /var/lib/heartbeat/cores conflicts between attempted installs of pacemaker-1.1.16-r0.core2_64 and cluster-glue-1.0.12-r0.core2_64
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* Add pacemaker-cli-utils to RDEPENDS as
many cluster resource agents manager
commands such as crm_mon are packed into
pacemaker-cli-utils.
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
pacemaker requires corosync starts before it. But corosync could not start
without configuration and autostart is disabled. So disable autostart of
pacemaker too.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
If the network is in poor condition, there may be an error when generate
manpages:
| a2x --xsltproc-opts=--catalogs -L -f manpage doc/crm.8.adoc
[snip]
| a2x: ERROR: "xsltproc" --catalogs --stringparam callout.graphics 0
--stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0
"/buildarea/build/tmp-glibc/work/armv5e-wrs-linux-gnueabi/crmsh/2.3.2-r0/recipe-sysroot-native/etc/asciidoc/docbook-xsl/manpage.xsl"
"/buildarea/build/tmp-glibc/work/armv5e-wrs-linux-gnueabi/crmsh/2.3.2-r0/crmsh-2.3.2/doc/crm.8.xml"
returned non-zero exit status 6
| make: *** [Makefile:848: doc/crm.8] Error 1
By default, xsltproc tries to fetch DTDs from network. If the nework is
in poor condition, the incomplete download may cause a dtd parsing
error. Pass "--nonet" and "--novalid" options to xsltproc to disable the
network access and skip loading the document´s DTD.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
When glibc upgrade to glibc-2.26.90-14, there was a compile error in fsck.ocfs2,
the compile error messages like,
In file included from /usr/include/string.h:431:0,
from ../include/ocfs2/ocfs2.h:41,
from pass4.c:32:
include/strings.h:37:1: error: unknown type name 'errcode_t'; did you mean 'mode_t'?
errcode_t o2fsck_strings_insert(o2fsck_strings *strings, char *string,
^~~~~~~~~
mode_t
Backport a patch to rename strings.h => o2fsck_strings.h
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Fix below warning when ${libdir} is other than '/usr/lib',
-- snip --
WARNING: pacemaker-1.1.16-r0 do_package: QA Issue: pacemaker: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/ocf
/usr/lib/ocf/resource.d
/usr/lib/ocf/resource.d/.isolation
/usr/lib/ocf/resource.d/pacemaker
/usr/lib/ocf/resource.d/.isolation/docker-wrapper
/usr/lib/ocf/resource.d/pacemaker/SystemHealth
/usr/lib/ocf/resource.d/pacemaker/HealthCPU
/usr/lib/ocf/resource.d/pacemaker/ClusterMon
/usr/lib/ocf/resource.d/pacemaker/pingd
/usr/lib/ocf/resource.d/pacemaker/HealthSMART
/usr/lib/ocf/resource.d/pacemaker/controld
/usr/lib/ocf/resource.d/pacemaker/Stateful
/usr/lib/ocf/resource.d/pacemaker/ping
/usr/lib/ocf/resource.d/pacemaker/o2cb
/usr/lib/ocf/resource.d/pacemaker/remote
/usr/lib/ocf/resource.d/pacemaker/Dummy
/usr/lib/ocf/resource.d/pacemaker/SysInfo
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
pacemaker: 18 installed and not shipped files. [installed-vs-shipped]
-- snip --
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
- Add systemd support
- Add PACKAGECONFIG for nss, dbus, rdma and snmp
- Install config file for corosync-notifyd
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Disable stack user support explicitly and only support
stack 'o2cb' in init script o2cb.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* use _append for do_install so that autotools_do_install
will be run first.
* add -m for the install commands.
* add ${S} for install source files instead of relative path.
* remove cluster.conf.sample and use the sample conf file
in source code instead.
* Disable systemd services by default since it won't
work before the conf file is changed according to
the actual network settings.
* Fix the services to use the correct helper scripts
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* Remove the duplicated RDEPENDS_${PN}
* Add dependency on e2fsprogs-native to fix:
| compile_et o2dlm_err.et
| /bin/bash: compile_et: command not found
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Changes:
- Fix the license to AGPLv3
- Add summary, description and homepage
- Add systemd support
- Don't change the files in ${S}, change them
after installing.
- Add PACKAGECONFIG for pam and enable it when
it's in DISTRO_FEATURES
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* update the licenses and checksum
* fix PN -> BPN for multilib builds
* add PACKAGECONFIG for systemd and libsmtp
* add fix for libgnutls
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
The Racoon2 project is a joint effort which provides an implementation
of key management system for IPsec. It supports IKEv1, IKEv2, and KINK
protocols.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
crm shell, a Pacemaker command line interface for
management and configuration.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
It fails to find fs.sh.in when srddir and builddir are not the same:
make[5]: Entering directory '/path/to/builddir/rgmanager/src/resources'
cat fs.sh.in | sed \
-e 's#@''LOGDIR@#/var/log/cluster#g' \
> fs.sh.out
cat: fs.sh.in: No such file or directorychmod +x fs.sh.out
mv fs.sh.out fs.sh
Add abs_srcdir to fix this.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Fix configure.ac to cope with new autoconf.
Recent autoconfs generate a bad configure when AM_INIT_AUTOMAKE is
called as late as it was, ending up thinking that the am_aux_dir is pwd
at the start of the build. Move it up to under AC_INIT to fix that.
configure.ac calls AM_INIT_AUTOMAKE too late. The attached patch moves
it up to just after AC_INIT, fixing the FTBFS.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* Add missing runtime dependencies for:
- many tools and scripts need bash and perl.
- lvm.sh requires: lvm2
- ip.sh requires: ethtool iproute2 iputils-arping
- fs.sh requires: e2fsprogs-e2fsck util-linux quota
- netfs.sh requires: procps util-linux nfs-utils
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
UCARP allows a couple of hosts to share common virtual IP addresses in
order to provide automatic failover. It is a portable userland
implementation of the secure and patent-free Common Address Redundancy
Protocol (CARP).
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Update useradd parameters for cluster-glue according
to spec file from source code:
https://github.com/ClusterLabs/cluster-glue/blob/master/cluster-glue-fedora.spec
And use HA_USER and HA_GROUP for easy maintenance.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
It includes LGPL 2.1 as well according to COPYING.LIB.
And point the LIC_FILES_CHKSUM to the checksums of the
license text in the source code.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
inherit systemd and add PACKAGECONFIG to add proper
configure option and dependency when systemd is enabled.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Archive file changed at the source
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
mainloop.c:406:8: error: unknown type name 'qb_array_t'
| static qb_array_t *gio_map = NULL;
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
| checking for pkg-config... no
| configure: error: You need pkgconfig installed in order to build
| ERROR: Function failed: do_configure (log file is located at /home/akuster/oss/maint/oe-test-distro/build/tmp-glibc-glibc/work/i586-dummy-linux/resource-agents/3.9.7-r0/temp/log.do_configure.3415)
ERROR: Task (/home/akuster/oss/maint/oe-test-distro/openembedded-core/../meta-cgl/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_3.9.7.bb:do_configure) failed with exit code '1
add inherit pkgconfig
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
message_handler_req_exec_lck_resourceclose is to remove cleanup
entry from corosync. Now this job is done by pacemaker. So remove
this feature from openais.
Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
On some targets, "/etc/init.d/openais stop" can not make
corosync quit since corosync does not respond to signal TERM.
Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* If req_lib_tmr_timerreschedule->timer_attributes.type is
SA_TIME_ABSOLUTE, an absolute time value must be higher
than the current absolute time.According to the type, we
will compare the current time with an absolute time. If
the type is SA_TIME_ABSOLUTE, we will compare. Or else,
we do nothing;
* For single-event timers, timerPeriodDuration = 0 is required.
Note that saTmrTimerReschedule() cannot be used to change a
timer from being a single-event timer to a periodic timer or
vice versa. Since the older timerPeriodDuration is 0 in testtmr.c
file, it is a single-event timer. The following reschedule will
change it to a periodic timer. It is not permitted.
Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
openais actually runs on top of corosync. The init
script was checking for the pid of "openais"
rather than checking for corosync's pid.
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
inherit systemd and add .service for systemd support
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Follow Up Flag: Follow up
Flag Status: Flagged
From: Armin Kuster <akuster@mvista.com>
ERROR: openais-1.1.4-r0 do_fetch: Error executing a python function in exec_python_func()
autogenerated:
ftp://ftp@ breaks the fetcher and really is not needed.
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Alexandru.Vaduva <alexandru.vaduva@linux.com>
|
|
Upgrade resource-agents from 3.9.6 to 3.9.7.
Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
1) Upgrade pacemaker from 1.1.13 to 1.1.15.
2) Modify patch, since the data has been changed.
0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch
Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
NOTE: /home/akuster/oss/clean/meta-cgl/meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.4.bb: base_contains is deprecated, please use bb.utils.contains instead.
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
NOTE: /home/akuster/oss/clean/meta-cgl/meta-cgl-common/recipes-cgl/heartbeat/heartbeat_3.0.6.bb: base_contains is deprecated, please use bb.utils.contains instead
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
1. 1.8.4 asks libaio
2. remove 0002-ocfs2_fs.h-mount.ocfs2.c-fix-compile-error.patch
which has been merged into 1.8.4
3. remove the host contamination by replacing the host related path
in do_configure_prepend
4. add bash into RDEPENDS, since /etc/init.d/ocfs2 and /etc/init.d/o2cb
are the bash scripts
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
poky distro doesn't include static libraries by defaule anymore, so we
should use shared libraries. If at a later point it proves that we must
compile with static library we can override the no-static-libs include
in our distro definition.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
lksctp-tools was initially added with the aim to fulfill STD.3.1. The
Linux kernel >2.6 includes support for the base features of SCTP, so
there is no need for the package.
Besides that, there is already a recipe defined in meta-networking that
is kept up to date. If a P2 requirement will require lksctp-tools, we
can add it from there.
CGL requirement STD.3.1
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Signed-off-by: Siva Borra <siva.borra@enea.com>
|
|
* WARNING: QA Issue: pacemaker: Files/directories were installed but not shipped in any package:
/lib/systemd/system/crm_mon.service
Please set FILES such that these items are packaged.
* WARNING: QA Issue: pacemaker-libs rdepends on dbus-lib, but it isn't a build dependency? [build-deps]
* Also Modify SRC_URI,since original one is always do_fetch failed.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|