Project

General

Profile

Bug #61551

Support creating multiple iocage jails by providing a valid uuid with name flag

Added by Waqar Ahmed 9 months ago. Updated 5 months ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

If count sub command is used for creating a jail and a valid uuid is provided as a name, only one jail is created and `count` jails fail to be created. We would like to create count jails when ever name flag is used and with uuid flag we don't want to use count flag. So that should be changed

Risk
We risk breaking creating multiple jails at once for all values of `name`

Acceptance Criteria
It should be tested that we are able to create jails using `count` parameter with a valid uuid and without a valid uuid with the name flag. And that we are not able to create a jail when both uuid and count flags are used
e.g

iocage create -r 11.2-RELEASE -n jail1 -c 3
iocage create -r 11.2-RELEASE -n 3f570ff2-031d-4e1d-a712-856c080ef39e -c 3
iocage create -r 11.2-RELEASE  -c 3
iocage create -r 11.2-RELEASE -u 3f570ff2-031d-4e1d-a712-856c080ef39e -c 3. # donot create a jail

History

#1 Updated by Bug Clerk 9 months ago

  • Status changed from In Progress to Ready for Testing

#2 Updated by Waqar Ahmed 9 months ago

  • Subject changed from Bug fix for creating multiple jails providing a valid uuid to Bug fix for creating multiple jails providing a valid uuid with name flag
  • Description updated (diff)

#3 Updated by Dru Lavigne 7 months ago

  • Target version changed from 11.3 to 11.3-BETA1

#4 Updated by Dru Lavigne 7 months ago

  • Subject changed from Bug fix for creating multiple jails providing a valid uuid with name flag to Support creating multiple jails by providing a valid uuid with name flag
  • Needs Merging changed from Yes to No

#5 Updated by Dru Lavigne 7 months ago

  • Subject changed from Support creating multiple jails by providing a valid uuid with name flag to Support creating multiple iocage jails by providing a valid uuid with name flag

#8 Avatar?id=55038&size=24x24 Updated by Zackary Welch 5 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Confirmed fixed in 11.3-BETA1.

#10 Updated by Dru Lavigne 5 months ago

  • Status changed from Passed Testing to Done
  • Needs Doc changed from Yes to No

#11 Updated by Dru Lavigne 5 months ago

  • Target version changed from 11.3-BETA1 to 11.3-ALPHA1

Also available in: Atom PDF