python-contrail requires amqp and kombu python packages

Bug #1602503 reported by Ignatious Johnson Christopher
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Ignatious Johnson Christopher
R3.1
Fix Committed
High
Ignatious Johnson Christopher
Trunk
Fix Committed
High
Ignatious Johnson Christopher

Bug Description

When contrail-analytics is provisioned in separate host, contrail-alarm-gen fails to come up
because of dependency issue in python-contrail package

root@a5s193:~# contrail-status
== Contrail Analytics ==
supervisor-analytics: active
contrail-alarm-gen failed
contrail-analytics-api initializing (UvePartitions:UVE-Aggregation[None] connection down)
contrail-analytics-nodemgr active
contrail-collector active
contrail-query-engine active
contrail-snmp-collector active
contrail-topology active

   module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen.py", line 47, in <module>
    from alarmgen_config_handler import AlarmGenConfigHandler
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen_config_handler.py", line 12, in <module>
    from config_handler import ConfigHandler
  File "/usr/lib/python2.7/dist-packages/opserver/config_handler.py", line 10, in <module>
    from cfgm_common.vnc_kombu import VncKombuClient
  File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_kombu.py", line 5, in <module>
    import amqp.exceptions
ImportError: No module named amqp.exceptions
Traceback (most recent call last):
  File "/usr/bin/contrail-alarm-gen", line 9, in <module>
    load_entry_point('opserver==0.1dev', 'console_scripts', 'contrail-alarm-gen')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen.py", line 47, in <module>
    from alarmgen_config_handler import AlarmGenConfigHandler
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen_config_handler.py", line 12, in <module>
    from config_handler import ConfigHandler
  File "/usr/lib/python2.7/dist-packages/opserver/config_handler.py", line 10, in <module>
    from cfgm_common.vnc_kombu import VncKombuClient
  File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_kombu.py", line 7, in <module>
    import kombu
ImportError: No module named kombu

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/21925
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/21928
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/21929
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/21930
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/21925
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/21930
Committed: http://github.org/Juniper/contrail-controller/commit/19101dc67d904a61def24a464d55f3baaa545a41
Submitter: Zuul
Branch: master

commit 19101dc67d904a61def24a464d55f3baaa545a41
Author: Ignatious Johnson Christopher <email address hidden>
Date: Wed Jul 13 05:12:11 2016 +0000

Removing unused import ampq.exceptions.

Change-Id: I64db60d005ee144a7b3bcd5bfc0261a69e42d1ad
Closes-Bug: 1602503

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/21925
Committed: http://github.org/Juniper/contrail-packages/commit/183f1b0e932fa271c8610709a9dae11282104a79
Submitter: Zuul
Branch: master

commit 183f1b0e932fa271c8610709a9dae11282104a79
Author: Ignatious Johnson Christopher <email address hidden>
Date: Wed Jul 13 04:43:52 2016 +0000

python-contrail requires python-kombu.

Change-Id: Id927f8a5e957a560053cb0ee77102ffa3fc1f4d1
Closes-Bug: 1602503

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/22052
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/22053
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/21929
Committed: http://github.org/Juniper/contrail-controller/commit/7cd0d9239feface29fc460b802af793d9d6bccef
Submitter: Zuul
Branch: R3.0

commit 7cd0d9239feface29fc460b802af793d9d6bccef
Author: Ignatious Johnson Christopher <email address hidden>
Date: Wed Jul 13 05:12:11 2016 +0000

Removing unused import ampq.exceptions.

Change-Id: I64db60d005ee144a7b3bcd5bfc0261a69e42d1ad
Closes-Bug: 1602503

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/22053
Committed: http://github.org/Juniper/contrail-controller/commit/c2d333790a4cbc91c3dc2522dfae13dcd3cc8994
Submitter: Zuul
Branch: R3.1

commit c2d333790a4cbc91c3dc2522dfae13dcd3cc8994
Author: Ignatious Johnson Christopher <email address hidden>
Date: Wed Jul 13 05:12:11 2016 +0000

Removing unused import ampq.exceptions.

Change-Id: I64db60d005ee144a7b3bcd5bfc0261a69e42d1ad
Closes-Bug: 1602503

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/21928
Committed: http://github.org/Juniper/contrail-packages/commit/f760a1894daad1bfb01b466c434268748dd98da0
Submitter: Zuul
Branch: R3.0

commit f760a1894daad1bfb01b466c434268748dd98da0
Author: Ignatious Johnson Christopher <email address hidden>
Date: Wed Jul 13 05:10:15 2016 +0000

python-contrail requires python-amqp and python-kombu.

Change-Id: Id927f8a5e957a560053cb0ee77102ffa3fc1f4d1
Closes-Bug: 1602503

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/22052
Committed: http://github.org/Juniper/contrail-packages/commit/8955cff8922a9e67534215b0018a22dbe75c0a5c
Submitter: Zuul
Branch: R3.1

commit 8955cff8922a9e67534215b0018a22dbe75c0a5c
Author: Ignatious Johnson Christopher <email address hidden>
Date: Wed Jul 13 04:43:52 2016 +0000

python-contrail requires python-kombu.

Change-Id: Id927f8a5e957a560053cb0ee77102ffa3fc1f4d1
Closes-Bug: 1602503

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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