Logging - Error message is not correct in creating network log with incorrect 'resource_type'

Bug #1783330 reported by Yushiro FURUKAWA
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Incomplete
Undecided
Yushiro FURUKAWA

Bug Description

When we create network log with incorrect 'resource_type' like 'aaaaa', following error message are displayed:

$ openstack network log create --resource-type aaaaa --enable my-log
'Client' object has no attribute 'list_aaaaa'

'resource_type' can choose from a result of '$ openstack network loggable resources list'

$ openstack network loggable resources list
+-----------------+
| Supported types |
+-----------------+
| security_group |
+-----------------+

Tags: logging
Changed in neutron:
assignee: nobody → Yushiro FURUKAWA (y-furukawa-2)
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

from the description, it isn't clear to me which part is not correct. can you explain a little?
the number of "a" (5 vs 6) seems inconsistent. but it's just a typo, right?

Changed in neutron:
status: New → Incomplete
Revision history for this message
Yushiro FURUKAWA (y-furukawa-2) wrote :

Just 'typo'.

description: updated
Revision history for this message
Yushiro FURUKAWA (y-furukawa-2) wrote :

Here is a patch for this fix: https://review.openstack.org/#/c/585373/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.