mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Add some logging to the test harness
This commit is contained in:
parent
3c5d385a69
commit
0b49943383
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
from bootstrapvz.remote import register_deserialization_handlers
|
from bootstrapvz.remote import register_deserialization_handlers
|
||||||
|
import logging
|
||||||
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
# Register deserialization handlers for objects
|
# Register deserialization handlers for objects
|
||||||
# that will pass between server and client
|
# that will pass between server and client
|
||||||
|
@ -18,9 +20,12 @@ def boot_manifest(manifest_data, boot_vars={}):
|
||||||
manifest = Manifest(data=manifest_data)
|
manifest = Manifest(data=manifest_data)
|
||||||
|
|
||||||
bootstrap_info = None
|
bootstrap_info = None
|
||||||
|
log.info('Connecting to build server')
|
||||||
with build_server.connect() as connection:
|
with build_server.connect() as connection:
|
||||||
|
log.info('Building manifest')
|
||||||
bootstrap_info = connection.run(manifest)
|
bootstrap_info = connection.run(manifest)
|
||||||
|
|
||||||
|
log.info('Creating and booting instance')
|
||||||
from ..images import initialize_image
|
from ..images import initialize_image
|
||||||
image = initialize_image(manifest, build_server, bootstrap_info)
|
image = initialize_image(manifest, build_server, bootstrap_info)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue