Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50385

Jenkins Cloud Foundry plugin error: Organization does not exist

      I've been trying to connect to a CF instance using Jenkins CF plugin but I'm facing the below error.
      (Using Jenkins-CF plugin v2.2.1)

      Note: Organization name modified. 

      Cloud Foundry plugin:
      java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067)
      ...

       (Full log attached)

      I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too?

      [Targeting Organizations with &'s in their names does not work

      Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully.

       

          [JENKINS-50385] Jenkins Cloud Foundry plugin error: Organization does not exist

          Muthuganesh Gnanasekar created issue -
          Muthuganesh Gnanasekar made changes -
          Description Original: I've been trying to connect to a CF instance using the Jenkins CF plugin but I'm facing the below error.
          (Using Jenkins-CF plugin v2.2.1)

          _Note: Organization name modified._

           
          {code:java}
          Cloud Foundry plugin:
          java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067)
          ...{code}
           

           

          (Full log attached)

          I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too?

          [Targeting Organizations with &'s in their names does not work

          |[https://github.com/cloudfoundry/cf-java-client/issues/340]]

          Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully.

           
          New: I've been trying to connect to a CF instance using the Jenkins CF plugin but I'm facing the below error.
           (Using Jenkins-CF plugin v2.2.1)

          _Note: Organization name modified._ 
          {code:java}
          Cloud Foundry plugin:
          java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067)
          ...{code}
           (Full log attached)

          I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too?

          [Targeting Organizations with &'s in their names does not work
          |[https://github.com/cloudfoundry/cf-java-client/issues/340]]|

          Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully.

           
          Muthuganesh Gnanasekar made changes -
          Description Original: I've been trying to connect to a CF instance using the Jenkins CF plugin but I'm facing the below error.
           (Using Jenkins-CF plugin v2.2.1)

          _Note: Organization name modified._ 
          {code:java}
          Cloud Foundry plugin:
          java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067)
          ...{code}
           (Full log attached)

          I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too?

          [Targeting Organizations with &'s in their names does not work
          |[https://github.com/cloudfoundry/cf-java-client/issues/340]]|

          Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully.

           
          New: I've been trying to connect to a CF instance using Jenkins CF plugin but I'm facing the below error.
           (Using Jenkins-CF plugin v2.2.1)

          _Note: Organization name modified._ 
          {code:java}
          Cloud Foundry plugin:
          java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067)
          ...{code}
           (Full log attached)

          I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too?

          [Targeting Organizations with &'s in their names does not work
          |[https://github.com/cloudfoundry/cf-java-client/issues/340]]|

          Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully.

           
          Muthuganesh Gnanasekar made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Muthuganesh Gnanasekar made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]

          Muthuganesh Gnanasekar added a comment - - edited

          Got this issue fixed by replacing the & characters in the organization name to the string 'and'. So a correct org name for my case is "A_and_B_Ants_and_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100"

          Muthuganesh Gnanasekar added a comment - - edited Got this issue fixed by replacing the & characters in the organization name to the string 'and'. So a correct org name for my case is "A_and_B_Ants_and_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum- DolorSit -100"

          Closing the issue since an alternate solution had been found.

          Muthuganesh Gnanasekar added a comment - Closing the issue since an alternate solution had been found.
          Muthuganesh Gnanasekar made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            olamy Olivier Lamy
            lordgmg Muthuganesh Gnanasekar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: