RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1314099 - virsh requires secret key and mon ip for rbd disk for ceph client
Summary: virsh requires secret key and mon ip for rbd disk for ceph client
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Peter Krempa
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-02 23:04 UTC by Vasu Kulkarni
Modified: 2016-03-24 13:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-24 13:22:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vasu Kulkarni 2016-03-02 23:04:25 UTC
Description of problem:

when defining a RBD disk option using virsh one needs to add monitor_ip and secret key, this option is not required when starting the vm using qemu-kvm cli on ceph client, Also sometimes mon ip's can change, I believe this option should be simplified and one should just provide the rbd disk image name in case of ceph clients.

<disk type='network' device='disk'>
        <source protocol='rbd' name='libvirt-pool/new-libvirt-image'>
                <host name='{monitor-host}' port='6789'/>
        </source>
        <target dev='vda' bus='virtio'/>
</disk>

</source>
<auth username='libvirt'>
        <secret type='ceph' uuid='9ec59067-fdbc-a6c0-03ff-df165c0587b8'/>
</auth>
<target ...

Version-Release number of selected component (if applicable):
1.2.17

How reproducible:
n/a

Comment 2 Peter Krempa 2016-03-24 13:22:39 UTC
I think that would not be a desired thing to do.

Allowing to use the defaults for ceph that are taken from the system-wide config file will make configurations unstable when the config file changes or the machines are migrated to a different host with a different config. Keeping the data in libvirt enforces that the configuration of a VM is stable in regard to external influence.

I'm closing this as WONTFIX.


Note You need to log in before you can comment on or make changes to this bug.