Deploying Custom Cartridges on Openshift Origin -


i have created new custom cartridge, in have packaged rpm using tito , installed using yum. cartridge being copied spec file /usr/libexec/openshift/cartridges directory, however, when log origin home site , try create application cartridge not show up. went digging in ruby scripts , found there script named cartridge_cache.rb seems caching cartridges finds within /usr/libexec/openshift/cartridges directory. have tried origin reload cache include new cartridge removing cache files within /var/www/openshift/broker/cache directory restarting broker, have had no success. there somewhere need hardcode cart name global variable or ? basically, know how custom cart show on webpage creating new application.

update: ran slide deck had 1 slide on how install cartridge. however, still have had no success, here have tried since previous post:

  1. moved cartridge directory /usr/libexec/openshift/cartridges /usr/libexec/openshift/catridges/v2
  2. ran command

    oo-admin-cartridge -a install -s /usr/libexec/openshift/cartridges/v2/myfirstcart

    which output stated installed cartridge.

  3. cleared cache

    bundle exec rake tmp:clear

  4. restarted openshift broker service

also, make sure cache cleared out went rails console , ran rails.cache.clear. , still no custom cartridge on openshift webpage.

it works me after cleaning cache

cd /var/www/openshift/broker bundle exec rake tmp:clear 

and restarting broker service

service openshift-broker restart 

http://openshift.github.io/documentation/oo_administration_guide.html#clear-the-broker-application-cache


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -