Failed to get list of neutron-l7policy neutronclient CLI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Invalid
|
High
|
Unassigned |
Bug Description
Neutron delete the action for REDIRECT_TO_POOL l7policy "redirect_url" field ,when there are mutiple policies,and action for REDIRECT_TO_URL and the frist data,it will cause neutronclient CLI
failed to get list of neutron-l7policy.
neutronclient returns an error as follows :
ERROR: neutronclient.shell 'redirect_url'
Traceback (most recent call last):
File "/usr/lib/
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/lib/
return cmd.run(known_args)
File "/usr/lib/
return super(NeutronCo
File "/usr/lib/
self.
File "/usr/lib/
parsed_args,
File "/usr/lib/
for row in data_iter:
File "/usr/lib/
for s in info), )
File "/usr/lib/
data = item[field_name]
KeyError: 'redirect_url'
'redirect_url'
neutron lbaas-l7policy JSON data:
{
"l7policies": [
{
"id": "0e010b73-
"name": "policy-test"
},
{
"id": "63769214-
"name": "L7-01"
},
{
"id": "7317c1c0-
"name": "test"
},
{
"id": "dd462890-
"name": "02"
}
]
}
Changed in neutron: | |
status: | New → In Progress |
assignee: | nobody → huangshan (huangshan) |
Changed in octavia: | |
assignee: | huangshan (huangshan) → Michael Johnson (johnsom) |
Changed in octavia: | |
importance: | Undecided → High |
Changed in octavia: | |
assignee: | Michael Johnson (johnsom) → huangshan (huangshan) |
Forward the bug to octavia project (as neutron-lbaas is maintained by the octavia team).
Octavia team:
I am not sure the current status of neutronclient LBaaS v2 support and octavia client.
If you need a fix for neutronclient, feel free to forward the bug to neutronclient.