~ubuntu-branches/ubuntu/quantal/nova/quantal-security

« back to all changes in this revision

Viewing changes to nova/virt/libvirt/utils.py

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge
  • Date: 2013-01-29 09:34:02 UTC
  • mfrom: (94.1.1 quantal-proposed)
  • Revision ID: package-import@ubuntu.com-20130129093402-17tbp37f5load7my
Tags: 2012.2.1+stable-20121212-a99a802e-0ubuntu1.1
* SECURITY UPDATE: fix lack of authentication on block device used for
  os-volume_boot
  - debian/patches/CVE-2013-0208.patch: adjust nova/compute/api.py to
    validate we can access the volumes
  - CVE-2013-0208

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
 
144
144
    :param vg: volume group name
145
145
    """
146
 
    out, err = execute('lvs', '--noheadings', '-o', 'lv_path', vg,
 
146
    out, err = execute('lvs', '--noheadings', '-o', 'lv_name', vg,
147
147
                       run_as_root=True)
148
148
 
149
149
    return [line.strip() for line in out.splitlines()]