← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1473298] [NEW] Cannot create keystone trust with python-openstackclient using trustor/trustee id

 

Public bug reported:

Creating Keystone V3 trusts (Kilo 2015.1.0) with python-openstackclient
(OSC) 1.5.0 works fine when using trustor user and trustee user names
but doesn't when using IDs.

Keystone log (verbose) doesn't return any error/warning, so that might
be an OSC issue.

# openstack user show adminv3 --format shell
domain_id="43c0586acd1b48b5ad544600414700fb"
email="test@xxxxxxxxxxx"
enabled="True"
id="24b047f52ff94029923f7f0ea982f03f"
name="adminv3"


# openstack trust create --format shell --role admin --project openstackv3 adminv3 foo
deleted_at="None"
expires_at="None"
id="c42c31ac89a0465da6f23121a64570c1"
impersonation="False"
project_id="78e22bb71862481dbe8335b4ce4551e8"
redelegation_count="0"
remaining_uses="None"
roles="admin "
trustee_user_id="ac994e5701d644b6a3ac78c9dd1ad04a"
trustor_user_id="24b047f52ff94029923f7f0ea982f03f"


# openstack trust create --format shell --role admin --project openstackv3 24b047f52ff94029923f7f0ea982f03f foo
ERROR: openstack No user with a name or ID of '24b047f52ff94029923f7f0ea982f03f' exists.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1473298

Title:
  Cannot create keystone trust with python-openstackclient using
  trustor/trustee id

Status in OpenStack Identity (Keystone):
  New

Bug description:
  Creating Keystone V3 trusts (Kilo 2015.1.0) with python-
  openstackclient (OSC) 1.5.0 works fine when using trustor user and
  trustee user names but doesn't when using IDs.

  Keystone log (verbose) doesn't return any error/warning, so that might
  be an OSC issue.

  # openstack user show adminv3 --format shell
  domain_id="43c0586acd1b48b5ad544600414700fb"
  email="test@xxxxxxxxxxx"
  enabled="True"
  id="24b047f52ff94029923f7f0ea982f03f"
  name="adminv3"

  
  # openstack trust create --format shell --role admin --project openstackv3 adminv3 foo
  deleted_at="None"
  expires_at="None"
  id="c42c31ac89a0465da6f23121a64570c1"
  impersonation="False"
  project_id="78e22bb71862481dbe8335b4ce4551e8"
  redelegation_count="0"
  remaining_uses="None"
  roles="admin "
  trustee_user_id="ac994e5701d644b6a3ac78c9dd1ad04a"
  trustor_user_id="24b047f52ff94029923f7f0ea982f03f"

  
  # openstack trust create --format shell --role admin --project openstackv3 24b047f52ff94029923f7f0ea982f03f foo
  ERROR: openstack No user with a name or ID of '24b047f52ff94029923f7f0ea982f03f' exists.

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


Follow ups