Rally Software

 View Only
  • 1.  Not able to connect to Rally

    Posted Dec 04, 2015 03:32 PM
    I was trying to integrate the Rally and Jira. I am able to connect to Jira. but not able to connect to Rally.  Ref, Please see the error logs.

    ************************************************************************************************************

    [2015-12-04 20:24:12 Z]  WARN : RallyEIF::WRK::ConnectorRunner.acquire_lock - A LOCK.tmp file exists
    [2015-12-04 20:24:12 Z]  WARN : RallyEIF::WRK::ConnectorRunner.acquire_lock - A prior connector process (11892) did not clean up the lock file on termination, proceeding with this run
    [2015-12-04 20:24:12 Z]  INFO : RallyEIF::WRK::ConnectorRunner.show_logging_settings - Log file size set to 5242880
    [2015-12-04 20:24:12 Z]  INFO : RallyEIF::WRK::ConnectorRunner.show_logging_settings - Log files maximum count set to 10
    [2015-12-04 20:24:13 Z]   ANY : RallyEIF::WRK::ConnectorRunner.block in run - processing to commence using content from jira-rest_config.xml
    [2015-12-04 20:24:13 Z]   ANY : Class.read_config_file - jira-rest_config.xml last modified 2015-12-04 20:23:43 UTC, size: 4514 chars
    [2015-12-04 20:24:14 Z]   ANY : RallyEIF::WRK::RallyConnection.initialize - Initializing Rally connection version 4.10.0
    [2015-12-04 20:24:14 Z]  INFO : RallyEIF::WRK::RallyConnection.initialize - Rally Web Services version v2.0
    [2015-12-04 20:24:14 Z]   ANY : RallyEIF::WRK::JiraRestConnection.initialize - Initializing JIRA connection version 4.6.5
    [2015-12-04 20:24:14 Z]  INFO : Class.read_workflow_file - jira_workflow.xml
    [2015-12-04 20:24:14 Z]  INFO : RallyEIF::WRK::Connector.initialize - Ruby platform i386-mingw32
    [2015-12-04 20:24:14 Z]  INFO : RallyEIF::WRK::Connector.initialize - Ruby version 2.0.0
    [2015-12-04 20:24:14 Z]  INFO : RallyEIF::WRK::JiraRestConnection.connect - Connecting to JIRA at http://localhost:8080
    [2015-12-04 20:24:14 Z]  INFO : RallyEIF::WRK::JiraRestConnection.connect - Using RallyJest version 1.3.2
    [2015-12-04 20:24:14 Z]  INFO : RallyEIF::WRK::JiraRestConnection.connect - Connected to JIRA at http://localhost:8080, (version 7.0.3)
    [2015-12-04 20:24:14 Z]  INFO : RallyEIF::WRK::JiraRestConnection.validate_project - Confirmed that Jira project ST is accessible
    [2015-12-04 20:24:14 Z]  INFO : RallyEIF::WRK::JiraRestConnection.connect - JIRA connection issue type: |Bug|
    [2015-12-04 20:24:14 Z]  INFO : RallyEIF::WRK::RallyConnection.connect - Connecting to Rally
    [2015-12-04 20:24:17 Z] ERROR : RallyEIF::WRK::RallyConnection.rescue in connect - Could not connect to Rally at https://demo-rally.rallydev.com/slm using Username/Password credentials
    [2015-12-04 20:24:17 Z] ERROR : RallyEIF::WRK::RallyConnection.initialize - unable to find default workspace Online Store
    [2015-12-04 20:24:17 Z]  INFO : RallyEIF::WRK::JiraRestConnection.disconnect - Disconnected from JIRA
    [2015-12-04 20:24:17 Z]   ANY : RallyEIF::WRK::ConnectorRunner.run_services - There was an error in processing so the Time File was not written


    <?xml version="1.0"?>
    <config>
      <RallyConnection>
        <Url>demo-rally.rallydev.com</Url>
        <WorkspaceName>Online Store</WorkspaceName>
        <Projects>
          <Project>Shopping Team</Project>
        </Projects>
        <User>SECURED-dXDNTdNo/2ObPEXJI50nHA==</User>
        <Password>SECURED-ZC/eMc3qp5Kl1oWJ0QXXOg==</Password>
        <ArtifactType>Defect</ArtifactType>
        <ExternalIDField>JiraKey</ExternalIDField>
        <CrosslinkUrlField>JiraLink</CrosslinkUrlField>
        <CopySelectors>
          <CopySelector>State != Closed</CopySelector>
        </CopySelectors>
        <UpdateSelectors>
          <UpdateSelector>Project.Name = "Shopping Team"</UpdateSelector>
        </UpdateSelectors>
        <FieldDefaults>
          <Field><Name>Severity</Name><Default>Low</Default></Field>
        </FieldDefaults>
      </RallyConnection>

      <JiraRestConnection>
        <Url>http://localhost:8080</Url>
        <User>SECURED-eP6xkySns6wVmB0QblIl9Q==</User>
        <Password>SECURED-eP6xkySns6wVmB0QblIl9Q==</Password>
        <!-- If the jira server is behind a proxy, set the ProxyURL and if needed the ProxyUser and ProxyPassword -->
        <!--
        <ProxyURL>http://your.proxy.com</ProxyURL>
        <ProxyUser>SECURED-WA2Tw+88RVEjj9TeQ4spWg==</ProxyUser>
        <ProxyPassword>SECURED-FA1NVJJ+puBVpx6zYZgueg==</ProxyPassword>
        -->
        <ArtifactType>Bug</ArtifactType>
        <Project>ST</Project>
        <ExternalIDField>RallyID</ExternalIDField>
        <CrosslinkUrlField>RallyURL</CrosslinkUrlField>

        <!-- Enable the WorkflowFile tag, referencing your work flow file, if you have setup a custom jira work flow -->
        <!-- <WorkflowFile>my_workflow.xml</WorkflowFile> -->

        <CopySelectors>
          <CopySelector>Status != Closed</CopySelector>
        </CopySelectors>
        <UpdateSelectors>
          <UpdateSelector>Status != Closed</UpdateSelector>
        </UpdateSelectors>
        <FieldDefaults>
          <Field><Name>Severity</Name><Default>Low</Default></Field>
        </FieldDefaults>
      </JiraRestConnection>

      <Connector>
        <FieldMapping>
          <Field><Rally>Name</Rally>         <Other>Summary</Other></Field>
          <Field><Rally>Description</Rally>  <Other>Description</Other></Field>
          
        </FieldMapping>

        <OtherFieldHandlers>
          <!-- Enable the JiraNewlineFieldHandler if want Rally Description break tags to be translated to newline characters. -->
          <!-- You may not use multiple FieldHandlers for the same JIRA field though -->
          <!--
          <JiraNewlineFieldHandler>
              <FieldName>Description</FieldName>
          </JiraNewlineFieldHandler>
          -->

          <OtherEnumFieldHandler>
            <FieldName>Status</FieldName>
            <Mappings>
              <Field><Rally>Submitted</Rally> <Other>Open</Other></Field>
              <Field><Rally>Open</Rally>      <Other>In Progress</Other></Field>
              <Field><Rally>Reopened</Rally>  <Other>Reopened</Other></Field>
              <Field><Rally>Fixed</Rally>     <Other>Resolved</Other></Field>
              <Field><Rally>Closed</Rally>    <Other>Closed</Other></Field>
            </Mappings>
          </OtherEnumFieldHandler>
        </OtherFieldHandlers>

        <RelatedObjectLinkers>
          <RallyAttachmentLinker/>
          <RallyJiraCommentLinker/>
        </RelatedObjectLinkers>
      </Connector>

      <ConnectorRunner>
        <Preview>False</Preview>
        <LogLevel>INFO</LogLevel>

        <!-- Add the COPY_RALLY_TO_JIRA if you want to enable bi-directional copying -->
        <Services>COPY_JIRA_TO_RALLY, UPDATE_RALLYFIELDS_AND_OTHER</Services>

        <!-- For the Email feature the following fields are available
             The required fields are:
                 - Level             Warning or Error
                 - SendEmailFrom     An email address
                 - SendEmailTo       An email address
                 - SMTPServer        Fully qualified domain name or IP address
                 - SMTPPort          Default SMTP port is 25, Default TLS SMTP Port is 587
             The optional fields are:
                 - SMTPUser          A valid user on the SMTP server
                 - SMTPPassword      The password for this user
                 - SMTPSec           tls or ssl
        -->
        <!--
        <Emailer>
            <Level>Warning</Level>
            <SendEmailFrom>conn_user@your_company.com</SendEmailFrom>
            <SendEmailTo>reviewer@your_company.com</SendEmailTo>
            <SMTPServer>company_smtp_server</SMTPServer>
            <SMTPPort>587</SMTPPort>
            <SMTPUser>auth_user</SMTPUser>
            <SMTPPassword>auth_password</SMTPPassword>
            <SMTPSec>tls</SMTPSec>
        </Emailer>
        -->
      </ConnectorRunner>
    </config>



  • 2.  Re: Not able to connect to Rally

    Posted Dec 04, 2015 03:57 PM
    Please let me know your what is the problem. I am using the demo rally dev instance and using the exising username and password.


  • 3.  Re: Not able to connect to Rally

    Posted Dec 07, 2015 11:10 AM
    Venkat, if you're having connection problems, I encourage you to submit a new case for Agile Central Support.  Just click Get Support -> Create New Case.  Thanks!