[Kernel-packages] [Bug 1775372] [NEW] Unable to delete encrypted volume (barbican)

2018-06-06 Thread Benny Kopilov
Public bug reported:

Devstack isntallation , local cinder LVM + babbican.

Managed to create an encrypted volume but when trying to delete the volume with 
admin tenants, action fails with Error : 
Delete for volume a1bc0685-81e9-44e8-8965-323c402139e7 failed: Invalid volume: 
Unable to delete encryption key for volume. (HTTP 400) (Request-ID: 
req-1b715dad-c9ce-4422-a506-191f84bc7d9e)
ERROR: Unable to delete any of the specified volumes.


Here are the errors:
/opt/stack/logs/barbican.log:66:2018-06-06 08:29:51.683 ERROR 
barbican.api.controllers [req-101bb298-6d7c-485d-91ad-3c185ece5e04 demo admin] 
Secret deletion attempt not allowed - please review your user/project 
privileges: PolicyNotAuthorized: secret:delete is disallowed by policy
/opt/stack/logs/barbican.log:70:2018-06-06 08:29:51.861 ERROR 
barbican.api.controllers [req-850f78ef-c7ed-416a-8042-c1f0fd80c233 service 
cinder] Secret deletion attempt not allowed - please review your user/project 
privileges: PolicyNotAuthorized: secret:delete is disallowed by policy

** Affects: cinder
 Importance: Undecided
 Status: New

** Attachment added: "barbican logs"
   
https://bugs.launchpad.net/bugs/1775372/+attachment/5149290/+files/barbican.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1775372

Title:
  Unable to delete encrypted volume (barbican)

Status in Cinder:
  New

Bug description:
  Devstack isntallation , local cinder LVM + babbican.

  Managed to create an encrypted volume but when trying to delete the volume 
with admin tenants, action fails with Error : 
  Delete for volume a1bc0685-81e9-44e8-8965-323c402139e7 failed: Invalid 
volume: Unable to delete encryption key for volume. (HTTP 400) (Request-ID: 
req-1b715dad-c9ce-4422-a506-191f84bc7d9e)
  ERROR: Unable to delete any of the specified volumes.

  
  Here are the errors:
  /opt/stack/logs/barbican.log:66:2018-06-06 08:29:51.683 ERROR 
barbican.api.controllers [req-101bb298-6d7c-485d-91ad-3c185ece5e04 demo admin] 
Secret deletion attempt not allowed - please review your user/project 
privileges: PolicyNotAuthorized: secret:delete is disallowed by policy
  /opt/stack/logs/barbican.log:70:2018-06-06 08:29:51.861 ERROR 
barbican.api.controllers [req-850f78ef-c7ed-416a-8042-c1f0fd80c233 service 
cinder] Secret deletion attempt not allowed - please review your user/project 
privileges: PolicyNotAuthorized: secret:delete is disallowed by policy

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1775372] Re: Unable to delete encrypted volume (barbican)

2018-06-06 Thread Benny Kopilov
Latest devstack queens.

** Package changed: linux (Ubuntu) => cinder

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1775372

Title:
  Unable to delete encrypted volume (barbican)

Status in Cinder:
  New

Bug description:
  Devstack isntallation , local cinder LVM + babbican.

  Managed to create an encrypted volume but when trying to delete the volume 
with admin tenants, action fails with Error : 
  Delete for volume a1bc0685-81e9-44e8-8965-323c402139e7 failed: Invalid 
volume: Unable to delete encryption key for volume. (HTTP 400) (Request-ID: 
req-1b715dad-c9ce-4422-a506-191f84bc7d9e)
  ERROR: Unable to delete any of the specified volumes.

  
  Here are the errors:
  /opt/stack/logs/barbican.log:66:2018-06-06 08:29:51.683 ERROR 
barbican.api.controllers [req-101bb298-6d7c-485d-91ad-3c185ece5e04 demo admin] 
Secret deletion attempt not allowed - please review your user/project 
privileges: PolicyNotAuthorized: secret:delete is disallowed by policy
  /opt/stack/logs/barbican.log:70:2018-06-06 08:29:51.861 ERROR 
barbican.api.controllers [req-850f78ef-c7ed-416a-8042-c1f0fd80c233 service 
cinder] Secret deletion attempt not allowed - please review your user/project 
privileges: PolicyNotAuthorized: secret:delete is disallowed by policy

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1368259] [NEW] unable to delete volume after attach with mount point fails on instance

2014-09-11 Thread Benny Kopilov
Public bug reported:

Description of problem:
Openstack on rhel 7.0 VM box
rhos 5.0  version .

After creating instance , we try to attach volume to it .
The volume created by tempest code :
def test_attach_detach_volume_to_instance(self):
# Volume is attached and detached successfully from an instance
mountpoint = '/dev/vdc'
_, body = self.client.attach_volume(self.volume['id'],
self.server['id'],
mountpoint)

After volume has been created , we are attaching it to instance .
The result of this action is that cinder shows that the volume attached to 
instance .
But in nova - instace we do not see the volume in lsblk output  .
We get error from logs :
/var/log/nova/nova-compute.log:136:2014-09-08 02:59:39.573 31416 DEBUG 
nova.virt.disk.api [req-c0039d74-1c31-4e19-8719-bf3fb8eca505 
8826f60585d244339c6a51dd7ce7b26f fbf97ed492214e9b8bb9f47206879a9c] Unable to 
mount image /var/lib/nova/instances/5531d5a9-cefd-4873-bbca-bdd4336ca5a8/disk 
with error Error mounting 
/var/lib/nova/instances/5531d5a9-cefd-4873-bbca-bdd4336ca5a8/disk with 
libguestfs (mount_options: /dev/sda on / (options: ''): mount: /dev/sda is 
write-protected, mounting read-only


I attached another volume with auto mount  point .
When we delete the instacne the cinder is binded to deleted instance and we can 
not delete the volume.


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


How reproducible:

#1 Create instance  
#2 create volume with tempest code based on : 
def test_attach_detach_volume_to_instance(self):
# Volume is attached and detached successfully from an instance
mountpoint = '/dev/vdc'
_, body = self.client.attach_volume(self.volume['id'],
self.server['id'],
mountpoint)
#2 the volume is attached , but we dont see it in instance (cirros image)
#3 attach another volume with auto mount point to instance
#4 delete the instance 
#5 at this point cinder attachment is to "not existing" instance and we are not 
able to delete the volume.

** Affects: openstack-community
 Importance: Undecided
 Status: New

** Package changed: linux (Ubuntu) => openstack-community

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1368259

Title:
  unable to delete volume after attach with mount point fails on
  instance

Status in OpenStack Community Project:
  New

Bug description:
  Description of problem:
  Openstack on rhel 7.0 VM box
  rhos 5.0  version .

  After creating instance , we try to attach volume to it .
  The volume created by tempest code :
  def test_attach_detach_volume_to_instance(self):
  # Volume is attached and detached successfully from an instance
  mountpoint = '/dev/vdc'
  _, body = self.client.attach_volume(self.volume['id'],
  self.server['id'],
  mountpoint)

  After volume has been created , we are attaching it to instance .
  The result of this action is that cinder shows that the volume attached to 
instance .
  But in nova - instace we do not see the volume in lsblk output  .
  We get error from logs :
  /var/log/nova/nova-compute.log:136:2014-09-08 02:59:39.573 31416 DEBUG 
nova.virt.disk.api [req-c0039d74-1c31-4e19-8719-bf3fb8eca505 
8826f60585d244339c6a51dd7ce7b26f fbf97ed492214e9b8bb9f47206879a9c] Unable to 
mount image /var/lib/nova/instances/5531d5a9-cefd-4873-bbca-bdd4336ca5a8/disk 
with error Error mounting 
/var/lib/nova/instances/5531d5a9-cefd-4873-bbca-bdd4336ca5a8/disk with 
libguestfs (mount_options: /dev/sda on / (options: ''): mount: /dev/sda is 
write-protected, mounting read-only


  I attached another volume with auto mount  point .
  When we delete the instacne the cinder is binded to deleted instance and we 
can not delete the volume.

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

  
  How reproducible:

  #1 Create instance  
  #2 create volume with tempest code based on : 
  def test_attach_detach_volume_to_instance(self):
  # Volume is attached and detached successfully from an instance
  mountpoint = '/dev/vdc'
  _, body = self.client.attach_volume(self.volume['id'],
  self.server['id'],
  mountpoint)
  #2 the volume is attached , but we dont see it in instance (cirros image)
  #3 attach another volume with auto mount point to instance
  #4 delete the instance 
  #5 at this point cinder attachment is to "not existing" instance and we are 
not able to delete the volume.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-community/+bug/1368259/+subscriptions

-- 
Mailing