Commit 1b7d6427 authored by Antoine Catton's avatar Antoine Catton

Merge branch 'promises' of https://git.erp5.org/repos/slapos.core into promises

parents 63b2e2d7 e46c3aee
......@@ -42,5 +42,7 @@ alias =
mariadb http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.16:/software/mariadb/software.cfg
memcached http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.16:/software/memcached/software.cfg
kumofs http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.21:/software/kumofs/software.cfg
erp5 http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/erp5/software.cfg
erp5 http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.30:/software/erp5/software.cfg
erp5_branch http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/erp5:/software/erp5/software.cfg
vifib http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.30:/software/vifib/software.cfg
......@@ -211,7 +211,7 @@ class Computer:
# all addresses on interface are for partition, so lets add new one
computer_tap = Tap('compdummy')
computer_tap.createWithOwner('root', attach_to_tap=True)
computer_tap.createWithOwner(User('root'), attach_to_tap=True)
self.bridge.addTap(computer_tap)
return self.bridge.addAddr()
......
......@@ -581,11 +581,11 @@ class Slapgrid(object):
if process_handler.poll() is None:
process_handler.kill()
computer_partition.error("The promise '%s' timed out" % promise)
computer_partition.error("The promise %r timed out" % promise)
elif process_handler.returncode != 0:
stderr = process_handler.communicate()[1]
if stderr is None:
stderr = 'No error output from %s.' % promise
stderr = 'No error output from %r.' % promise
computer_partition.error(stderr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment