AnsweredAssumed Answered

VMTurbo broken after last "zypper update"

Question asked by red-erik on Oct 7, 2014
Latest reply on Oct 9, 2014 by eva.tuczai

Hi All,

my appliance is not working any more after the last zypper update.

The cause should be Tomcat 7 (the service won't start, persistence service too).

 

Here is the log of the update

 

(47/57) Installing: rubygem-activesupport-2_3-2.3.17-3.9 .............................................................................................................................................[done]
(48/57) Installing: rubygem-activeresource-2_3-2.3.17-1.6 ............................................................................................................................................[done]
(49/57) Installing: rubygem-activerecord-2_3-2.3.17-2.6 ..............................................................................................................................................[done]
(50/57) Installing: rubygem-actionpack-2_3-2.3.17-1.6 ................................................................................................................................................[done]
(51/57) Installing: rubygem-actionmailer-2_3-2.3.17-1.6 ..............................................................................................................................................[done]
(52/57) Installing: rubygem-rails-2_3-2.3.17-1.3 .....................................................................................................................................................[done]
(53/57) Installing: vmt-presentation-4.7-29949 .......................................................................................................................................................[done]
(54/57) Installing: vmt-persistence-4.62-29949 .......................................................................................................................................................[done]
(55/57) Installing: vmt-config-4.7-29949 .............................................................................................................................................................[done]
Additional rpm output:
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/lib64/ruby/gems/1.9.1/gems/rails-2.3.17/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from /usr/lib64/ruby/gems/1.9.1/gems/rails-2.3.17/lib/rails/vendor_gem_source_index.rb:100.
/usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:55:in `require': iconv will be deprecated in the future, use String#encode instead.
MySQL restart finished..
Curr Version is 61
Up Version is 62
Running mysql -uvmtplatform -pvmturbo < migrate_61_to_62.sql
progress
Start DB migration 61->62
progress
Migration Done
Backing up existing custom reports...

Removing obsolete custom reports...
Adding/updating reference data...
ERROR 1062 (23000) at line 72: Duplicate entry '2-2-num_days_ago' for key 'PRIMARY'
Updating views...

Updating functions...

Updating stored procedures...

2014-10-06 16:59:19,345 INFO [main] [OperationalEntities] : AppSettingsManager : Start loading /tmp/applications.config.topology
2014-10-06 16:59:19,544 INFO [main] [OperationalEntities] : AppSettingsManager : Done loading /tmp/applications.config.topology
2014-10-06 16:59:19,553 INFO [main] [Topology] : Saving to /tmp/applications.config.topology_NEW
2014-10-06 16:59:19,607 INFO [main] [Topology] : Done saving to /tmp/applications.config.topology_NEW
2014-10-06 16:59:22,270 INFO [main] [Topology] : Start loading /tmp/disc.config.topology.migration.tmp...
2014-10-06 16:59:22,775 INFO [main] [Topology] : Done loading /tmp/disc.config.topology.migration.tmp
2014-10-06 16:59:22,784 INFO [main] [Topology] : Start loading /tmp/disc.config.topology_TMP...
2014-10-06 16:59:22,849 INFO [main] [Topology] : Done loading /tmp/disc.config.topology_TMP
2014-10-06 16:59:22,857 INFO [main] [Topology] : Saving to /tmp/disc.config.topology_TMP
2014-10-06 16:59:22,908 INFO [main] [Topology] : Done saving to /tmp/disc.config.topology_TMP
Success migrating disc.config.topology
2014-10-06 16:59:26,221 INFO [main] [dbio] : DbWriter-auditLogWriter next rollup is: 2014-10-07 00:00
2014-10-06 16:59:26,226 INFO [main] [Notifications] : Local address is 172.25.1.49
2014-10-06 16:59:26,228 INFO [main] [OperationalEntities] : DiscoveryManager : Start loading /tmp/disc.config.topology_TMP
2014-10-06 16:59:26,520 INFO [main] [OperationalEntities] : DiscoveryManager : Done loading /tmp/disc.config.topology_TMP
2014-10-06 16:59:26,520 INFO [main] [OperationalEntities] : ServiceProxyManager : Start loading /tmp/appliances.config.topology
2014-10-06 16:59:26,523 INFO [main] [OperationalEntities] : ServiceProxyManager : Done loading /tmp/appliances.config.topology
Copying 0 underlying appliances to disc.config
2014-10-06 16:59:26,523 INFO [main] [Topology] : Saving to /tmp/disc.config.topology_NEW
2014-10-06 16:59:26,554 INFO [main] [Topology] : Done saving to /tmp/disc.config.topology_NEW
2014-10-06 16:59:26,554 INFO [main] [Topology] : Saving to /tmp/appliances.config.topology_NEW
2014-10-06 16:59:26,555 INFO [main] [Topology] : Done saving to /tmp/appliances.config.topology_NEW
Success migrating VMTAppliance targets
2014-10-06 16:59:29,095 INFO [main] [Topology] : Start loading /tmp/healthtest.config.topology...
2014-10-06 16:59:29,413 INFO [main] [Topology] : Done loading /tmp/healthtest.config.topology
2014-10-06 16:59:29,413 INFO [main] [Topology] : Start loading /tmp/healthtest.config.topology_TMP...
2014-10-06 16:59:29,442 INFO [main] [Topology] : Done loading /tmp/healthtest.config.topology_TMP
2014-10-06 16:59:29,443 INFO [main] [Topology] : Saving to /tmp/healthtest.config.topology_NEW
2014-10-06 16:59:29,502 INFO [main] [Topology] : Done saving to /tmp/healthtest.config.topology_NEW
Success migrating healthtest.config.topology
2014-10-06 16:59:32,171 INFO [main] [Topology] : Start loading /tmp/license.config.topology...
2014-10-06 16:59:32,376 INFO [main] [Topology] : Done loading /tmp/license.config.topology
2014-10-06 16:59:32,381 INFO [main] [Topology] : Saving to /tmp/license.config.topology_NEW
2014-10-06 16:59:32,476 INFO [main] [Topology] : Done saving to /tmp/license.config.topology_NEW
Done saving new license to the file /tmp/license.config.topology_NEW! Enjoy!!
2014-10-06 16:59:34,891 INFO [main] [Topology] : Start loading /tmp/marketSettingsManager.config.topology.migration.tmp...
2014-10-06 16:59:35,093 INFO [main] [Topology] : Done loading /tmp/marketSettingsManager.config.topology.migration.tmp
2014-10-06 16:59:35,093 INFO [main] [Topology] : Saving to /tmp/marketSettingsManager.config.topology_NEW
2014-10-06 16:59:35,162 INFO [main] [Topology] : Done saving to /tmp/marketSettingsManager.config.topology_NEW
Migrating MarketSettingsManager finished! Enjoy!!
2014-10-06 16:59:38,004 INFO [main] [Topology] : Start loading /tmp/settings.config.topology.migration.tmp...
2014-10-06 16:59:38,241 INFO [main] [Topology] : Done loading /tmp/settings.config.topology.migration.tmp
2014-10-06 16:59:39,032 INFO [main] [dbio] : DbWriter-auditLogWriter next rollup is: 2014-10-07 00:00
2014-10-06 16:59:39,036 INFO [main] [Notifications] : Local address is 172.25.1.49
2014-10-06 16:59:39,088 INFO [main] [Topology] : Saving to /tmp/settings.config.topology_NEW
2014-10-06 16:59:39,108 INFO [main] [Topology] : Done saving to /tmp/settings.config.topology_NEW
2014-10-06 16:59:41,731 INFO [main] [Topology] : Start loading /tmp/ServiceEntityProfiles.profiles.topology.migration.tmp...
2014-10-06 16:59:41,867 INFO [main] [Topology] : Done loading /tmp/ServiceEntityProfiles.profiles.topology.migration.tmp
2014-10-06 16:59:41,876 INFO [main] [Topology] : Start loading /tmp/ServiceEntityProfiles.profiles.topology...
2014-10-06 16:59:41,913 INFO [main] [Topology] : Done loading /tmp/ServiceEntityProfiles.profiles.topology
2014-10-06 16:59:41,915 INFO [main] [Topology] : Saving to /tmp/ServiceEntityProfiles.profiles.topology_NEW
2014-10-06 16:59:41,988 INFO [main] [Topology] : Done saving to /tmp/ServiceEntityProfiles.profiles.topology_NEW
Success migrating ServiceEntityProfiles.profiles.topology!
2014-10-06 16:59:44,873 INFO [main] [Topology] : Start loading /tmp/UserGroups.groups.topology.migration.tmp...
2014-10-06 16:59:45,017 INFO [main] [Topology] : Done loading /tmp/UserGroups.groups.topology.migration.tmp
2014-10-06 16:59:45,025 INFO [main] [Topology] : Saving to /tmp/UserGroups.groups.topology_NEW
2014-10-06 16:59:45,049 INFO [main] [Topology] : Done saving to /tmp/UserGroups.groups.topology_NEW
Migration process completed
2014-10-06 16:59:47,712 INFO [main] [Topology] : Start loading /tmp/UserSegments.segments.topology.migration.tmp...
2014-10-06 16:59:47,874 INFO [main] [Topology] : Done loading /tmp/UserSegments.segments.topology.migration.tmp
2014-10-06 16:59:47,875 INFO [main] [Topology] : Start loading /tmp/UserSegments.segments.topology_NEW...
2014-10-06 16:59:47,879 INFO [main] [Topology] : Done loading /tmp/UserSegments.segments.topology_NEW
2014-10-06 16:59:47,889 INFO [main] [Topology] : Saving to /tmp/UserSegments.segments.topology_NEW
2014-10-06 16:59:47,920 INFO [main] [Topology] : Done saving to /tmp/UserSegments.segments.topology_NEW
Success migrating UserSegments.segments.topology
2014-10-06 16:59:50,365 INFO [main] [Topology] : Start loading /tmp/defaultGroupsSettings.config.topology.migration.tmp...
2014-10-06 16:59:50,507 INFO [main] [Topology] : Done loading /tmp/defaultGroupsSettings.config.topology.migration.tmp
2014-10-06 16:59:50,507 INFO [main] [Topology] : Saving to /tmp/defaultGroupsSettings.config.topology_NEW
2014-10-06 16:59:50,531 INFO [main] [Topology] : Done saving to /tmp/defaultGroupsSettings.config.topology_NEW
2014-10-06 16:59:52,965 INFO [main] [OperationalEntities] : PersistenceManager : Start loading /srv/tomcat/data/config/retention.config.topology
2014-10-06 16:59:53,193 INFO [main] [OperationalEntities] : PersistenceManager : Done loading /srv/tomcat/data/config/retention.config.topology
2014-10-06 16:59:53,193 INFO [main] [db] : INIT is now a NOOP
2014-10-06 16:59:56,486 INFO [main] [OperationalEntities] : PersistenceManager : Start loading /srv/tomcat/data/config/retention.config.topology
2014-10-06 16:59:56,683 INFO [main] [OperationalEntities] : PersistenceManager : Done loading /srv/tomcat/data/config/retention.config.topology
2014-10-06 16:59:56,791 INFO [main] [db] : DB connection pool initialized (com.mysql.jdbc.Driver, user: vmtplatform)
2014-10-06 16:59:58,359 ERROR [main] [db] : Error converting user reports
org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:3000 refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
at com.vmturbo.platform.VMTRoot.OperationalEntities.Reporting.impl.ReportingManagerImpl.httpExecute(ReportingManagerImpl.java:1754)
at com.vmturbo.platform.VMTRoot.OperationalEntities.Reporting.impl.ReportingManagerImpl.httpExecuteToEntity(ReportingManagerImpl.java:1793)
at com.vmturbo.platform.VMTRoot.OperationalEntities.Reporting.impl.ReportingManagerImpl.httpExecuteToString(ReportingManagerImpl.java:1808)
at com.vmturbo.platform.VMTRoot.OperationalEntities.Reporting.impl.ReportingManagerImpl.httpExecuteReport(ReportingManagerImpl.java:1722)
at com.vmturbo.platform.VMTRoot.OperationalEntities.Reporting.impl.ReportingManagerImpl.httpExecuteReport(ReportingManagerImpl.java:1706)
at com.vmturbo.platform.migration.db.MigrateVmtdb_61_to_62.migrateUserReports(MigrateVmtdb_61_to_62.java:55)
at com.vmturbo.platform.migration.db.MigrateVmtdb.main(MigrateVmtdb.java:126)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
... 13 more
2014-10-06 16:59:58,364 INFO [main] [OperationalEntities] : ReportingConfigManager : Start loading /srv/tomcat/data/config/report.config.topology
2014-10-06 16:59:58,371 INFO [main] [OperationalEntities] : ReportingConfigManager : Done loading /srv/tomcat/data/config/report.config.topology


(56/57) Installing: vmt-reports-4.7-29949 ............................................................................................................................................................[done]
(57/57) Installing: vmt-bundle-4.7-29949 .............................................................................................................................................................[done]

 

Any help will be greatly appreciated.

 

Regards.

 

Red.

Outcomes