Wrong socket file path in tor-agent init script after the upgrade
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
Undecided
|
Kumar Harsh | |||
R3.1 |
Fix Committed
|
Undecided
|
Kumar Harsh | |||
R3.2 |
Fix Committed
|
Undecided
|
Kumar Harsh | |||
Trunk |
Fix Committed
|
Undecided
|
Kumar Harsh |
Bug Description
Hi Team,
Before upgrade:
OS:Ubuntu 14.04
Contrail: 2.21.2-36
After upgrade:
OS:Ubuntu 14:04
Contrail: 3.1.2.0-62(Mitaka)
After upgrading TSN from 2.21.2-36 to 3.1.2.0-62(Mitaka), most of the configuration files are properly updated, however /etc/init.
Note: In BUG 1582116,now socket files of supervisord are created under /var/run. Detail is mentioned in https:/
Customer thinks that, fabric utils or provisioning script should update these files during the upgrade of tor-agent, but currently they don't.
https:/
https:/
Below is the output from customer LAB
tor_upgrade_
-------
2017-02-10 13:43:50:227323: root@sv-
[root@10.0.0.205] Executing task 'sudo_cmd'
(snip)
2017-02-10 13:44:59:280492: [root@10.0.0.205] out: /etc/init.
(snip)
2017-02-10 13:45:01:577469: [root@10.0.0.209] out: /etc/init.
-------
As a result, service command fails to start/stop/restart tor-agent services.
tor_upgrade_
-------
2017-02-10 13:45:02:010753: root@sv-
[root@10.0.0.205] Executing task 'sudo_cmd'
2017-02-10 13:45:58:311079: [root@10.0.0.205] sudo: service contrail-
2017-02-10 13:45:58:311326: [root@10.0.0.205] out: unix://
2017-02-10 13:45:58:955964: [root@10.0.0.205] out:
2017-02-10 13:45:58:957674:
2017-02-10 13:45:58:965296: [root@10.0.0.209] Executing task 'sudo_cmd'
2017-02-10 13:45:58:965549: [root@10.0.0.209] sudo: service contrail-
2017-02-10 13:45:58:967506: [root@10.0.0.209] out: unix://
2017-02-10 13:45:59:562263: [root@10.0.0.209] out:
-------
I have replicated this issue in my LAB and below is the output from my LAB
2017-02-17 16:51:29:502536: root@control:
[root@10.
2017-02-17 16:53:26:239855: [root@10.
2017-02-17 16:53:26:240316: [root@10.
2017-02-17 16:53:26:648801: [root@10.
2017-02-17 16:53:26:649273:
2017-02-17 16:53:26:649527: [root@10.
2017-02-17 16:53:26:649710: [root@10.
2017-02-17 16:53:26:649925: [root@10.
2017-02-17 16:53:27:974255: [root@10.
2017-02-17 16:53:32:988460: [root@10.
2017-02-17 16:53:32:988930:
2017-02-17 16:53:32:989732:
2017-02-17 16:53:32:989967: Done.
2017-02-17 16:53:32:990017: Disconnecting from 10.204.74.154... done.
2017-02-17 16:53:33:106025: Disconnecting from 10.204.74.153... done.
root@control:
[root@10.
2017-02-17 16:51:24:786157: [root@10.
2017-02-17 16:51:24:786859: [root@10.
2017-02-17 16:51:25:553896: [root@10.
2017-02-17 16:51:25:554100: [root@10.
2017-02-17 16:51:26:056471: [root@10.
2017-02-17 16:51:26:056977: [root@10.
2017-02-17 16:51:26:322492: [root@10.
2017-02-17 16:51:26:623981:
2017-02-17 16:51:26:624621: [root@10.
2017-02-17 16:51:26:624987: [root@10.
2017-02-17 16:51:26:625407: [root@10.
2017-02-17 16:51:27:071328: [root@10.
2017-02-17 16:51:27:071455: [root@10.
2017-02-17 16:51:27:071552: [root@10.
2017-02-17 16:51:27:905905: [root@10.
2017-02-17 16:51:27:906472:
2017-02-17 16:51:27:911818: [root@10.
2017-02-17 16:51:27:912106: [root@10.
2017-02-17 16:51:27:912377: [root@10.
2017-02-17 16:51:28:520533: [root@10.
2017-02-17 16:51:28:520714: [root@10.
2017-02-17 16:51:28:528532: [root@10.
2017-02-17 16:51:28:561607: [root@10.
2017-02-17 16:51:29:070640: [root@10.
2017-02-17 16:51:29:070924: [root@10.
2017-02-17 16:51:29:235084:
2017-02-17 16:51:29:258547:
2017-02-17 16:51:29:258882: Done.
2017-02-17 16:51:29:258937: Disconnecting from 10.204.74.154... done.
2017-02-17 16:51:29:373707: Disconnecting from 10.204.74.152... done.
2017-02-17 16:51:29:438032: Disconnecting from 10.204.74.153... done.
2017-02-17 16:51:29:502536: root@control:
-Regards,
Mehul Patel
information type: | Proprietary → Public |
tags: | added: analytics |
Changed in juniperopenstack: | |
assignee: | nobody → Raj Reddy (rajreddy) |
tags: | removed: analytics |
Hari, please assign someone.. the files that are created should have if..else.. like the rest of the .ini files -- Nikhil can give more details in this regard..