Cannot create a baymodel in Mitaka
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Committed
|
Undecided
|
Abhishek Chanda |
Bug Description
Trying to create a baymodel using the Mitaka branch. I get this error in API logs
Traceback (most recent call last):
File "/usr/lib/
result = f(self, *args, **kwargs)
File "<string>", line 2, in post
File "/usr/lib/
return func(*args, **kwargs)
File "<string>", line 2, in post
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
attr_
File "/usr/lib/
validate_
File "/usr/lib/
networks = cli.neutron(
File "/usr/lib/
return func(*args, **kw)
File "/usr/lib/
region_
File "/usr/lib/
return self.keystone(
File "/usr/lib/
self._client = self._get_
File "/usr/lib/
return kc_v3.Client(
File "/usr/lib/
super(Client, self)._
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return self['auth_token']
KeyError: 'auth_token'
This env has both keystone v2 and v3, Magnum is of course configured using the v3 endpoint. Versions
# rpm -qa | grep keystone
python-
python-
openstack-
python-
python-
This patch fixes this https:/
Changed in magnum: | |
assignee: | nobody → Abhishek Chanda (abhishek-i) |
Changed in magnum: | |
status: | New → In Progress |
Changed in magnum: | |
status: | In Progress → Fix Committed |
Reviewed: https:/ /review. openstack. org/333127 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=c41470da216 5a3a019b4a6fc12 cdc1af406fbe77
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit c41470da2165a3a 019b4a6fc12cdc1 af406fbe77
Author: Abhishek Chanda <email address hidden>
Date: Wed Jun 22 23:29:39 2016 -0700
Pass auth_token in auth_ref
In our env, keystone was looking for auth_token inside auth_ref
while trying to construct the client. This resulted in an exception.
This patch fixed the problem.
Closes-Bug: #1604532
Change-Id: I101cf72f61dd82 4cb62f7f2b6d42a de6e7f3b1c3