Public bug reported:

notification_driver is configured in neutron.conf as shown below.

notification_driver = neutron.openstack.common.notifier.log_notifier

default_notification_level = INFO

notification_topics = notifications

When an administrator wants to host a particular router to a given l3
agent, then he/she has to execute the below command.

neutron l3-agent-router-add

as shown in the below example.

root@preetictl:/usr/share/pyshared/neutron/db# neutron agent-list
+--------------------------------------+--------------------+----------+-------+----------------+
| id                                   | agent_type         | host     | alive 
| admin_state_up |
+--------------------------------------+--------------------+----------+-------+----------------+
| 1d7de23f-318b-42ce-af0b-4bf359bf43ba | L3 agent           | preetinn | :-)   
| True           |
| 3e6e04f3-9dd2-412a-a5e4-cc7d1fb3ef5a | DHCP agent         | preetinn | :-)   
| True           |
| 7c771b8c-d3ed-47f5-a211-f7106590d021 | Open vSwitch agent | preetinn | :-)   
| True           |
| 9c136918-6dc7-4ded-b3bc-e5ddf5d8c8b3 | Metering agent     | preetinn | :-)   
| True           |
| e5032227-7bf0-4be3-9abe-b97e5f9872ba | Open vSwitch agent | preeticn | :-)   
| True           |
| ef17dd6d-99cd-4f23-84d6-e051e3769592 | Metadata agent     | preetinn | :-)   
| True           |
+--------------------------------------+--------------------+----------+-------+----------------+root@preetictl:/usr/share/pyshared/neutron/db#
 neutron router-list

root@preetictl:/usr/share/pyshared/neutron/db# neutron router-create r1
Created a new router:
+-----------------------+--------------------------------------+
| Field                 | Value                                |
+-----------------------+--------------------------------------+
| admin_state_up        | True                                 |
| external_gateway_info |                                      |
| id                    | bbe93061-1d01-4700-87e7-64775ea0eed1 |
| name                  | r1                                   |
| status                | ACTIVE                               |
| tenant_id             | 27f36508a3e1417facfac0d0809a1740     |
+-----------------------+--------------------------------------+


root@preetictl:/usr/share/pyshared/neutron/db# neutron l3-agent-router-add 
1d7de23f-318b-42ce-af0b-4bf359bf43ba bbe93061-1d01-4700-87e7-64775ea0eed1
Added router bbe93061-1d01-4700-87e7-64775ea0eed1 to L3 agent

After this operation is successful, a notification is NOT generated
although the notification_driver is configured.

Similarly, neutron l3-agent-router-remove also does not generate
notification.

** Affects: neutron
     Importance: Undecided
     Assignee: Maruti Kamat (maruti-kamat)
         Status: New


** Tags: l3-agent-router-add-remove

** Changed in: neutron
     Assignee: (unassigned) => Maruti Kamat (maruti-kamat)

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

Title:
  notification is not generated for neutron l3-agent-router-add command

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  notification_driver is configured in neutron.conf as shown below.

  notification_driver = neutron.openstack.common.notifier.log_notifier

  default_notification_level = INFO

  notification_topics = notifications

  When an administrator wants to host a particular router to a given l3
  agent, then he/she has to execute the below command.

  neutron l3-agent-router-add

  as shown in the below example.

  root@preetictl:/usr/share/pyshared/neutron/db# neutron agent-list
  
+--------------------------------------+--------------------+----------+-------+----------------+
  | id                                   | agent_type         | host     | 
alive | admin_state_up |
  
+--------------------------------------+--------------------+----------+-------+----------------+
  | 1d7de23f-318b-42ce-af0b-4bf359bf43ba | L3 agent           | preetinn | :-)  
 | True           |
  | 3e6e04f3-9dd2-412a-a5e4-cc7d1fb3ef5a | DHCP agent         | preetinn | :-)  
 | True           |
  | 7c771b8c-d3ed-47f5-a211-f7106590d021 | Open vSwitch agent | preetinn | :-)  
 | True           |
  | 9c136918-6dc7-4ded-b3bc-e5ddf5d8c8b3 | Metering agent     | preetinn | :-)  
 | True           |
  | e5032227-7bf0-4be3-9abe-b97e5f9872ba | Open vSwitch agent | preeticn | :-)  
 | True           |
  | ef17dd6d-99cd-4f23-84d6-e051e3769592 | Metadata agent     | preetinn | :-)  
 | True           |
  
+--------------------------------------+--------------------+----------+-------+----------------+root@preetictl:/usr/share/pyshared/neutron/db#
 neutron router-list

  root@preetictl:/usr/share/pyshared/neutron/db# neutron router-create r1
  Created a new router:
  +-----------------------+--------------------------------------+
  | Field                 | Value                                |
  +-----------------------+--------------------------------------+
  | admin_state_up        | True                                 |
  | external_gateway_info |                                      |
  | id                    | bbe93061-1d01-4700-87e7-64775ea0eed1 |
  | name                  | r1                                   |
  | status                | ACTIVE                               |
  | tenant_id             | 27f36508a3e1417facfac0d0809a1740     |
  +-----------------------+--------------------------------------+

  
  root@preetictl:/usr/share/pyshared/neutron/db# neutron l3-agent-router-add 
1d7de23f-318b-42ce-af0b-4bf359bf43ba bbe93061-1d01-4700-87e7-64775ea0eed1
  Added router bbe93061-1d01-4700-87e7-64775ea0eed1 to L3 agent

  After this operation is successful, a notification is NOT generated
  although the notification_driver is configured.

  Similarly, neutron l3-agent-router-remove also does not generate
  notification.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to