Bug 967772
Summary: | Systemd container creation hasn't distinguished URI | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Alex Jia <ajia> |
Component: | libvirt-sandbox | Assignee: | Daniel Berrangé <berrange> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | dallan, dyuan, gsun, mzhan, weizhan, zpeng |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-sandbox-0.5.0-4.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 12:51:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alex Jia
2013-05-28 09:55:52 UTC
commit aa8319e3a74c9ba06dc063081b6ffd578876e8ae Author: Wayne Sun <gsun> Date: Tue Jul 9 11:23:34 2013 +0100 Fix formatting in virt-sandbox-service when raising ValueError ValueError expects the argument to be a string list, not a plain string. Using a plain string results in bad formatting when printing the error later /usr/bin/virt-sandbox-service: C /usr/bin/virt-sandbox-service: a /usr/bin/virt-sandbox-service: n /usr/bin/virt-sandbox-service: /usr/bin/virt-sandbox-service: o /usr/bin/virt-sandbox-service: n /usr/bin/virt-sandbox-service: l /usr/bin/virt-sandbox-service: y /usr/bin/virt-sandbox-service: /usr/bin/virt-sandbox-service: e /usr/bin/virt-sandbox-service: x /usr/bin/virt-sandbox-service: e /usr/bin/virt-sandbox-service: c ...snip... Ignore comment #2, it was from a different bug commit c4c57eecd397130ae8f9112cfa5faf342ca85419 Author: Daniel P. Berrange <berrange> Date: Wed Oct 2 17:37:06 2013 +0100 Only allow lxc:/// URI usage with virt-sandbox-service While the goal is to allow use of qemu with virt-sandbox-service, this is not currently possible. To prevent users creating trouble for themselves, add a check for lxc:/// URI. Signed-off-by: Daniel P. Berrange <berrange> The bug has been verified on libvirt-sandbox-0.5.0-5.el7.x86_64. # virt-sandbox-service -c qemu:///system create -C -u httpd.service apache /usr/bin/virt-sandbox-service: only lxc:/// URIs are currently supported # virsh -c lxc:/// list --inactive Id Name State ---------------------------------------------------- This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |