Comment 1 for bug 810765

Revision history for this message
Juan L. Negron (negronjl) wrote : Re: cannot deploy mysql

Just in case...here is the output.

negronjl@negronjl-laptop:~/src/ensemble/formulas$ ensemble --verbose deploy --repository . mysql
2011-07-14 14:56:25,802 DEBUG Initializing ensemble deploy runtime
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ensemble/control/command.py", line 48, in _run
    d = defer.maybeDeferred(self.callback, self.options)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 133, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/pymodules/python2.7/ensemble/control/deploy.py", line 51, in command
    options.log)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1141, in unwindGenerator
    return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
    result = g.send(result)
  File "/usr/lib/pymodules/python2.7/ensemble/control/deploy.py", line 64, in deploy
    formula = repository.find(formula_name)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/repository.py", line 33, in find
    for formula in self:
  File "/usr/lib/pymodules/python2.7/ensemble/formula/repository.py", line 18, in __iter__
    yield get_formula_from_path(dentry_path)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/provider.py", line 26, in get_formula_from_path
    return FormulaDirectory(specification)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/directory.py", line 24, in __init__
    self.metadata = MetaData(os.path.join(path, "metadata.yaml"))
  File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 166, in __init__
    self.load(path)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 237, in load
    self.parse(f.read(), path)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 248, in parse
    return self.parse_serialization_data(yaml.load(content), path)
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 58, in load
    return loader.get_single_data()
  File "/usr/lib/python2.7/dist-packages/yaml/constructor.py", line 42, in get_single_data
    node = self.get_single_node()
  File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
    while not self.check_event(MappingEndEvent):
  File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 93, in check_event
    self.current_event = self.state()
  File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 434, in parse_block_mapping_key
    "expected <block end>, but found %r" % token.id, token.start_mark)
yaml.parser.ParserError: while parsing a block mapping
  in "<string>", line 1, column 1:
    ensemble: formula
    ^
expected <block end>, but found '<block mapping start>'
  in "<string>", line 9, column 3:
      requires:
      ^
2011-07-14 14:56:25,884 ERROR Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ensemble/control/command.py", line 48, in _run
    d = defer.maybeDeferred(self.callback, self.options)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 133, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/pymodules/python2.7/ensemble/control/deploy.py", line 51, in command
    options.log)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1141, in unwindGenerator
    return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
    result = g.send(result)
  File "/usr/lib/pymodules/python2.7/ensemble/control/deploy.py", line 64, in deploy
    formula = repository.find(formula_name)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/repository.py", line 33, in find
    for formula in self:
  File "/usr/lib/pymodules/python2.7/ensemble/formula/repository.py", line 18, in __iter__
    yield get_formula_from_path(dentry_path)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/provider.py", line 26, in get_formula_from_path
    return FormulaDirectory(specification)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/directory.py", line 24, in __init__
    self.metadata = MetaData(os.path.join(path, "metadata.yaml"))
  File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 166, in __init__
    self.load(path)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 237, in load
    self.parse(f.read(), path)
  File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 248, in parse
    return self.parse_serialization_data(yaml.load(content), path)
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 58, in load
    return loader.get_single_data()
  File "/usr/lib/python2.7/dist-packages/yaml/constructor.py", line 42, in get_single_data
    node = self.get_single_node()
  File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
    while not self.check_event(MappingEndEvent):
  File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 93, in check_event
    self.current_event = self.state()
  File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 434, in parse_block_mapping_key
    "expected <block end>, but found %r" % token.id, token.start_mark)
yaml.parser.ParserError: while parsing a block mapping
  in "<string>", line 1, column 1:
    ensemble: formula
    ^
expected <block end>, but found '<block mapping start>'
  in "<string>", line 9, column 3:
      requires:
      ^

while parsing a block mapping
  in "<string>", line 1, column 1:
    ensemble: formula
    ^
expected <block end>, but found '<block mapping start>'
  in "<string>", line 9, column 3:
      requires:
      ^
2011-07-14 14:56:25,885 ERROR while parsing a block mapping
  in "<string>", line 1, column 1:
    ensemble: formula
    ^
expected <block end>, but found '<block mapping start>'
  in "<string>", line 9, column 3:
      requires:
      ^