← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1362854] Re: Incorrect regex on rootwrap for encrypted volumes ln creation

 

** Changed in: nova/havana
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1362854

Title:
  Incorrect regex on rootwrap for encrypted volumes ln creation

Status in OpenStack Compute (Nova):
  Fix Committed
Status in OpenStack Compute (nova) havana series:
  Fix Released
Status in OpenStack Compute (nova) icehouse series:
  Fix Committed

Bug description:
  While running Tempest tests against my device, the encryption tests
  consistently fail to attach.  Turns out the problem is an attempt to
  create symbolic link for encryption process, however the rootwrap spec
  is restricted to targets with the default openstack.org iqn.

  Error Message from n-cpu:

  Stderr: '/usr/local/bin/nova-rootwrap: Unauthorized command: ln
  --symbolic --force /dev/mapper/ip-10.10.8.112:3260-iscsi-
  iqn.2010-01.com.solidfire:3gd2.uuid-6f210923-36bf-46a4-b04a-
  6b4269af9d4f.4710-lun-0 /dev/disk/by-path/ip-10.10.8.112:3260-iscsi-
  iqn.2010-01.com.sol

  
  Rootwrap entry currently implemented:

  ln: RegExpFilter, ln, root, ln, --symbolic, --force, /dev/mapper/ip
  -.*-iscsi-iqn.2010-10.org.openstack:volume-.*, /dev/disk/by-path/ip
  -.*-iscsi-iqn.2010-10.org.openstack:volume-.*

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1362854/+subscriptions


References