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

Openstack Heat Plugin does not "Delete if already Exists"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • openstack-heat-plugin
    • None

      When attempting to use the plugin against a RHEL based Openstack cloud (OSP10) the plugin fails to delete the existing stack (that the plugin created). I receive a stack trace in the console window:

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Building in workspace /var/lib/jenkins/jobs/Build Heat - Example Puppet/workspace
      HOT PlayerINFO : Stack existing : puppet-demo
      HOT PlayerINFO : Delete in progress...
      FATAL: org.openstack4j.api.heat.StackService.delete(Ljava/lang/String;Ljava/lang/String;)Lorg/openstack4j/model/common/ActionResponse;
      java.lang.NoSuchMethodError: org.openstack4j.api.heat.StackService.delete(Ljava/lang/String;Ljava/lang/String;)Lorg/openstack4j/model/common/ActionResponse;
        at com.arkea.jenkins.openstack.client.OpenStack4jClient.deleteStack(OpenStack4jClient.java:135)
        at com.arkea.jenkins.openstack.operations.StackOperationsUtils.deleteStack(StackOperationsUtils.java:74)
        at com.arkea.jenkins.openstack.heat.HOTPlayer.perform(HOTPlayer.java:142)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
        at hudson.model.Build$BuildExecution.build(Build.java:205)
        at hudson.model.Build$BuildExecution.doRun(Build.java:162)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
        at hudson.model.Run.execute(Run.java:1728)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:98)
        at hudson.model.Executor.run(Executor.java:404)
      Finished: FAILURE
      

            methodes_arkea Methodes Appliquees Arkea
            frizop Nathan Morell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: