upgrade_2.21to3.1.0.log:
------------------------------------------------------------------------------
2016-11-28 09:25:13:051824: [root@10.0.0.201] out: The following extra packages will be installed:
2016-11-28 09:25:13:067773: [root@10.0.0.201] out: contrail-web-controller contrail-web-core opscenter
2016-11-28 09:25:13:067938: [root@10.0.0.201] out: The following NEW packages will be installed:
2016-11-28 09:25:13:071481: [root@10.0.0.201] out: opscenter
2016-11-28 09:25:13:071584: [root@10.0.0.201] out: The following packages will be upgraded:
2016-11-28 09:25:13:075102: [root@10.0.0.201] out: contrail-openstack-webui contrail-web-controller contrail-web-core
2016-11-28 09:25:13:085830: [root@10.0.0.201] out: 3 upgraded, 1 newly installed, 0 to remove and 247 not upgraded.
------------------------------------------------------------------------------
Upgrading nodejs package resolved the issue.
------------------------------------------------------------------------------
root@sv-1:~# apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
jsvc libcommons-daemon-java libjna-java librdkafka1
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
nodejs
1 upgraded, 0 newly installed, 0 to remove and 250 not upgraded.
Need to get 0 B/3,937 kB of archives.
After this operation, 4,140 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
nodejs
Authentication warning overridden.
(Reading database ... 128369 files and directories currently installed.)
Preparing to unpack .../nodejs_0.10.35-1contrail1_amd64.deb ...
Unpacking nodejs (0.10.35-1contrail1) over (0.8.15-1contrail1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up nodejs (0.10.35-1contrail1) ...
root@sv-1:~# contrail-status
== Contrail Control ==
supervisor-control: active
contrail-control active
contrail-control-nodemgr active
contrail-dns active
contrail-named active
== Contrail Analytics ==
supervisor-analytics: active
contrail-alarm-gen:0 active
contrail-analytics-api active
contrail-analytics-nodemgr active
contrail-collector active
contrail-query-engine active
contrail-snmp-collector active
contrail-topology active
== Contrail Config ==
supervisor-config: active
contrail-api:0 active
contrail-config-nodemgr active
contrail-device-manager backup
contrail-discovery:0 active
contrail-schema backup
contrail-svc-monitor backup
ifmap active
== Contrail Web UI ==
supervisor-webui: active
contrail-webui active
contrail-webui-middleware active
== Contrail Database ==
contrail-database: active
== Contrail Supervisor Database ==
supervisor-database: active
contrail-database-nodemgr active
kafka active
== Contrail Support Services ==
supervisor-support-service: active
rabbitmq-server active
I guess this has to do with the dependency on contrail-web-core package.
contrail- web-core_ 3.1.1.0- 45_amd64. de should depend on nodejs (>= 0.10.35- 1contrail1) ,
but it actually depends on nodejs (>= 0.8.15-1contrail1).
------- ------- ------- ------- ------- ------- ------- ------- ---- config. global. js 486b3a720c0c158 80d04800b464dff 85 contrail- webui-userauth. js 96d429539030e61 e9f719675a7ac80 17 ------- ------- ------- ------- ------- ------- ------- ----
(after upgrade)
root@sv-1:~# nodejs -v
v0.8.15
root@sv-1:~# dpkg -s contrail-web-core
Package: contrail-web-core
Status: install ok installed
Priority: extra
Section: contrail-web-core
Installed-Size: 83765
Maintainer: swamy <email address hidden>
Architecture: amd64
Version: 3.1.1.0-45
Replaces: contrail-webui
Depends: redis-server (>= 2:2.6.13-1), nodejs (>= 0.8.15-1contrail1) <<< this
Conflicts: contrail-webui
Conffiles:
/etc/contrail/
/etc/contrail/
Description: Contrail Systems Web UI
-------
So, nodejs package is not updated during upgrade.
upgrade_ 2.21to3. 1.0.log: ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - web-controller contrail-web-core opscenter openstack- webui contrail- web-controller contrail-web-core ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
-------
2016-11-28 09:25:13:051824: [root@10.0.0.201] out: The following extra packages will be installed:
2016-11-28 09:25:13:067773: [root@10.0.0.201] out: contrail-
2016-11-28 09:25:13:067938: [root@10.0.0.201] out: The following NEW packages will be installed:
2016-11-28 09:25:13:071481: [root@10.0.0.201] out: opscenter
2016-11-28 09:25:13:071584: [root@10.0.0.201] out: The following packages will be upgraded:
2016-11-28 09:25:13:075102: [root@10.0.0.201] out: contrail-
2016-11-28 09:25:13:085830: [root@10.0.0.201] out: 3 upgraded, 1 newly installed, 0 to remove and 247 not upgraded.
-------
Upgrading nodejs package resolved the issue.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - daemon- java libjna-java librdkafka1 0.10.35- 1contrail1_ amd64.deb ... 1contrail1) over (0.8.15-1contrail1) ... 1contrail1) ... control- nodemgr active
root@sv-1:~# apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
jsvc libcommons-
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
nodejs
1 upgraded, 0 newly installed, 0 to remove and 250 not upgraded.
Need to get 0 B/3,937 kB of archives.
After this operation, 4,140 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
nodejs
Authentication warning overridden.
(Reading database ... 128369 files and directories currently installed.)
Preparing to unpack .../nodejs_
Unpacking nodejs (0.10.35-
Processing triggers for man-db (2.6.7.1-1) ...
Setting up nodejs (0.10.35-
root@sv-1:~# contrail-status
== Contrail Control ==
supervisor-control: active
contrail-control active
contrail-
contrail-dns active
contrail-named active
== Contrail Analytics == analytics: active alarm-gen: 0 active analytics- api active analytics- nodemgr active query-engine active snmp-collector active
supervisor-
contrail-
contrail-
contrail-
contrail-collector active
contrail-
contrail-
contrail-topology active
== Contrail Config == config- nodemgr active device- manager backup discovery: 0 active svc-monitor backup
supervisor-config: active
contrail-api:0 active
contrail-
contrail-
contrail-
contrail-schema backup
contrail-
ifmap active
== Contrail Web UI == webui-middlewar e active
supervisor-webui: active
contrail-webui active
contrail-
== Contrail Database ==
contrail-database: active
== Contrail Supervisor Database == database: active database- nodemgr active
supervisor-
contrail-
kafka active
== Contrail Support Services == support- service: active
supervisor-
rabbitmq-server active
root@sv-1:~# service supervisor-webui restart ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
supervisor-webui stop/waiting
supervisor-webui start/running, process 31975
root@sv-1:~# netstat -natp | egrep "8080|8143"
tcp 0 0 0.0.0.0:8143 0.0.0.0:* LISTEN 31998/node
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 31998/node
root@sv-1:~#
-------
Even running the following fab tasks instead of apt-get resolves the issue too.
fab uninstall_webui
fab install_webui
fab setup_webui
Please fix this.