issues with SCM import/export on Rundeck CE 3.3.10

278 views
Skip to first unread message

TAYLOR HAMMERLING

unread,
Feb 28, 2022, 6:51:16 AM2/28/22
to rundeck-discuss
Good afternoon, I hope someone here can assist with a few issues I'm seeing with SCM import/export.

We are currently in the proof of concept phase of setting up Rundeck for our organization.  We are running Rundeck CE 3.3.10 on a centos7 VM.

I have configured both SCM import and export, settings below

Things seem a bit hinky. 
an example -
If I create a new job, Rundeck recognizes that it needs to be pushed to git.  I perform a commit thru the rundeck gui, but then the job gets a black and which question mark with  helper text stating that the job isn't tracked in SCM.  If I then import from SCM, the black and white question mark goes away, BUT a "DELETE_NEEDED" shows up next to the job actions drop down.  And the DELETE_NEEDED doesn't go away, no matter what I do.

The only configuration I have found that appears to have no issues (except the ones I would expect with this sort of a set up) is to have the import and export base directories be different.  When I do this, I have to do an extra import for every export and vice versa, but I don't get any false "not in sync" issues.

Any thoughts? :D

Thanks in advance for any help you can provide!

Taylor



----
Git Export  Enabled
Committer Name: ${user.fullName}
Committer Email: ${user.email}
Export UUID Behavior: preserve
Synchronize Automatically: true
Create Branch if it doesn't exist: Yes
Base branch on: main
File Path Template: Windows/${job.group}${job.name}-${job.id}.${config.format}
Base Directory: /var/lib/rundeck/projects/Windows/scm
Git URL: https://rundeck_access@redacted/it/rundeck_jobs.git
Branch: main
SSH: Strict Host Key Checking: no
Password Storage Path: keys/Rundeck_Jobs-Gitlab_Project_Access_Token-WriteFormat: yaml
Fetch Automatically: true

Git Import  Enabled
Import Jobs from a Git Repository
Import UUID Behavior: preserve
Pull Automatically: true
Match a Regular Expression?: true
Regular Expression: Windows/.*\.yaml
File Path Template: ${job.group}${job.name}-${job.id}.${config.format}
Base Directory: /var/lib/rundeck/projects/Windows/scm
Git URL: https://rundeck_access@redacted/it/rundeck_jobs.git
Branch: main
SSH: Strict Host Key Checking: no
Password Storage Path: keys/Rundeck_Jobs-Gitlab_Project_Access_Token-Write
Format: yaml
Fetch Automatically: true

rac...@rundeck.com

unread,
Feb 28, 2022, 7:03:10 AM2/28/22
to rundeck-discuss
Hi Taylor,

Could you try the latest Rundeck version? (on a non-prod env) Many changes were added since 3.3.10.

Regards.

rac...@rundeck.com

unread,
Feb 28, 2022, 9:44:10 AM2/28/22
to rundeck-discuss
Hi Taylor,

Another tip is to use different local repositories (in the Rundeck side) to import and export in the SCM config, this avoids some sync problems using the SCM. Try this approach.

Hope it helps!
Reply all
Reply to author
Forward
0 new messages