← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1783330] [NEW] Logging - Error message is not correct in creating network log with incorrect 'resource_type'

 

Public bug reported:

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

$ openstack network log create --resource-type aaaaaa --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  |
+-----------------+

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: logging

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1783330

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

Status in neutron:
  New

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

  $ openstack network log create --resource-type aaaaaa --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  |
  +-----------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1783330/+subscriptions