Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1138

Unable to point to specific dashboard using appc cli

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:

      On-Premise deployment; San Jose VMware
      https://axway.jiveon.com/docs/DOC-87082
      Binaries, OVA used are mentioned in DOC-87082

      Description

      1. Deploy dev on premise cluster based on DOC-87082
      Deployment config

      $ cat config/dev_pc_user_input.json 
      {
          "ssh": {
              "username": "appcadmin",
              "password": "XRQ8jEvqZ2c",
              "port": 22
          },
          "mongodb": {
              "hosts": ["10.0.18.38"],
              "port": 27017,
              "rsname": "data",
              "username": "appcelerator",
              "password": "cocoafish",
              "provision": {
                  "enabled": true,
                  "admin_username": "admin",
                  "admin_password": "cocoafish",
                  "version": "enterprise"
              }
          },
          "env": "development",
          "hosts": ["10.0.18.37"],
          "cluster": "pcdev",
          "newrelic_key": "key",
          "arrowdb_url_prefix": "api",
          "arrowcloud_admin_url_prefix": "admin",
          "dashboard_url_prefix": "dashboard", 
          "domain_name": "cloudapp-1.appctest.com",
          "ssl_pem_file": "pem/cloudapp-1.appctest.com.pem"
      }
      

      Deployment log

      $ bin/current/arrowcluster deploy -c config/dev_pc_user_input.json --force --ignore-preinstall-fatal
      ...
      INFO[2016-11-21 15:59:32] Self-diagnosis finished. Proceed with more sanity checks... 
      WARN[2016-11-21 15:59:39] Cluster was installed successfully but some of the post check failed. 
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
      Please create the following record sets in the domain management console:
      Name: admin.cloudapp-1.appctest.com
      Value: 10.0.18.37
      Name: *.cloudapp-1.appctest.com
      Value: 10.0.18.37
      Name: api.cloudapp-1.appctest.com
      Value: 10.0.18.37
      <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      

      3. Added the following to /etc/hosts

      #SAN JOSE
      10.0.18.37 admin.cloudapp-1.appctest.com
      10.0.18.37 api.cloudapp-1.appctest.com
      10.0.18.37 dashboard.cloudapp-1.appctest.com
      

      4. Set dashboard to local dashboard

      $ appc config set dashboard https://dashboard.cloudapp-1.appctest.com
      Appcelerator Command-Line Interface, version 6.0.0
      Copyright (c) 2014-2016, Appcelerator, Inc.  All Rights Reserved.
      Successfully set dashboard to https://dashboard.cloudapp-1.appctest.com.
      

      5. Verified that change takes effect using appc config command
      6. Do appc login

      $ appc login
      Appcelerator Command-Line Interface, version 6.0.0
      Copyright (c) 2014-2016, Appcelerator, Inc.  All Rights Reserved.
       
      Appcelerator Login required to continue ...
       
      ? Appcelerator ID: nkumar@appcelerator.com
      ? Password: ***********
      ? Into which organization would you like to login? (Use arrow keys)
      ❯ nitin-self-install-test 
        NodeACSUIAutomation 
      

      7. Dashboard points back to https://platform.appcelerator.com

      $ appc config
      Appcelerator Command-Line Interface, version 6.0.0
      Copyright (c) 2014-2016, Appcelerator, Inc.  All Rights Reserved.
       
      defaultEnvironment: production
      lastUpdateCheck: 1479707754556
      dashboard: https://platform.appcelerator.com
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nkumar Nitin P Kumar
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code