New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManifestError: 'qcow2' is not one of ['raw'] #401

Closed
kevin-olbrich opened this Issue Oct 5, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@kevin-olbrich
Contributor

kevin-olbrich commented Oct 5, 2017

Hello,
I am unable to build "jessie-qcow2.yml" on bootstrap-vz @ deb stretch.
What am I missing?

root@slde0005:~# apt-show-versions bootstrap-vz
bootstrap-vz:all/stretch 0.9.10+20170110git-1 uptodate
root@slde0005:~# bootstrap-vz /tmp/build-sip/jessie-qcow2.yml
Traceback (most recent call last):
  File "/usr/bin/bootstrap-vz", line 11, in <module>
    load_entry_point('bootstrap-vz==0.9.10', 'console_scripts', 'bootstrap-vz')()
  File "/usr/share/bootstrap-vz/bootstrapvz/base/main.py", line 23, in main
    manifest = Manifest(path=opts['MANIFEST'])
  File "/usr/share/bootstrap-vz/bootstrapvz/base/manifest.py", line 35, in __init__
    self.validate()
  File "/usr/share/bootstrap-vz/bootstrapvz/base/manifest.py", line 92, in validate
    self.modules['provider'].validate_manifest(self.data, self.schema_validator, self.validation_error)
  File "/usr/share/bootstrap-vz/bootstrapvz/providers/kvm/__init__.py", line 8, in validate_manifest
    validator(data, rel_path(__file__, 'manifest-schema.yml'))
  File "/usr/share/bootstrap-vz/bootstrapvz/base/manifest.py", line 132, in schema_validator
    self.validation_error(e.message, e.path)
  File "/usr/share/bootstrap-vz/bootstrapvz/base/manifest.py", line 142, in validation_error
    raise ManifestError(message, self.path, data_path)
bootstrapvz.common.exceptions.ManifestError: 'qcow2' is not one of ['raw']
  File path: /tmp/build-sip/jessie-qcow2.yml
  Data path: volume.backing
@kevin-olbrich

This comment has been minimized.

Show comment
Hide comment
@kevin-olbrich

kevin-olbrich Oct 5, 2017

Contributor

Seems like the release in stretch is too old.
Would be useful to stick to git revisions instead of releases downstrea at debian.

Contributor

kevin-olbrich commented Oct 5, 2017

Seems like the release in stretch is too old.
Would be useful to stick to git revisions instead of releases downstrea at debian.

@andsens

This comment has been minimized.

Show comment
Hide comment
@andsens

andsens Oct 5, 2017

Owner

You should probably try with the latest master first. The one in apt is quite outdated. If the problem persists, make sure to post the manifest as well.

Owner

andsens commented Oct 5, 2017

You should probably try with the latest master first. The one in apt is quite outdated. If the problem persists, make sure to post the manifest as well.

@kevin-olbrich

This comment has been minimized.

Show comment
Hide comment
@kevin-olbrich

kevin-olbrich Oct 5, 2017

Contributor

Build with master ideed works (currently building).

Contributor

kevin-olbrich commented Oct 5, 2017

Build with master ideed works (currently building).

@andsens

This comment has been minimized.

Show comment
Hide comment
@andsens

andsens Oct 5, 2017

Owner

Great! Closing.

Owner

andsens commented Oct 5, 2017

Great! Closing.

@andsens andsens closed this Oct 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment