Project

General

Profile

Bug #69717

Fix IP sorting issue in iocage

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

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Severity:
Low 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

Iocage currently does not sort ips as desired when we use long flag. This should be corrected

root@freebsd12vm:~ # iocage list -l -s ip4
+-----+-------+------+-------+------+-----------------+----------------------+-----+----------+----------+
| JID | NAME  | BOOT | STATE | TYPE |     RELEASE     |         IP4          | IP6 | TEMPLATE | BASEJAIL |
+=====+=======+======+=======+======+=================+======================+=====+==========+==========+
| 526 | dhcp  | off  | up    | jail | 11.2-RELEASE-p8 | epair0b|192.168.1.12 | -   | -        | no       |
+-----+-------+------+-------+------+-----------------+----------------------+-----+----------+----------+
| -   | jail2 | off  | down  | jail | 11.2-RELEASE-p8 | -                    | -   | -        | no       |
+-----+-------+------+-------+------+-----------------+----------------------+-----+----------+----------+
| -   | jail1 | off  | down  | jail | 11.2-RELEASE-p8 | 192.168.1.20         | -   | -        | no       |
+-----+-------+------+-------+------+-----------------+----------------------+-----+----------+----------+
| -   | jail3 | off  | down  | jail | 11.2-RELEASE-p8 | 192.168.1.30         | -   | -        | no       |
+-----+-------+------+-------+------+-----------------+----------------------+-----+----------+----------+

Risk
We do not risk breaking other sorting flags

Acceptance Criteria
It should be ensured that when the long flag and sorting with ip flag is used, they sort as expected


Related issues

Copied to FreeNAS - Bug #82724: Fix IP sorting issue in iocageClosed

History

#1 Updated by Waqar Ahmed 7 months ago

  • Description updated (diff)

#2 Updated by Waqar Ahmed 7 months ago

  • Status changed from In Progress to Ready for Testing

#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 Sorting issue with. ips in iocage to Fix IP sorting issue in iocage
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#7 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.

#8 Updated by Dru Lavigne 5 months ago

  • Status changed from Passed Testing to Done

#9 Updated by Erin Clark 5 months ago

  • Copied to Bug #82724: Fix IP sorting issue in iocage added

#10 Updated by Dru Lavigne 5 months ago

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

Also available in: Atom PDF