← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1373266] [NEW] Fix space and spelling issues in log/exception messages

 

Public bug reported:

1) neutron/common/exceptions.py

class PortInUse

message = "Unable to complete operation on port %(port_id)s for network
%(net_id)s. Port already has an attacheddevice %(device_id)s."

should be
message = "Unable to complete operation on port %(port_id)s for network %(net_id)s. Port already has an attached device %(device_id)s."

2) neutron/db/l3_db.py
'Cannot add floating IP to port %s that hasno fixed IP addresses'

should be
'Cannot add floating IP to port %s that has no fixed IP addresses'

3) neutron/plugins/bigswitch/config.py
config parameter 'servers'
help message = "A comma separated list of Big Switch or Floodlight servers and port numbers. The plugin proxies the requests to the Big Switch/Floodlight server, which performs the networking configuration. Only oneserver is needed per deployment, but you may wish todeploy multiple servers to support failover."

should be

help message = "A comma separated list of Big Switch or Floodlight
servers and port numbers. The plugin proxies the requests to the Big
Switch/Floodlight server, which performs the networking configuration.
Only one server is needed per deployment, but you may wish to deploy
multiple servers to support failover."

4)
#: neutron/plugins/bigswitch/plugin.py:399
#: neutron/plugins/ml2/drivers/mech_bigswitch/driver.py:106
msgid "Iconsistency with backend controller triggering full synchronization."

should be

msgid "Inconsistency with backend controller triggering full
synchronization."

5)
#: neutron/plugins/cisco/common/cisco_faults.py:120

msgid "Unable to find a Novatenant with the specified identifier."

should be
msgid "Unable to find a Nova tenant with the specified identifier."

6)
#: neutron/plugins/cisco/l3/hosting_device_drivers/csr1kv_hd_driver.py:68
#, python-format
msgid "Failed to create config file: %s. Trying toclean up."

should be

msgid "Failed to create config file: %s. Trying to clean up."

7)
#: neutron/plugins/hyperv/agent/hyperv_neutron_agent.py:69
msgid ""
"Specifies the maximum number of retries to enable Hyper-V's port metrics "
"collection. The agent will try to enable the feature once every "
"polling_interval period for at most metrics_max_retries or until it "
"succeedes."

should be

msgid ""
"Specifies the maximum number of retries to enable Hyper-V's port metrics "
"collection. The agent will try to enable the feature once every "
"polling_interval period for at most metrics_max_retries or until it "
"succeeds."

8)
#: neutron/plugins/hyperv/agent/hyperv_neutron_agent.py:311
#, python-format
msgid "Network %s is not avalailable on this agent"

should be
msgid "Network %s is not available on this agent"

9)
#: neutron/plugins/hyperv/agent/security_groups_driver.py:92
msgid "Aplying port filter."

should be
msgid "Applying port filter."

10)
#: neutron/plugins/ibm/agent/sdnve_neutron_agent.py:143
#, python-format
msgid "info_update received. New controlleris to be set to: %s"

should be
msgid "info_update received. New controller is to be set to: %s"

11)
#: neutron/plugins/ibm/common/exceptions.py:28
#, python-format
msgid "The input does not contain nececessary info: %(msg)s"

should be
msgid "The input does not contain necessary info: %(msg)s"

12)
#: neutron/plugins/midonet/midonet_lib.py:159
msgid "Tried to add tonon-existent DHCP"

should be

msgid "Tried to add to non-existent DHCP"

13)

#: neutron/plugins/midonet/common/config.py:31
msgid "ID of the project that MidoNet admin userbelongs to."

should be

msgid "ID of the project that MidoNet admin user belongs to."

14)
#: neutron/plugins/ml2/drivers/arista/arista_l3_driver.py:336
#, python-format
msgid "Error occured while trying to execute commands %(cmd)s on EOS %(host)s"

should be
msgid "Error occurred while trying to execute commands %(cmd)s on EOS %(host)s"

15)
#: neutron/plugins/ml2/drivers/arista/config.py:60
msgid ""
"Defines Region Name that is assigned to this OpenStack Controller. This "
"is useful when multiple OpenStack/Neutron controllers are managing the "
"same Arista HW clusters. Note that this name must match with the region "
"name registered (or known) to keystone service. Authentication with "
"Keysotne is performed by EOS. This is optional. If not set, a value of "
"\"RegionOne\" is assumed."

s/Keysotne/Keystone

16)
#: neutron/plugins/ml2/drivers/arista/mechanism_arista.py:739
#, python-format
msgid "Network %s is not created as it is not found inArista DB"

should be
msgid "Network %s is not created as it is not found in Arista DB"

17)

#: neutron/plugins/ml2/drivers/arista/mechanism_arista.py:781
#, python-format
msgid "Network %s is not updated as it is not found inArista DB"
msgstr ""

should be
msgid "Network %s is not updated as it is not found in Arista DB"

18)
#: neutron/plugins/ml2/drivers/l2pop/config.py:25
msgid ""
"Delay within which agent is expected to update existing ports whent it "
"restarts"

should be
msgid ""
"Delay within which agent is expected to update existing ports when it "
"restarts"

19)
#: neutron/plugins/nuage/plugin.py:118
#, python-format
msgid ""
"Either %(resource)s %(req_resource)s not found or you dont have "
"credential to access it"

should be
msgid ""
"Either %(resource)s %(req_resource)s not found or you don't have "
"credential to access it"

20)
#: neutron/plugins/ofagent/agent/ofa_neutron_agent.py:1014
#, python-format
msgid "Invalid tunnel type specificed: %s"

should be
msgid "Invalid tunnel type specified: %s"

21)
#: neutron/plugins/openvswitch/ovs_db_v2.py:391
#, python-format
msgid ""
"Adding a tunnel endpoint failed due to a concurrenttransaction had been "
"committed (%s attempts left)"

should be

msgid ""
"Adding a tunnel endpoint failed due to a concurrent transaction had been "
"committed (%s attempts left)"

22)
#: neutron/plugins/vmware/common/config.py:65
msgid ""
"The default network tranport type to use (stt, gre, bridge, ipsec_gre, or"
" ipsec_stt)"

should be

msgid ""
"The default network transport type to use (stt, gre, bridge, ipsec_gre, or"
" ipsec_stt)"

23)
#: neutron/plugins/vmware/common/config.py:146
msgid ""
"Name of the interface on a L2 Gateway transport nodewhich should be used "
"by default when setting up a network connection"

should be
msgid ""
"Name of the interface on a L2 Gateway transport node which should be used "
"by default when setting up a network connection"

24)
#: neutron/plugins/vmware/plugins/base.py:2033
msgid ""
"Unable to remove gateway service from NSX plaform - the resource was not "
"found"

should be

msgid ""
"Unable to remove gateway service from NSX platform - the resource was not "
"found"

25)
#: neutron/plugins/vmware/plugins/base.py:2364
#, python-format
msgid ""
"An exception occurred while removing the NSX security profile "
"%(sec_profile_id)s, associated with Netron security group "
"%(sec_group_id)s"

should be

msgid ""
"An exception occurred while removing the NSX security profile "
"%(sec_profile_id)s, associated with Neutron security group "
"%(sec_group_id)s"

** Affects: neutron
     Importance: Undecided
     Assignee: Pranali Deore (pranali-deore)
         Status: New


** Tags: ntt

** Changed in: neutron
     Assignee: (unassigned) => Pranali Deore (pranali-deore)

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

