Project

General

Profile

Bug #25318

Update iocage to 0.9.9

Added by Paul Schatz about 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Seen in:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

FreeNAS-11.0-U2 | Supermicro X9SCM-F | Xeon E3-1240V2
16GB ECC RAM | PNY 120GB SSD for boot
1 WD Green 2TB + 2 WD Red 2TB in RaidZ1 |
Toshiba 128GB M.2 SSD for jails

ChangeLog Required:
No

Description

Updated from 11.0-RELEASE to 11.0-U2. Update seems to have run OK, but an iocage jail for Plexpass that I created under 11.0-RELEASE gives an error when it starts. I skipped 11.0-U1. Everything worked great before the update.

@
[root@freenas ~]# iocage start Plexpass
  • Starting 0e45d9fe-7735-4b69-aec5-2a2571a29660 (Plexpass)
    + Started OK
    ifconfig: interface bridge0 does not exist
    Network failed to start:
    + Starting services OK
    [root@freenas ~]#
    @
    It was configured as a VNET jail.
    No other error messages, and services say they start OK (except for above.)

Also, if I try to create another jail, I get these errors:
@
[root@freenas ~]# iocage create tag=testjail ip4_addr="em1|192.168.2.24/24" -r 11.0-RELEASE
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py", line 544, in json_check_config
release = conf["release"]
KeyError: 'release'

During handling of the above exception, another exception occurred:

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 86, in cli
err, msg = ioc.IOCage().create(release, props, pkglist=pkglist,
File "/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py", line 68, in init
self.jails, self._paths = self.list("uuid")
File "/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py", line 468, in list
return ioc_list.IOCList(lst_type, header, long, sort).list_datasets()
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_list.py", line 53, in list_datasets
conf = iocage.lib.ioc_json.IOCJson(jail).json_load()
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py", line 256, in json_load
conf = self.json_check_config(conf, version)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py", line 548, in json_check_config
freebsd_version = f"{iocroot}/releases/{conf['release']}" \
KeyError: 'release'
[root@freenas ~]#
@

Associated revisions

Revision 40eba835 (diff)
Added by Dru Lavigne about 1 year ago

Indicate new Dojo and iocage versions.
Ticket: #25318
Ticket: #25830

History

#1 Updated by Dru Lavigne about 1 year ago

  • Assignee changed from Release Council to Brandon Schneider

#2 Updated by Brandon Schneider about 1 year ago

  • Status changed from Unscreened to Fix In Progress
  • Target version set to 11.1

This should be fixed once 0.9.9 lands in FreeNAS.

I'll circle back and update you when that occurs :)

#3 Updated by Dru Lavigne about 1 year ago

  • Status changed from Fix In Progress to 46

Brandon: do you have an ETA for 0.9.9?

#4 Updated by Brandon Schneider about 1 year ago

  • Status changed from 46 to Ready For Release

Dru: It's already been tagged and released, I forgot to come back. Sorry Paul!

This is in the latest nightlies.

#5 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Problem with iocage jail after update from 11.0-RELEASE to 11.0-U2 to Update iocage to 0.9.9

#6 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.1 to 11.1-BETA1

#7 Updated by Dru Lavigne about 1 year ago

Bonnie: I verified that version 0.9.9.2 is running on 11-MASTER-201709211401-68e65a6.

#8 Updated by Dru Lavigne 12 months ago

  • Status changed from Ready For Release to Resolved

#9 Updated by Bonnie Follweiler 12 months ago

  • Needs QA changed from Yes to No
  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

Also available in: Atom PDF