[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

cartridge v2 migration



Hi,

I tried a V2 migration on a specific district, but it doesn't work as expected.

This district only have one node, with user apps on it.

On this node, I remove the old cartridges:

    $ yum remove openshift-origin-cartridge-10gen-mms-agent-0.1 openshift-origin-cartridge-cron-1.4 openshift-origin-cartridge-diy-0.1 openshift-origin-cartridge-haproxy-1.4 openshift-origin-cartridge-mongodb-2.2 openshift-origin-cartridge-mysql-5.1 openshift-origin-cartridge-nodejs-0.6 openshift-origin-cartridge-jenkins-1.4 openshift-origin-cartridge-jenkins-client-1.4 openshift-origin-cartridge-community-python-2.7 openshift-origin-cartridge-community-python-3.3 openshift-origin-cartridge-postgresql-9.2 openshift-origin-cartridge-ruby-1.9 openshift-origin-cartridge-php-5.4 openshift-origin-cartridge-perl-5.16 openshift-origin-cartridge-phpmyadmin-3.5 openshift-origin-cartridge-postgresql-8.4 openshift-origin-cartridge-ruby-1.9-scl openshift-origin-cartridge-ruby-1.8 openshift-origin-cartridge-php-5.3 openshift-origin-cartridge-perl-5.10 openshift-origin-cartridge-python-2.6 openshift-origin-cartridge-phpmyadmin-3.4 

And install the new ones:

    $ yum install openshift-origin-cartridge-10gen-mms-agent openshift-origin-cartridge-cron openshift-origin-cartridge-diy openshift-origin-cartridge-haproxy openshift-origin-cartridge-jenkins openshift-origin-cartridge-jenkins-client openshift-origin-cartridge-mongodb openshift-origin-cartridge-nodejs openshift-origin-cartridge-perl openshift-origin-cartridge-php openshift-origin-cartridge-phpmyadmin openshift-origin-cartridge-postgresql openshift-origin-cartridge-python openshift-origin-cartridge-ruby openshift-origin-cartridge-mysql

Then I tell the node about the change : 

    $ /usr/sbin/oo-admin-cartridge --recursive -a install -s /usr/libexec/openshift/cartridges/v2/
    $  touch /var/lib/openshift/.settings/v2_cartridge_format

On the broker, I removed the cache and restart it:

    $ oo-admin-broker-cache -c
    $ rm -fr /var/www/openshift/console/tmp/cache/*
    $ /etc/init.d/openshift-broker restart
    $ /etc/init.d/openshift-console restart

Unfortunately, it is not enough. I can not create applications on the v2 node. The broker/console doesn't expose me the v2 cartridges (still node0.6 instead of node 0.10 with v2)

The previously installed v1 applications are up on the v2 node, but I can not push nor stop/restart them.

How can I achieve a v2 migration ?

Cheers
Romain

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]