+invirt-remote-server (0.0.1) unstable; urgency=low
+
+ * sipb-xen -> invirt
+
+ -- Greg Price <price@mit.edu> Thu, 23 Oct 2008 23:58:36 -0400
+
sipb-xen-remote-server (0.10.2) unstable; urgency=low
* There's a race condition for if the VM gets powered off between the
-Source: sipb-xen-remote-server
+Source: invirt-remote-server
Section: servers
Priority: important
-Maintainer: sipb-xen@mit.edu
+Maintainer: invirt@mit.edu
Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5)
Standards-Version: 3.7.2
-Package: sipb-xen-remote-server
+Package: invirt-remote-server
Architecture: all
Provides: ${diverted-files}
Conflicts: ${diverted-files}
-Source: sipb-xen-remote-server
+Source: invirt-remote-server
Section: servers
Priority: important
-Maintainer: sipb-xen@mit.edu
+Maintainer: invirt@mit.edu
Build-Depends: @cdbs@
Standards-Version: 3.7.2
-Package: sipb-xen-remote-server
+Package: invirt-remote-server
Architecture: all
Provides: ${diverted-files}
Conflicts: ${diverted-files}
Depends: ${shlibs:Depends}, ${misc:Depends}, daemon, debathena-kerberos-config, fuse-utils, openssh-server, python-routefs, sipb-xen-chrony-config, sipb-xen-database-common, sipb-xen-base, remctl-server, remctl-client
-Description: SIPB Xen remote-control server
+Description: Invirt remote-control server
This package should be installed to set up the remote-control server.
#! /bin/sh
### BEGIN INIT INFO
-# Provides: sipb-xen-remote-server
+# Provides: invirt-remote-server
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# Short-Description: sipb-xen remctl configuration filesystem
+# Short-Description: Invirt remctl configuration filesystem
# Description:
### END INIT INFO
-# Author: SIPB Xen Project <sipb-xen@mit.edu>
+# Author: SIPB Invirt Project <invirt@mit.edu>
# Do NOT "set -e"
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
-DESC="The sipb-xen remctl configuration filesystem"
-NAME=sipb-xen-remconffs
-DAEMON=/usr/sbin/sipb-xen-remconffs
+DESC="the Invirt remctl configuration filesystem"
+NAME=invirt-remconffs
+DAEMON=/usr/sbin/invirt-remconffs
DAEMON_ARGS="/etc/remctl/remconffs"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
#!/usr/bin/make -f
DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
-DEB_DIVERT_EXTENSION = .sipb-xen
-#DEB_DIVERT_FILES_sipb-xen-remote-server += \
+DEB_DIVERT_EXTENSION = .invirt
+#DEB_DIVERT_FILES_invirt-remote-server += \
# /etc/init.d/bootmisc.sh \
# /etc/nscd.conf \
# /etc/nsswitch.conf \
-web lvcreate /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web lvremove /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web lvrename /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web lvresize /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web lvcopy /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web listvms /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
+web lvcreate /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web lvremove /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web lvrename /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web lvresize /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web lvcopy /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web listvms /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
test sleep /usr/bin/env /etc/remctl/acl/web
-control help /usr/sbin/sipb-xen-remctl-help ANYUSER
-help ALL /usr/sbin/sipb-xen-remctl-help ANYUSER
+control help /usr/sbin/invirt-remctl-help ANYUSER
+help ALL /usr/sbin/invirt-remctl-help ANYUSER
self.lasttime = time()
self.fuse_args.add("allow_other", True)
- openlog('sipb-xen-remconffs ', LOG_PID, LOG_DAEMON)
+ openlog('invirt-remconffs ', LOG_PID, LOG_DAEMON)
syslog(LOG_DEBUG, 'Init complete.')
def getconf(self, **kw):
"""Build the master conf file, with all machines
"""
- return '\n'.join("control %s /usr/sbin/sipb-xen-remote-proxy-control"
+ return '\n'.join("control %s /usr/sbin/invirt-remote-proxy-control"
" /etc/remctl/remconffs/acl/%s"
% (machine_name, machine_name)
for machine_name in self.getmachines())+'\n'
def main(argv):
if len(argv) < 3:
- print >>sys.stderr, "usage: sipb-xen-remote-control <machine> <command>"
+ print >>sys.stderr, "usage: invirt-remote-control <machine> <command>"
return 2
machine_name = argv[1]
command = argv[2]
- p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
+ p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
output = p.communicate()[0]
if p.returncode != 0:
raise RuntimeError("Command '%s' returned non-zero exit status %d"
- % ('sipb-xen-remote-proxy-web', p.returncode))
+ % ('invirt-remote-proxy-web', p.returncode))
vms = yaml.load(output, yaml.CSafeLoader)
if machine_name not in vms:
def main(argv):
if len(argv) < 3:
- print >> sys.stderr, "usage: sipb-xen-remote-create <operation> <machine> [<other args...>]"
+ print >> sys.stderr, "usage: invirt-remote-create <operation> <machine> [<other args...>]"
return 2
operation = argv[1]
machine_name = argv[2]
print >> sys.stderr, "Arguments to the autoinstaller cannot contain spaces"
return 1
- p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
+ p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
output = p.communicate()[0]
if p.returncode != 0:
raise RuntimeError("Command '%s' returned non-zero exit status %d"
- % ('sipb-xen-remote-proxy-web', p.returncode))
+ % ('invirt-remote-proxy-web', p.returncode))
vms = yaml.load(output, yaml.CSafeLoader)
if machine_name in vms:
def main(argv):
if len(argv) < 2:
- print >>sys.stderr, "usage: sipb-xen-remote-listhost <machine>"
+ print >>sys.stderr, "usage: invirt-remote-listhost <machine>"
return 2
machine_name = argv[1]
- p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
+ p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
output = p.communicate()[0]
if p.returncode != 0:
raise RuntimeError("Command '%s' returned non-zero exit status %d"
- % ('sipb-xen-remote-proxy-web', p.returncode))
+ % ('invirt-remote-proxy-web', p.returncode))
vms = yaml.load(output, yaml.CSafeLoader)
if machine_name not in vms:
#!/bin/bash
-# invoke as sipb-xen-remote-proxy-$TYPE, with "TYPE" in the remctl sense.
+# invoke as invirt-remote-proxy-$TYPE, with "TYPE" in the remctl sense.
klist -s || kinit -k
case "$TYPE/$SERVICE" in
web/listvms )
- sipb-xen-remote-listvms "$@" ;;
+ invirt-remote-listvms "$@" ;;
control/create|control/install )
- sipb-xen-remote-create "$SERVICE" "$MACHINE" "$@" ;;
+ invirt-remote-create "$SERVICE" "$MACHINE" "$@" ;;
control/listhost|control/list-host )
- sipb-xen-remote-listhost "$MACHINE" "$@" ;;
+ invirt-remote-listhost "$MACHINE" "$@" ;;
control/* )
# Everything but create must go where the VM is already running.
- sipb-xen-remote-control "$MACHINE" "$SERVICE" "$@" ;;
+ invirt-remote-control "$MACHINE" "$SERVICE" "$@" ;;
* )
remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;;
esac
--- /dev/null
+invirt-remote-proxy
\ No newline at end of file
--- /dev/null
+invirt-remote-proxy
\ No newline at end of file
+++ /dev/null
-sipb-xen-remote-proxy
\ No newline at end of file
+++ /dev/null
-sipb-xen-remote-proxy
\ No newline at end of file