Project deleted but disabled

23 views
Skip to first unread message

Karon

unread,
Sep 18, 2024, 8:13:53 AMSep 18
to rundeck-discuss
Hi all,

i've deleted a project but i cannot recreate it with same name because is in disabled state on database. how can i delete it definitely ?

i'm on 5.2.0

Thank you and sorry if I didn’t search well :)

Karim.

rac...@rundeck.com

unread,
Sep 23, 2024, 8:28:31 AMSep 23
to rundeck-discuss
Hi!

Are you using Rundeck's Community? What backend (mysql, postgresql) do you use?

Regards.

Karon

unread,
Sep 23, 2024, 9:24:14 AMSep 23
to rundeck-discuss
i'm using rundeck community with mysql (mariadb 10.3)

thank you
Karim

rac...@rundeck.com

unread,
Sep 23, 2024, 12:56:40 PMSep 23
to rundeck-discuss

Hi Karim,

I tried to reproduce your issue unsuccessfully (the register on the project table is deleted without a problem), do you have any element/config of that project to reproduce it? (some SCM config, schedule jobs, a specific plugin, node executor, project config, etc…).

Now, please test this in a non-prod environment first:

Change the project state value to ENABLED and try to delete it again. This field is a safe flag to delete projects (Rundeck disables the project first and then tries to delete it). I presume that some action keeps that field in the ‘DISABLED’ state (for example, a large number of executions causing a session timeout; if so, enable it and erase all executions before attempting to delete the project).

Greetings.

Karon

unread,
Sep 24, 2024, 3:33:35 AMSep 24
to rundeck-discuss
Hi,

SCM was not configured for this project, but it was using Ansible as node executor and file copier. We have a job that is running every minutes for Moodle, so i think you are right, there were too many executions.
I changed the project state value to ENABLED  and tried to delete it on a backup copy with rd cli command and after a few minutes the project was successfully deleted. i did it on production, everything is ok now.

thank you for your help, again!

Karim.
Reply all
Reply to author
Forward
0 new messages