Bug 887556
| Summary: | [RFE] Consistent handling of libvirt pki artifacts | ||
|---|---|---|---|
| Product: | [oVirt] vdsm | Reporter: | Alon Bar-Lev <alonbl> |
| Component: | RFEs | Assignee: | Alon Bar-Lev <alonbl> |
| Status: | CLOSED DEFERRED | QA Contact: | yeylon <yeylon> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.14.0 | CC: | bazulay, bsettle, bugs, danken, dougsland, iheim, lpeer, mkletzan, rbalakri, srevivo, yeylon |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | alonbl:
devel_ack?
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-09-20 22:11:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alon Bar-Lev
2012-12-16 11:22:39 UTC
All the clients can be configured as well and I think by fair amount of "granularity". The configuration is system-wide in /etc/libvirt/libvirt.conf and user-wide in ~/.config/libvirt/libvirt.conf. In both these places you can either configure a default URI (with those parameters) or (and this I see as a better option) an 'alias', for example: uri_aliases = ['vdsm=qemu+tls://user@server/system?param1¶m2'] This would mean that whenever vdsm wants runs any libvirt client, it would supply this uri (e.g. virsh -c vdsm <command>) and that would have the configuration inside. You can use this alias even in API calls from all the bindings available. The second approach would mean that potential user can use any clients (virt-manager, virsh, etc.) without having to override the default address and configuration, whether vdsm would just use this alias to specify all those options needed and the certificates can thus be in any location you want without interfering with the user. This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. Vdsm does not use the pkipath-in-URI tricks only because they did not exist when vdsm was integrated with libvirt (see bug 629510). Now is a good time as any to clean up this mess. If we can avoid the vdsmd reconfigure, it would be super! I guess there is more than pki artifacts to provide to libvirt at runtime. |