Project

General

Profile

Bug #30858

Fix traceback that prevented iocage create jail from template from working

Added by Marcelo Ruiz about 1 year ago. Updated 10 months ago.

Status:
Done
Priority:
No priority
Assignee:
Brandon Schneider
Category:
OS
Target version:
Seen in:
Severity:
New
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

I use:

iocage create -t template -n newjail

and I get:

Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/iocage/cli/create.py", line 103, in cli
elif release.lower() == "latest":
AttributeError: 'NoneType' object has no attribute 'lower'

History

#1 Updated by Marcelo Ruiz about 1 year ago

  • File debug-freenas-20180328014459.txz added
  • Private changed from No to Yes

#2 Updated by Dru Lavigne about 1 year ago

  • Due date set to 04/02/2018
  • Assignee changed from Release Council to Brandon Schneider
  • Target version set to 11.2-RC2
  • Seen in changed from Unspecified to 11.1-U4

#3 Updated by Brandon Schneider about 1 year ago

  • Status changed from Unscreened to Not Started

Resolved in commit: https://github.com/iocage/iocage/commit/30a7ffa461a69fb92ff16e71fe2925770174d3c5

11.2 will have the fixed version.

#4 Updated by Brandon Schneider about 1 year ago

  • Status changed from Not Started to In Progress

#5 Updated by Brandon Schneider about 1 year ago

  • Status changed from In Progress to Done
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#6 Updated by Dru Lavigne about 1 year ago

  • File deleted (debug-freenas-20180328014459.txz)

#7 Updated by Dru Lavigne about 1 year ago

  • Subject changed from iocage create jail from template not working to Fix traceback that prevented iocage create jail from template from working
  • Target version changed from 11.2-RC2 to 11.2-BETA1
  • Private changed from Yes to No

#8 Updated by Dru Lavigne 12 months ago

  • Status changed from Done to Ready for Testing

#9 Updated by Nick Wolff 10 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Severity set to New

Tested

root@fncertified:~ # iocage set template=yes test
test converted to a template.
Property: template has been updated to yes
root@fncertified:~ # iocage list
-----------+-------+--------------+------+ | JID | NAME | STATE | RELEASE | IP4 |
=====+========+=======+==============+====== | - | Test | down | 11.1-RELEASE | DHCP |
-----------+-------+--------------+------+ | - | iocage | down | 11.1-RELEASE | DHCP |
-----------+-------+--------------+------+
root@fncertified:~ # iocage create -t test -n newjail
newjail successfully created!

#10 Updated by Dru Lavigne 10 months ago

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

Also available in: Atom PDF