~ubuntu-branches/ubuntu/quantal/keystone/quantal-security

« back to all changes in this revision

Viewing changes to keystone/common/sql/nova.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-06-22 12:27:50 UTC
  • mto: (35.1.1 quantal-proposed)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: package-import@ubuntu.com-20120622122750-4urdq17en1990apn
Tags: upstream-2012.2~f2~20120622.2353
ImportĀ upstreamĀ versionĀ 2012.2~f2~20120622.2353

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        user_id = user_map[assignment['user_id']]
107
107
        tenant_id = tenant_map[assignment['tenant_id']]
108
108
        LOG.debug('Assign role %s to user %s on tenant %s' %
109
 
                     (role_id, user_id, tenant_id))
 
109
                  (role_id, user_id, tenant_id))
110
110
        api.add_role_to_user_and_tenant(user_id, tenant_id, role_id)
111
111
 
112
112
 
121
121
                'tenant_id': tenant_id,
122
122
            }
123
123
            LOG.debug('Creating ec2 cred for user %s and tenant %s' %
124
 
                          (user_id, tenant_id))
 
124
                      (user_id, tenant_id))
125
125
            ec2_api.create_credential(None, cred_dict)