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

R4.0 qvm-clone breaks when setting a secondary pool #3776

Open
yonjah opened this Issue Apr 2, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@yonjah

yonjah commented Apr 2, 2018

On R4.0 when cloning an existing VM to a pool on a secondary drive.
The following error is thrown -

$ qvm-clone -v -P storage appVM appVM-clone
2018-04-01 00:20:36,421 [MainProcess app.clone_vm:390] appVM-clone: Cloning private volume
Traceback (most recent call last):
  File "/usr/bin/qvm-clone", line 5, in <module>
    sys.exit(main())
  File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_clone.py", line 73, in main
    app.clone_vm(src_vm, new_name, new_cls=args.cls, pool=pool, pools=pools)
  File "/usr/lib/python3.5/site-packages/qubesadmin/app.py", line 391, in clone_vm
    dst_volume.clone(src_volume)
  File "/usr/lib/python3.5/site-packages/qubesadmin/storage.py", line 229, in clone
    self._qubesd_call('CloneTo', payload=token)
  File "/usr/lib/python3.5/site-packages/qubesadmin/storage.py", line 76, in _qubesd_call
    payload_stream=payload_stream)
  File "/usr/lib/python3.5/site-packages/qubesadmin/app.py", line 483, in qubesd_call
    return self._parse_qubesd_response(return_data)
  File "/usr/lib/python3.5/site-packages/qubesadmin/base.py", line 102, in _parse_qubesd_response
    raise exc_class(format_string, *args)
qubesadmin.exc.StoragePoolException: b'  Please use a single volume group name ("qubes_root0" or "qubes_storage0").\n  Run `lvcreate --help\' for more information.\n'

qubes_root0 is the volume group where appVM sits on (default pool)
qubes_storage0 is the volum group on the secondery drive where the clone should be created

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