unable to create a jail that has partly the name of another
Description
Problem/Justification
Impact
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity

Waqar December 11, 2020 at 1:22 PM
deleting wrong jail is indeed very bad but it has already been fixed in https://github.com/freenas/iocage/pull/336/files. The jail creation issue is middleware specific and creating jail with iocage cli will work, we will have that fixed as well, thank you for letting us know.

Micha December 9, 2020 at 1:15 PM
Hi Edwin,
Yes it's obvious this is a big problem. When i found out about the creation bug i immediately installed a test environment.
On production i was already building a new website on a jail with a very similar name as the current one and i am sure i will lose both trying to phase out the old one.
The iocage GUI should not be used until this is fixed. CLI works fine though.

Edwin Klein Mentink December 9, 2020 at 12:42 PM
i retested with latest nightly build. And i can not reproduce the item. Is it already fixed?
Failing to create a new jail is a minor issue, but deleting wrongly jails is really bad. I am not sure William read the last entry. It states that a delete will remove the wrong jail.
But the ticket is now bumped to 12.0-U2.
Deleting the wrong stuff is never acceptable in my opinion, and can give the product a bad name.
I think this really should be a blocker for U1 release!
Details
Details
Assignee

Reporter

I hope i put this in the correct category as there is no "Jails" category.
After the upgrade to Truenas Core i wanted to upgrade some of my iocage jails from 11.2 to 12.2.
For compatibility check i wanted to create a jail separate from production and test functionality.
i selected a name that was a few characters shorter than my production jail.
This gave me an error stating the jail already exists which is not true.
I replicated as follows:
create a jail called abcdefg. this works fine.
create a jail called abcd. this gives me an error stating the jail already exists.
I'm running the latest Truenas Core 12.0-RELEASE
i upgraded by exporting my config (11.x latest) , a fresh re-install and restore config.