Project

General

Profile

Bug #21142

iocage bombs out when trying to fetch a release

Added by John Hixson over 4 years ago. Updated about 4 years ago.

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

Description

I'm trying to create a jail on freenas with the new iocage in the nightlies. When I try to fetch a release with the following command:

iocage create -r 11.0-RELEASE

This happens:

[root@fndev /usr/local/www/freenasUI]# iocage fetch -r 11.0-RELEASE
Fetching: 11.0-RELEASE

Extracting: base.txz...
Extracting: lib32.txz...
Extracting: doc.txz...

  • Updating 11.0-RELEASE to the latest patch level...
    ('freebsd-update', '-b', '/mnt/iocage/releases/11.0-RELEASE/root', '-d', '/mnt/iocage/releases/11.0-RELEASE/root/var/db/freebsd-update/', '-f', '/mnt/iocage/releases/11.0-RELEASE/root/etc/freebsd-update.conf', 'fetch')
    Traceback (most recent call last):
    File "/usr/local/bin/iocage", line 9, in <module>
    load_entry_point('iocage==0.9.4.1', 'console_scripts', 'iocage')()
    File "/usr/local/lib/python2.7/site-packages/iocage/main.py", line 92, in main
    cli(obj=MODULES)
    File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in call
    return self.main(*args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
    File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/iocage/cli/fetch.py", line 78, in fetch_cmd
    _file=_file, verify=verify, hardened=hardened).fetch_release()
    File "/usr/local/lib/python2.7/site-packages/iocage/lib/ioc_fetch.py", line 175, in fetch_release
    self.fetch_ftp_release(eol)
    File "/usr/local/lib/python2.7/site-packages/iocage/lib/ioc_fetch.py", line 337, in fetch_ftp_release
    self.fetch_update()
    File "/usr/local/lib/python2.7/site-packages/iocage/lib/ioc_fetch.py", line 569, in fetch_update
    "fetch"], stderr=PIPE).communicate()
    File "/usr/local/lib/python2.7/subprocess.py", line 711, in init
    errread, errwrite)
    File "/usr/local/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
    OSError: [Errno 2] No such file or directory

History

#1 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Assignee set to Brandon Schneider

#2 Updated by Brandon Schneider over 4 years ago

Already fixed in master.

#3 Updated by Brandon Schneider over 4 years ago

  • Status changed from Unscreened to Resolved

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Target version changed from 9.10.3 to 11.0

#6 Updated by Vaibhav Chauhan about 4 years ago

  • Target version changed from 11.0 to 11.0-RC

Also available in: Atom PDF