Title:
  Fix space and spelling issues in log/exception messages

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  1) neutron/common/exceptions.py

  class PortInUse

  message = "Unable to complete operation on port %(port_id)s for
  network %(net_id)s. Port already has an attacheddevice %(device_id)s."

  should be
  message = "Unable to complete operation on port %(port_id)s for network %(net_id)s. Port already has an attached device %(device_id)s."

  2) neutron/db/l3_db.py
  'Cannot add floating IP to port %s that hasno fixed IP addresses'

  should be
  'Cannot add floating IP to port %s that has no fixed IP addresses'

  3) neutron/plugins/bigswitch/config.py
  config parameter 'servers'
  help message = "A comma separated list of Big Switch or Floodlight servers and port numbers. The plugin proxies the requests to the Big Switch/Floodlight server, which performs the networking configuration. Only oneserver is needed per deployment, but you may wish todeploy multiple servers to support failover."

  should be

  help message = "A comma separated list of Big Switch or Floodlight
  servers and port numbers. The plugin proxies the requests to the Big
  Switch/Floodlight server, which performs the networking configuration.
  Only one server is needed per deployment, but you may wish to deploy
  multiple servers to support failover."

  4)
  #: neutron/plugins/bigswitch/plugin.py:399
  #: neutron/plugins/ml2/drivers/mech_bigswitch/driver.py:106
  msgid "Iconsistency with backend controller triggering full synchronization."

  should be

  msgid "Inconsistency with backend controller triggering full
  synchronization."

  5)
  #: neutron/plugins/cisco/common/cisco_faults.py:120

  msgid "Unable to find a Novatenant with the specified identifier."

  should be
  msgid "Unable to find a Nova tenant with the specified identifier."

  6)
  #: neutron/plugins/cisco/l3/hosting_device_drivers/csr1kv_hd_driver.py:68
  #, python-format
  msgid "Failed to create config file: %s. Trying toclean up."

  should be

  msgid "Failed to create config file: %s. Trying to clean up."

  7)
  #: neutron/plugins/hyperv/agent/hyperv_neutron_agent.py:69
  msgid ""
  "Specifies the maximum number of retries to enable Hyper-V's port metrics "
  "collection. The agent will try to enable the feature once every "
  "polling_interval period for at most metrics_max_retries or until it "
  "succeedes."

  should be

  msgid ""
  "Specifies the maximum number of retries to enable Hyper-V's port metrics "
  "collection. The agent will try to enable the feature once every "
  "polling_interval period for at most metrics_max_retries or until it "
  "succeeds."

  8)
  #: neutron/plugins/hyperv/agent/hyperv_neutron_agent.py:311
  #, python-format
  msgid "Network %s is not avalailable on this agent"

  should be
  msgid "Network %s is not available on this agent"

  9)
  #: neutron/plugins/hyperv/agent/security_groups_driver.py:92
  msgid "Aplying port filter."

  should be
  msgid "Applying port filter."

  10)
  #: neutron/plugins/ibm/agent/sdnve_neutron_agent.py:143
  #, python-format
  msgid "info_update received. New controlleris to be set to: %s"

  should be
  msgid "info_update received. New controller is to be set to: %s"

  11)
  #: neutron/plugins/ibm/common/exceptions.py:28
  #, python-format
  msgid "The input does not contain nececessary info: %(msg)s"

  should be
  msgid "The input does not contain necessary info: %(msg)s"

  12)
  #: neutron/plugins/midonet/midonet_lib.py:159
  msgid "Tried to add tonon-existent DHCP"

  should be

  msgid "Tried to add to non-existent DHCP"

  13)

  #: neutron/plugins/midonet/common/config.py:31
  msgid "ID of the project that MidoNet admin userbelongs to."

  should be

  msgid "ID of the project that MidoNet admin user belongs to."

  14)
  #: neutron/plugins/ml2/drivers/arista/arista_l3_driver.py:336
  #, python-format
  msgid "Error occured while trying to execute commands %(cmd)s on EOS %(host)s"

  should be
  msgid "Error occurred while trying to execute commands %(cmd)s on EOS %(host)s"

  15)
  #: neutron/plugins/ml2/drivers/arista/config.py:60
  msgid ""
  "Defines Region Name that is assigned to this OpenStack Controller. This "
  "is useful when multiple OpenStack/Neutron controllers are managing the "
  "same Arista HW clusters. Note that this name must match with the region "
  "name registered (or known) to keystone service. Authentication with "
  "Keysotne is performed by EOS. This is optional. If not set, a value of "
  "\"RegionOne\" is assumed."

  s/Keysotne/Keystone

  16)
  #: neutron/plugins/ml2/drivers/arista/mechanism_arista.py:739
  #, python-format
  msgid "Network %s is not created as it is not found inArista DB"

  should be
  msgid "Network %s is not created as it is not found in Arista DB"

  17)

  #: neutron/plugins/ml2/drivers/arista/mechanism_arista.py:781
  #, python-format
  msgid "Network %s is not updated as it is not found inArista DB"
  msgstr ""

  should be
  msgid "Network %s is not updated as it is not found in Arista DB"

  18)
  #: neutron/plugins/ml2/drivers/l2pop/config.py:25
  msgid ""
  "Delay within which agent is expected to update existing ports whent it "
  "restarts"

  should be
  msgid ""
  "Delay within which agent is expected to update existing ports when it "
  "restarts"

  19)
  #: neutron/plugins/nuage/plugin.py:118
  #, python-format
  msgid ""
  "Either %(resource)s %(req_resource)s not found or you dont have "
  "credential to access it"

  should be
  msgid ""
  "Either %(resource)s %(req_resource)s not found or you don't have "
  "credential to access it"

  20)
  #: neutron/plugins/ofagent/agent/ofa_neutron_agent.py:1014
  #, python-format
  msgid "Invalid tunnel type specificed: %s"

  should be
  msgid "Invalid tunnel type specified: %s"

  21)
  #: neutron/plugins/openvswitch/ovs_db_v2.py:391
  #, python-format
  msgid ""
  "Adding a tunnel endpoint failed due to a concurrenttransaction had been "
  "committed (%s attempts left)"

  should be

  msgid ""
  "Adding a tunnel endpoint failed due to a concurrent transaction had been "
  "committed (%s attempts left)"

  22)
  #: neutron/plugins/vmware/common/config.py:65
  msgid ""
  "The default network tranport type to use (stt, gre, bridge, ipsec_gre, or"
  " ipsec_stt)"

  should be

  msgid ""
  "The default network transport type to use (stt, gre, bridge, ipsec_gre, or"
  " ipsec_stt)"

  23)
  #: neutron/plugins/vmware/common/config.py:146
  msgid ""
  "Name of the interface on a L2 Gateway transport nodewhich should be used "
  "by default when setting up a network connection"

  should be
  msgid ""
  "Name of the interface on a L2 Gateway transport node which should be used "
  "by default when setting up a network connection"

  24)
  #: neutron/plugins/vmware/plugins/base.py:2033
  msgid ""
  "Unable to remove gateway service from NSX plaform - the resource was not "
  "found"

  should be

  msgid ""
  "Unable to remove gateway service from NSX platform - the resource was not "
  "found"

  25)
  #: neutron/plugins/vmware/plugins/base.py:2364
  #, python-format
  msgid ""
  "An exception occurred while removing the NSX security profile "
  "%(sec_profile_id)s, associated with Netron security group "
  "%(sec_group_id)s"

  should be

  msgid ""
  "An exception occurred while removing the NSX security profile "
  "%(sec_profile_id)s, associated with Neutron security group "
  "%(sec_group_id)s"

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


Follow ups

References