jenkinsci / jenkinsci/openstack-cloud-plugin

Plugin deletes VM right after creation

Open
#336 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
49
Forks
97
Avg merge
13h 23m
Merged PRs (30d)
6

Description

### Jenkins and plugins versions report

Environment


```text
OpenStack Cloud version 2.60
Jenkins version
```

### What Operating System are you using (both controller, and any agents involved in the problem)?

Debian

### Reproduction steps

While adding new VM on openstack using plugin, right after process is finished, VM is being deleted.
I've tried to use pipeline with parameter scope: 'unlimited'
node {
openstackMachine cloud: 'xx', template: 'yy', scope: 'unlimited'
}

but got error java.lang.IllegalArgumentException: Invalid scope: unlimited
at jenkins.plugins.openstack.pipeline.OpenStackMachineStep.setScope(OpenStackMachineStep.java:65)

which is weird, because of this:
https://www.jenkins.io/doc/pipeline/steps/openstack-cloud/

### Expected Results

plugin creates pernament instance on OpenStack

### Actual Results

plugin creates instance on OpenStack which is removed right after process is finished

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.