debian/0000775000000000000000000000000012106260002007155 5ustar debian/rules0000775000000000000000000000146612032330556010256 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 VERSION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') PACKAGE_NAME= openstack-resource-agents SOURCE_DIR=$(PACKAGE_NAME)-$(VERSION) TARBALL=$(PACKAGE_NAME)_$(VERSION).orig.tar.gz %: dh $@ get-orig-source: git clone git://github.com/madkiss/openstack-resource-agents.git \ $(SOURCE_DIR) cd $(SOURCE_DIR) && rm -rf .git* tar czvf $(TARBALL) $(SOURCE_DIR) debian/control0000664000000000000000000000215312050757562010605 0ustar Source: openstack-resource-agents Section: admin Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Martin Loschwitz Build-Depends: debhelper (>= 9.0.0) Standards-Version: 3.9.3 Homepage: http://github.com/madkiss/openstack-resource-agents #Vcs-Git: git://github.com/madkiss/openstack-resource-agents.git Package: openstack-resource-agents Architecture: all Depends: ${misc:Depends}, net-tools, python-keystoneclient, python-glanceclient, python-novaclient, curl Description: pacemaker resource agents for OpenStack This package contains resource agents to run most of the OpenStack components inside a pacemaker-controlled high availability cluster. Agents for the following OpenStack components are included: . * glance-api * glance-registry * keystone * nova-api * nova-cert * nova-consoleauth * nova-network * nova-novnc * nova-objectstore * nova-scheduler * nova-volume * quantum-server . Install this package if you want this computer to act as member of a pacemaker HA cluster running OpenStack components. debian/copyright0000664000000000000000000000264712031374166011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: openstack-resource-agents Source: http://github.com/madkiss/openstack-resource-agents Files: Makefile debian/* ocf/glance-api ocf/glance-registry ocf/keystone Copyright: 2012 hastexo Professional Services GmbH License: Apache Files: ocf/nova-api ocf/nova-cert ocf/nova-consoleauth ocf/nova-novnc ocf/nova-scheduler Copyright: 2012 Sebastien Han License: Apache Files: ocf/quantum-server Copyright: 2012 Emilien Macchi License: Apache License: Apache Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the complete text of the Apache 2.0 license can be found at "/usr/share/common-licenses/Apache-2.0" express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the complete text of the Apache 2.0 license can be found at "/usr/share/common-licenses/Apache-2.0" debian/changelog0000664000000000000000000000163012106260002011027 0ustar openstack-resource-agents (2012.2~f3-1ubuntu3) raring; urgency=low * debian/patches/l3-agent.patch: Don't terminate dnsmasq instances when shutting down the Quantum L3 Agent (LP: #1090461). -- James Page Mon, 11 Feb 2013 21:17:52 +0000 openstack-resource-agents (2012.2~f3-1ubuntu2) raring; urgency=low * debian/control: Depends on net-tools instead of netstat. (LP: #1078828) -- Andres Rodriguez Wed, 14 Nov 2012 13:14:14 -0500 openstack-resource-agents (2012.2~f3-1ubuntu1) quantal; urgency=low * Update maintainer according to spec. * debian/rules: Add get-orig-source target. * Upload for Ubuntu. (LP: #1054022) -- Chuck Short Mon, 01 Oct 2012 10:09:54 -0500 openstack-resource-agents (2012.2~f3-1) unstable; urgency=low * Initial release -- Martin Loschwitz Tue, 28 Aug 2012 23:08:19 +0000 debian/compat0000664000000000000000000000000212031374166010371 0ustar 9 debian/source/0000775000000000000000000000000012031374166010473 5ustar debian/source/format0000664000000000000000000000001412031374166011701 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000012106257774010632 5ustar debian/patches/l3-agent.patch0000664000000000000000000000151012106257544013255 0ustar From 752ab11dfa7c308527608da1de4af0635e403278 Mon Sep 17 00:00:00 2001 From: James Page Date: Fri, 14 Dec 2012 16:52:30 +0000 Subject: [PATCH] The l3 agent stop function should NOT stop dnsmasq The dnsmasq instances are managed by the quantum-dhcp-agent so killing then make no sense and creates races in stop when both services are running on the same node. --- ocf/quantum-agent-l3 | 1 - 1 file changed, 1 deletion(-) diff --git a/ocf/quantum-agent-l3 b/ocf/quantum-agent-l3 index e0e2a3f..9833b6e 100644 --- a/ocf/quantum-agent-l3 +++ b/ocf/quantum-agent-l3 @@ -274,7 +274,6 @@ quantum_l3_agent_stop() { # Try SIGTERM pid=`cat $OCF_RESKEY_pid` - pid="$pid `ps ax | grep -v grep | grep 'dnsmasq' | cut -c1-5`" ocf_run kill -s TERM $pid rc=$? if [ $rc -ne 0 ]; then -- 1.7.10 debian/patches/series0000664000000000000000000000001712106257567012045 0ustar l3-agent.patch