Project

General

Profile

Actions

Bug #3654

closed

libvirt: colons in ipv6 monitor addresses are not escaped when sent to qemu

Added by Josh Durgin over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Given xml like:

<disk type="network" device="disk">
  <driver name="qemu" type="raw"/>
  <source protocol="rbd" name="volumes/foo">
    <host name="3601:f397:1:ae21::126" port="6789"/>
  </source>
  <target bus="virtio" dev="vdc"/>
</disk>

libvirt ends up passing a string to qemu like this, which is parsed incorrectly due to the unescaped colons:

rbd:volumes/foo:mon_host=3601:f397:1:ae21::126\\:6789
Actions #1

Updated by Sage Weil over 11 years ago

  • Assignee set to Josh Durgin
Actions #2

Updated by Sage Weil over 11 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Josh Durgin over 11 years ago

  • Status changed from Fix Under Review to Resolved

Upstream commit c1509ab47edf61e9f20d11922526b9fca518d238

Actions

Also available in: Atom PDF