Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-643

Launched instance cannot convert to active state

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • None
    • Cartridge Agent
    • None
    • Apache Stratos 4.0.0 RC1, OpenStack Havana

    Description

      We're not using Puppet 3 to deploy cartridge agent. When cartridge is launched, it is stuck at inactive status.

      stratos.sh file packaged in the cartridge agent zip is missing APP_PATH property defined in stratos.sh.erb.

      Similarly, the jndi/properties.template file by default doesn't have configuration which runs with activemq, even though all the documentation points to it. We found in 4.0.0 RC1 the JNDI template needs the following changes otherwise the cartridge agent will fail to connect with Apache Stratos.

      Original:

      connectionfactoryName=topicConnectionfactory
      connectionfactory.topicConnectionfactory=amqp://admin:admin@carbon/carbon?brokerlist='tcp://$mb_ip:$mb_port'
      java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory

      Actual values required for ActiveMQ:

      connectionfactoryName=TopicConnectionFactory
      connectionfactory.topicConnectionfactory=tcp://$mb_ip:$mb_port
      java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory

      Attachments

        1. STRATOS-643.diff
          2 kB
          Jeffrey Nguyen

        Activity

          People

            jeffrngu Jeffrey Nguyen
            jeffrngu Jeffrey Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: