Meego Wiki
Views

Quality/QA-tools/OTS/UserDocumentation/Upgrading

From MeeGo wiki
< Quality | QA-tools | OTS | UserDocumentation(Difference between revisions)
Jump to: navigation, search
(Upgrading OTS)
(Upgrading OTS)
 
(12 intermediate revisions not shown)
Line 1: Line 1:
= Upgrading OTS =
= Upgrading OTS =
 +
== 0.8.9 - 0.8.10 ==
 +
New conductor configuration parameter 'remote_logger'. Add it to existing conductor configuration files (/etc/ots/conductor.conf and /et/ots/conductor_*.conf) or replace old file(s) with new one. 'remote_logger' allows one to use amqp as logging channel instead of http. Currently http is the default logging method.
 +
 +
== 0.8.8 - 0.8.9 ==
 +
Upgrade to meego-ai-flasher 0.1.8, older versions doesn't work with OTS 0.8.9.
 +
 +
== 0.8.7 - 0.8.8 ==
 +
New conductor configuration parameter 'target_username'. Add it to existing conductor configuration files (/etc/ots/conductor.conf and /etc/ots/conductor_*.conf) or replace old file(s) with new one.
 +
 +
== 0.8.6 - 0.8.7 ==
 +
Locations and names of configuration files have been changed. All configuration files are now located in /etc/ots and the plugin configuration files are in /etc/ots/plugins.
 +
 +
If you wish to keep your old settings you have to replace the new files.
 +
On the server side:
 +
sudo mv /etc/ots_server.ini /etc/ots/server.conf
 +
sudo mv /etc/ots_plugin_qareports.conf /etc/ots/plugins/qareports.conf
 +
And email plugin has it's own configuration file so you should move the [ots.email_plugin] section from the old /etc/ots_server.ini file to /etc/ots/plugins/email.conf.
 +
 +
On the worker side:
 +
sudo mv /etc/ots.ini /etc/ots/worker.conf
 +
sudo mv /etc/conductor.conf /etc/ots/conductor.conf
 +
sudo mv /etc/ots_plugin_conductor_richcore.conf /etc/ots/plugins/conductor_richcore.conf
 +
 +
== 0.8.5 - 0.8.6 ==
 +
Backup all configuration files and database before upgrading.
 +
 +
If you have logger plugin installed update the templates by giving following commands after upgrade:
 +
sudo cp -r /usr/share/ots/django/* /var/www/
 +
sudo cp -r /usr/share/ots/plugin/* /var/www/
 +
 +
Upgrade also the latest meego-ai-flasher.
 +
 +
=== Updating the database ===
 +
 +
If you want to keep your old log database, add new (user_defined_id) column to the log_messages table. Run database command line interface for OTS database. By default OTS uses sqlite database at /opt/ots/ots.sqlite.
 +
sudo sqlite3 /opt/ots/ots.sqlite
 +
Add new column to the log_messages table by executing following command:
 +
ALTER TABLE log_messages ADD COLUMN user_defined_id varchar(255) NOT NULL DEFAULT <nowiki>''</nowiki>;
 +
 +
If there's no need to keep the old database you can remove the database file (/opt/ots/ots.sqlite) and generate a new one using [[Quality/QA-tools/OTS/Plugins/Django#Create.2Fupdate_databases|the instructions]].
== 0.8.4 - 0.8.5 ==
== 0.8.4 - 0.8.5 ==
-
* Remember to install python-ots-plugin-conductor-richcore to all workers if you are planning to use it.
+
* Rich-core conductor plug-in available
 +
** Changes to /etc/conductor.conf
 +
** New configuration file for plug-in: /etc/ots_plugin_conductor_richcore.conf
== 0.8.3 - 0.8.4 ==
== 0.8.3 - 0.8.4 ==

Latest revision as of 07:26, 9 November 2011

Contents

Upgrading OTS

0.8.9 - 0.8.10

New conductor configuration parameter 'remote_logger'. Add it to existing conductor configuration files (/etc/ots/conductor.conf and /et/ots/conductor_*.conf) or replace old file(s) with new one. 'remote_logger' allows one to use amqp as logging channel instead of http. Currently http is the default logging method.

0.8.8 - 0.8.9

Upgrade to meego-ai-flasher 0.1.8, older versions doesn't work with OTS 0.8.9.

0.8.7 - 0.8.8

New conductor configuration parameter 'target_username'. Add it to existing conductor configuration files (/etc/ots/conductor.conf and /etc/ots/conductor_*.conf) or replace old file(s) with new one.

0.8.6 - 0.8.7

Locations and names of configuration files have been changed. All configuration files are now located in /etc/ots and the plugin configuration files are in /etc/ots/plugins.

If you wish to keep your old settings you have to replace the new files. On the server side:

sudo mv /etc/ots_server.ini /etc/ots/server.conf
sudo mv /etc/ots_plugin_qareports.conf /etc/ots/plugins/qareports.conf

And email plugin has it's own configuration file so you should move the [ots.email_plugin] section from the old /etc/ots_server.ini file to /etc/ots/plugins/email.conf.

On the worker side:

sudo mv /etc/ots.ini /etc/ots/worker.conf
sudo mv /etc/conductor.conf /etc/ots/conductor.conf
sudo mv /etc/ots_plugin_conductor_richcore.conf /etc/ots/plugins/conductor_richcore.conf

0.8.5 - 0.8.6

Backup all configuration files and database before upgrading.

If you have logger plugin installed update the templates by giving following commands after upgrade:

sudo cp -r /usr/share/ots/django/* /var/www/
sudo cp -r /usr/share/ots/plugin/* /var/www/

Upgrade also the latest meego-ai-flasher.

Updating the database

If you want to keep your old log database, add new (user_defined_id) column to the log_messages table. Run database command line interface for OTS database. By default OTS uses sqlite database at /opt/ots/ots.sqlite.

sudo sqlite3 /opt/ots/ots.sqlite

Add new column to the log_messages table by executing following command:

ALTER TABLE log_messages ADD COLUMN user_defined_id varchar(255) NOT NULL DEFAULT '';

If there's no need to keep the old database you can remove the database file (/opt/ots/ots.sqlite) and generate a new one using the instructions.

0.8.4 - 0.8.5

  • Rich-core conductor plug-in available
    • Changes to /etc/conductor.conf
    • New configuration file for plug-in: /etc/ots_plugin_conductor_richcore.conf

0.8.3 - 0.8.4

  • Backup all configuration files before updating
  • Multiple device support added, even if you use only one device check following:
    • Changes to /etc/conductor.conf
    • Update meego-ai-flasher (>= 0.1.4) and meego-ai packages!
    • Even if you use only one device, remove usb0 configurations from /etc/network/interfaces
    • See this instructions!
  • Changes to QAReports configuration file /etc/ots_plugins_qareports.conf
    • Added proxy and attachment upload settings

0.8.2 - 0.8.3

  • Changes in ots_plugin_qareports.conf
    • Add new parameters
  • Only new features
    • Test plan based execution
    • Chroot support
    • See how to use these features

0.8.1 - 0.8.2

0.8.0 - 0.8.1

  • Plug-in namespace changed, effects to Logger and QA-Reports plug-ins
    • For logger update web page content, see step 8 from Logger documentation.
    • For QA-Reports, configuration file name has changed. Move /etc/ots_qareports_plugin.conf to /etc/ots_plugin_qareports.conf

0.1.x - 0.8.0

See migration document.

Personal tools