Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4070

DevStudio / external OpenShift fails deployment

XMLWordPrintable

    • Hide

      0) Windows operating system
      1) Remove rsync from the PATH. To check if rsync cannot be detected, simply try to run rsync command in the cmd cli. You can do it via multiple ways: a) go to the installation directory of the sygwin -> to the bin directory -> find there rsync binary and rename it. b) if you have cwRsync installed separately, then uninstall it, or also simply remove it. Finally, command which rsync must output "which: no rsync in <PATH env var>".
      2) Create openshift connection in Openshift Explorer
      3) create any eap application, e.g. jboss-eap70-openshift
      4) wait till pod is built and run.
      5) create server adapter
      6) make changes in the sources and save them.
      Publish will happen. If you continue to do publishes, it will lead to the nested directories.

      Show
      0) Windows operating system 1) Remove rsync from the PATH. To check if rsync cannot be detected, simply try to run rsync command in the cmd cli. You can do it via multiple ways: a) go to the installation directory of the sygwin -> to the bin directory -> find there rsync binary and rename it. b) if you have cwRsync installed separately, then uninstall it, or also simply remove it. Finally, command which rsync must output "which: no rsync in <PATH env var>". 2) Create openshift connection in Openshift Explorer 3) create any eap application, e.g. jboss-eap70-openshift 4) wait till pod is built and run. 5) create server adapter 6) make changes in the sources and save them. Publish will happen. If you continue to do publishes, it will lead to the nested directories.
    • Workaround Exists
    • Hide

      Make sure to have rsync installed and added to the PATH env variable

      Show
      Make sure to have rsync installed and added to the PATH env variable
    • NEW

      If DevStudio (with Server Adapter configured for external OpenShift) is used to deploy an application developed in DevStudio, errors result.

      The reporting user shows indications additional 'deploy' directories are being synthesized as the binary target location. The log reports:
      15:59:41,588 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0010: Scan found incompletely copied file content for deployment /opt/eap/standalone/deployments/deploy/deploy/deploy/deploy/deploy/deploy/activemq-rar.rar.

              jmaury@redhat.com Jeff MAURY
              rhn-support-rick Rick Wagner
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: