Este contenido no está disponible en el idioma seleccionado.

5.6. Disabling Obsolete Cartridges


Cartridges are updated over time, leaving older versions of a cartridge with fewer advantages. To acknowledge this, cartridges can be marked obsolete in their cartridge manifests. Obsolete cartridges represent technologies, or versions of technologies, for which you do not want developers to be able to deploy new applications or add-on cartridges, but that are still required by the applications already using them.
By default, obsolete cartridges are still available to developers when deploying new applications or add-on cartridges. However, you can disable the use of all obsolete cartridges, preventing developers from using them in these cases. Whether the use of obsolete cartridges is enabled or disabled, applications already using obsolete cartridges continue to function normally and can add new gears using the obsolete cartridges automatically, for example during scaling operations.

Procedure 5.4. To Disable Obsolete Cartridges:

  1. Ensure the ALLOW_OBSOLETE_CARTRIDGES parameter in the /etc/openshift/broker.conf file on the broker host is set to false:
    ALLOW_OBSOLETE_CARTRIDGES="false"
    Copy to Clipboard Toggle word wrap
  2. Add the Obsolete: true parameter to the /usr/libexec/openshift/cartridges/Cart_Name/metadata/manifest.yml file on each node host for any cartridge being marked obsolete:
    Obsolete: true
    Copy to Clipboard Toggle word wrap
  3. Restart the MCollective service on each node host:
    # service ruby193-mcollective restart
    Copy to Clipboard Toggle word wrap
  4. Update the cartridge lists on the broker. For releases prior to OpenShift Enterprise 2.1, run the following command on the broker host to clear the broker cache and, if installed, the Management Console cache:
    # oo-admin-broker-cache --clear --console
    Copy to Clipboard Toggle word wrap
    For OpenShift Enterprise 2.1 and later, run the following commands on the broker host to import the latest cartridge manifests from the nodes and, if installed, clear the Management Console cache:
    # oo-admin-ctl-cartridge -c import-profile
    # oo-admin-console-cache --clear
    Copy to Clipboard Toggle word wrap
  5. Restart the broker service:
    # service openshift-broker restart
    Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat