An error occurred when trying to create a port on a network owned by a different project
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
In Progress
|
Medium
|
Akihiro Motoki |
Bug Description
Creating a port in an external network results in the error message in the title.
The backtrace:
[Mon May 08 15:27:02.722361 2017] [wsgi:error] [pid 2907:tid 140386830882560] Internal Server Error: /horizon/
[Mon May 08 15:27:02.722376 2017] [wsgi:error] [pid 2907:tid 140386830882560] Traceback (most recent call last):
[Mon May 08 15:27:02.722378 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/lib/
[Mon May 08 15:27:02.722380 2017] [wsgi:error] [pid 2907:tid 140386830882560] response = wrapped_
[Mon May 08 15:27:02.722381 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/share/
[Mon May 08 15:27:02.722383 2017] [wsgi:error] [pid 2907:tid 140386830882560] return view_func(request, *args, **kwargs)
[Mon May 08 15:27:02.722384 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/share/
[Mon May 08 15:27:02.722386 2017] [wsgi:error] [pid 2907:tid 140386830882560] return view_func(request, *args, **kwargs)
[Mon May 08 15:27:02.722387 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/share/
[Mon May 08 15:27:02.722395 2017] [wsgi:error] [pid 2907:tid 140386830882560] return view_func(request, *args, **kwargs)
[Mon May 08 15:27:02.722396 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/share/
[Mon May 08 15:27:02.722397 2017] [wsgi:error] [pid 2907:tid 140386830882560] return view_func(request, *args, **kwargs)
[Mon May 08 15:27:02.722399 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/lib/
[Mon May 08 15:27:02.722400 2017] [wsgi:error] [pid 2907:tid 140386830882560] return self.dispatch(
[Mon May 08 15:27:02.722401 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/lib/
[Mon May 08 15:27:02.722402 2017] [wsgi:error] [pid 2907:tid 140386830882560] return handler(request, *args, **kwargs)
[Mon May 08 15:27:02.722404 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/lib/
[Mon May 08 15:27:02.722405 2017] [wsgi:error] [pid 2907:tid 140386830882560] form = self.get_form()
[Mon May 08 15:27:02.722406 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/share/
[Mon May 08 15:27:02.722407 2017] [wsgi:error] [pid 2907:tid 140386830882560] return form_class(
[Mon May 08 15:27:02.722409 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/share/
[Mon May 08 15:27:02.722410 2017] [wsgi:error] [pid 2907:tid 140386830882560] subnet_choices = self._get_
[Mon May 08 15:27:02.722411 2017] [wsgi:error] [pid 2907:tid 140386830882560] File "/usr/share/
[Mon May 08 15:27:02.722413 2017] [wsgi:error] [pid 2907:tid 140386830882560] for subnet in network.subnets]
[Mon May 08 15:27:02.722414 2017] [wsgi:error] [pid 2907:tid 140386830882560] AttributeError: 'unicode' object has no attribute 'id'
Maybe it has the same origin as the instance launch panel doesn't list external networks anymore for an admin user.
Changed in horizon: | |
assignee: | nobody → Akihiro Motoki (amotoki) |
milestone: | none → pike-2 |
Changed in horizon: | |
milestone: | pike-2 → pike-3 |
Changed in horizon: | |
assignee: | Akihiro Motoki (amotoki) → nobody |
milestone: | pike-3 → none |
Changed in horizon: | |
assignee: | nobody → Akihiro Motoki (amotoki) |
With the neutron api, there is no problem to create a port in ext-net via an admin user.