codec can't decode byte 0xb3 in position 193: ordinal not in range(128) #153
Comments
Your template doesn't ask for how iocage is installed. This is how it was installed.
|
Here's more:
|
Can you post a |
Can you post a zfs list as well? I have a feeling there's a special character or something. Since I don't recall decoding UTF8 anywhere in this code.
sure!
```
NAME USED AVAIL REFER MOUNTPOINT
tank 18.7G 873G 88K none
tank/ROOT 14.0G 873G 88K none
tank/ROOT/12.0-CURRENT-up-20170420_212750 320K 873G 4.79G /
tank/ROOT/12.0-CURRENT-up-20170421_211808 480K 873G 5.93G /
tank/ROOT/12.0-CURRENT-up-20170425_235231 14.0G 873G 6.21G /
tank/ROOT/initial 288K 873G 4.48G /mnt
tank/iocage 476M 873G 96K /iocage
tank/iocage/download 112M 873G 88K /iocage/download
tank/iocage/download/11.0-RELEASE 111M 873G 111M /iocage/download/11.0-RELEASE
tank/iocage/images 88K 873G 88K /iocage/images
tank/iocage/jails 7.93M 873G 88K /iocage/jails
tank/iocage/jails/5b8a1d6e-cd3b-4fe5-bb61-108080c08629 7.84M 873G 92K /iocage/jails/5b8a1d6e-cd3b-4fe5-bb61-108080c08629
tank/iocage/jails/5b8a1d6e-cd3b-4fe5-bb61-108080c08629/root 7.75M 873G 356M /iocage/jails/5b8a1d6e-cd3b-4fe5-bb61-108080c08629/root
tank/iocage/log 92K 873G 92K /iocage/log
tank/iocage/releases 356M 873G 88K /iocage/releases
tank/iocage/releases/11.0-RELEASE 356M 873G 88K /iocage/releases/11.0-RELEASE
tank/iocage/releases/11.0-RELEASE/root 356M 873G 355M /iocage/releases/11.0-RELEASE/root
tank/iocage/templates 88K 873G 88K /iocage/templates
tank/tmp 796K 873G 796K /tmp
tank/usr 4.26G 873G 88K none
tank/usr/home 1.89G 873G 88K /usr/home
tank/usr/home/sean 1.89G 873G 1.89G /usr/home/sean
tank/usr/jails 88K 873G 88K /usr/jails
tank/usr/obj 88K 873G 88K /usr/obj
tank/usr/ports 88K 873G 88K /usr/ports
tank/usr/src 2.37G 873G 2.37G /usr/src
tank/var 25.3M 873G 88K none
tank/var/audit 88K 873G 88K /var/audit
tank/var/log 24.9M 873G 24.9M /var/log
tank/var/mail 112K 873G 112K /var/mail
tank/var/tmp 136K 873G 136K /var/tmp
```
|
Damn, I don't see anything that's sticking out. I can't replicate it currently, but I'll keep trying. So you were able to create a jail though? Because this same routine would have been called, odd it didn't die for you then as well. |
Hi @skarekrow, I was previously using an iocage (also from git src), so a jail already created and that's why I want to list it now. I'll see if I can create a new jail with the latest iocage. |
Creating a new jail should fail the same way as list then. Do you recall the last version you used? |
Yes, failing in idential way. I don't reall version but the |
That would be before the file was converted to libzfs if the 8th was the right date, so I'll summon @gronke and see if he has any ideas as well. |
okay, I just updated trueOS base and packages and now getting a SO error.
|
Just for fun @26O0, can you try editing The SO error is because you need to rebuild pygit2, since you upgraded libgit2 to 0.25.1 I'd imagine. |
Yes, I now have I cd into py-libzfs ran `python3.6 setup.py install, which installed but generated errors. I went back to iocage dir and installed without issues, but running Do you recommend I still edit the files you listed above? |
You're still getting the SO errors? You could try just upgrading pygit2 as well with Yes, please try editing that file and add the |
Actually, if I
If I |
Interesting, but since you just updated TrueOS, you may have an old and incompatible source tree now unless you also updated that. |
gahhh! what's wrong with my system?!
|
There's nothing wrong ;), I had a brain fart, you can safely remove So to recap:
|
yeah, unfortunately that's not it. I checked out the src and there hasn't been any updates since. |
that's understandable, it's the middle of the night! Now I'm getting the original error and will edit the files you recommended. |
Hmm @kmoore134 may not have updated the tree or something. I typically see that error when I have an old source tree. You can try opening up a He may even have an idea of this UTF-8 issue, as it may stem from |
@26O0 looks like other users have done this jceel/py-libzfs#18 |
edited the file and the few lines around it look like this:
pyc file doesn't exist.
My |
Yeah that's because you have the newer And yes, it seems no solution was suggested yet. I have very little Cython experience, so I'm not the best one to fix that error sadly :( Otherwise I'd send him a PR to unblock you three. Perhaps @william-gr has the ability to do so. |
@skarekrow, those look like the same path. |
Yes, sorry I didn't make that more clear. EDIT: Just to be more clear, make sure it's just the |
Looks like we'll need to wait and see what happens on jceel/py-libzfs#18 |
Yeah I believe that's blocking any meaningful progress here, and the pip3 will continue to fail until I update iocage's setup.py for the latest port, which isn't up to date on HardenedBSD yet, so I haven't done it :) I'll leave this open and see what some of the guys I pinged have to say, I would suggest in the mean time rolling back to the 0.9.7 release unless you needed one of the many fixes and additions 0.9.8 brought. Thanks for the issue! |
@skarekrow, thanks for spending so much time with me tracking this down. I'll download 0.9.7 and use that for the time being! Thanks again, sir. |
@26O0 and thank you for also spending that time trying to narrow things down. It's too bad we had to leave it in this state, though thinking about it again (man it is late...) you may not be able to use 0.9.7 either since the same libzfs issue will be a blocker as well :( Hopefully we can get this issue solved sooner than later! |
great! I'll await for the next trueOS build to try building iocage from git source. |
I'm having this problem, and I'm pretty sure I have the latest devel/py-libzfs: |
@william-gr is the port maintainer and didn't bring forward the patch that was done as he felt there is a better way to fix it. But he couldn't reproduce the problem. So I'll ping him here and if you could @jungle-boogie please post something he can reproduce. |
The patch was not correct, it simply did masquerade the issue. There is a race condition in py-libzfs. |
hi @william-gr, so you'll update py-libzfs on freebsd ports and @kmoore134 will pick it up and patch it again? |
There is no fix for py-libzfs yet. I am not the original author and could not reliably reproduce it to try and fix. |
Why don't you guys open a new issue at https://github.com/jceel/py-libzfs/issues? or submit a pull request? it's the only way to make sure your local patches are correct way to solve problem. |
I'm running into this with the latest TrueOS with iocage 0.9.9.1 and libzfs 1.0.20170814. Is there any workaround? |
@araujobsd any ideas ^ |
I didn't check it yet, I know it is a long time issue! It is in my TODO list and I'll check it soon. |
For now I reapplied the old patch at https://github.com/trueos/freebsd-ports/commit/00da370342012d87331eae3d74ef6784ed8172be and I can use iocage again. |
@asomers Thanks for the feedback, I will check probably next week if that patch is the right thing to fix it or at least can mitigate while we hunt the real bug. |
I get the same compiler errors like @26O0. I think py-libzfs generally doesn't work with freebsd 11.1 (or dereviates) since, the libzfs-API changed. I opened an upstream issue with some documentation: truenas/py-libzfs#1 However, I am not sure if the API change is responsible for all the issues mentioned before. I think I found the issue, but no solution. Hope somebody with knowledge about libzfs could have a lot at the problem. |
8d2cd72 should fix this |
* We want unix acl's on iocage's datasets FreeNAS Ticket: #38195 * DNS/SRV/Host fixes - Parse out the host name, you can't query SRV records from an HTTP address - Don't die if SRV records aren't found, just log it - pkg-repository(5) doesn't appear to enforce or require SRV records - TrueOS pkg mirrors work fine without SRV records * Use branches with plugins This allows us to freeze the INDEX and do development without users being impacted. In addition safe guard against plugins requiring new iocage features. FreeNAS Ticket: #39638 * Use branches with plugins This allows us to freeze the INDEX and do development without users being impacted. In addition safe guard against plugins requiring new iocage features. FreeNAS Ticket: #39638 * Travis * Check host release for plugins - Also commonize the method FreeNAS Ticket: #39508 * Trrrrravis * Strip subnet of IP4_ADDR when building plugin's portal URL (iocage#586) * Check release upon create (iocage#589) * Always Force unmount Datasets when renaming (iocage#590) * Remove exit_on_error This is redundant, as it's already the case. Related to FreeNAS TIcket: #36948 * Check DNS for plugins - Return a more useful pkg error - Show more information about the install process - General formatting improvements - Tear down jail if DHCP fails - Tear down jail if VNET fails - Tear down jail if pkg upgrade fails in plugin installs (required for mismatched ABI errors from previous pkg) FreeNAS Ticket: #40106 * Flatten Python module names (iocage#592) * rename iocage.lib to iocage_lib * rename iocage/cli to iocage_cli * update setup.py to iocage_lib and iocage_cli * move manpage files to top directory * move icage/tests/ to top level directory * add missing dev dependency mock * gitignore .pytest_cache/ * remove deprecated iocage/ directory * ./iocage script for local cli testing/development * Refactor callback method, - Also add callback to many places in plugins - Correctly pass callback into fetch method - Return the command output message for plugins FreeNAS Ticket: #36948 * Bump copyright year (better late then never?) * Fix a couple typos * Add a debug command This should help with tickets that need to supply information * Creating duplicate plugins now name them plugin_NUM - Fix upgrading for plugins - Fix jail creation to be basejails for plugins (They were before, but not actually removing any data) * We want file, not http when specified This fixes some logic. Closes iocage#597 * Be less nice for plugin pkg's clogging up stdout FreeNAS TIcket: #42018 * Fix Makefile names * Make some plugin exec changes to hopefully address FreeNAS #42018 * Prevent CPU from spinning on plugin tasks * Fix callback usage in lib/iocage This was incorrectly calling None on API usage. FreeNAS Ticket: #42359 * Read output one more time after is finished (iocage#601) * Change devfs rule generation - DHCP is much more flexible now - Plugins are able to have devfs rules specified in their manifests - Plugin manifests are kept around for devfs rules now, possibly more fun later FreeNAS Ticket: #42593 * Fix a couple issues with devfs generation * Only show one interface for the plugin IP Most plugins that have more then one IP use VNET, so this assumes the first interface to be the default one. FreeNAS Ticket: #42641 * Update py-libzfs Closes issues iocage#602, iocage#505, #153 * Fix usage of git@ repos This allows private repos to be used as plugins. FreeNAS Ticket: #42653 * fixes BUG, return was one level high (iocage#603) * Merge pull request #17 from freenas/ticket-41694 Delete jails in case of plugin install failure * Initialize reference to repo after succesful porcelain.pull() (iocage#606) * adds thickjail feature to man (iocage#604) * Fix debug not being as useful as it should be for non-running jails - Also append .txt to the filenames. - Drop jexec for most of the debug to instead opt for grabbing from the filesystem directly FreeNAS Ticket: #45563 * Correctly create aliases for shared IP jails that don't specify iface It seems jail(8) behavior may have changed, and this is now required for jail to create the aliases. We do a best effort attempt at using the default interface if the user doesn't supply one. The idea is that if they didn't supply one, they may have already set the alias up themselves, so iocage will do nothing in this case. FreeNAS Ticket: #46245 * Fixed a bug in fstab This commit fixes a bug which caused iocage to raise an exception incase an edit/removal was required by index only and destination field was passed on as null in fstab. Ticket: #45783 * Remove duplicate variable This would be fatal possibly. * Let's use the right variable Possibly shadowing before anyways, this is better. * Updates to iocage.8: (iocage#612) - Update entry for ip4_addr to remove text about entering DEFAULT. - Fix up entry for vnet_interfaces. - Manual check of iocage.8: no issues. * Silence! * Improved error handling This commit adds a try catch block to a snippet where while removing a file may raise an exception as it might not exist in the first place. Ticket: #45805 * Potential Bug fix for jail creation This commit fixes a potential bug which possible arose due to a race condition when the system was unable to find a newly created file. The original referenced issue couldn't be reproduced but necessary steps have been taken to avoid this behavior in this commit. Ticket: #43119 * Test variable before splitting again, honor IP only for plugin install This would be fatal if they didn't supply an interface, in addition we don't care about the interface here, so these block's aren't useful. FreeNAS Ticket: #41670 * Flag debug as rootcmd (iocage#613) * Fix branch name for plugin repo (iocage#614) * Don't use ifconfig -f inet:cidr to extract IP/Mask... (iocage#515) * Don't use ifconfig -f inet:cidr to extract IP/Mask, this is only supported by FreeBSD 11 and newer * efficiencyfied a redundant operation, reordered for readability, and added comments * Moved the [2] up to original assignment of addr_split * Fix devfs rules that have a bracket add path 'ulpt[0-9]*' mode 666 and such. FreeNAS Ticket: #46920 * Use a specific exception for pool activation issues FreeNAS Ticket: #45760 * Merge pull request #37 from freenas/ticket-47085 Bug fix for MAC Addresses * Be a better env...izen. Less pollution! FreeNAS Ticket: #46491 * @william-gr noted we should probably have a couple nice defaults env shouldn't be *so* empty. * Fix wrong property in doc * Add "allow_mlock" as a new property (iocage#617) Introduced in FreeBSD 12.0. Enables running services that require mlock() in a jail (e.g. MongoDB) * Do not set allow.mlock when userland < 12.0 (iocage#619) * Bug fix for installing packages (iocage#607) This commit fixes a bug which caused an exception when trying to install plugins or packages with no packages specified to be installed. Ticket: #44735 * Retry on pkg and pkg install failures Currently we just assume it succeeds or fails, when it could be a slight transient issue. FreeNAS Ticket: #44834 * What! No sys.exit. Raise instead. FreeNAS Ticket: 44834 * Remove debug, add better messages. * It's not even Monday! * Tighten up reusage of code for retry This is better, suggested by William. * Let's add the string version of the exception too Why not! Another idea of @william-gr * Yeah, once is enough for the pkg error * Add rtsold support This works much like dhcp, just easier if you have an ipv6 network. Just set the ip6_addr to 'vnet0|accept_rtadv' FreeNAS Ticket: #40468 * keep_jail_on_failure should be a flag Previously it required a boolean. FreeNAS Ticket: #48416 * Fixed iocage list multiple IP4 addresses (iocage#621) * fixed iocage list: show multiple IP4 addresses correctly * Fixed long lines in ioc_list.py * Fixed bug: Jail fails to start when depends jail is already running (iocage#608) (iocage#622) * Fixed bug: Jail fails to start when depends jail is already running (iocage#608) * Fixed bug iocage#608: If dependent jail does not start then parent jail is not started * Added JailRunning exception and use it when dependent jails already started * Added force_raise flag to default callback() function to force raising exception * Fix exec_pre|post stop Previous behavior was borked. It now works. Closes iocage#611 FreeNAS TIcket: #48449 * Make default interface for vnet customizable (iocage#623) This commit adds support for customizing the default interface for vnet which should be attached on the relevant bridge. It updates the properties of the jails by adding a new property which is used when starting vnet jails. Ticket: #40484 * Fixed bug: setting ZFS properties via 'iocage set' raised exception (iocage#624) * Allow unhiding tun devices with a custom prop "allow_tun" This can be either 0 or 1. This change will also make devfs rulesets individual for each jail that sets dhcp or allow_tun. But it also means you can combine them now. FreeNAS Ticket: #40872 * Catch by @william-gr * exec_clean now affects exec as expected. Upstream required -l to be passed to jexec to clean the environment. Otherwise it was just for the jail initialization. Closes: iocage#610 FreeNAS Ticket: #48581 * Fix Traceback when pkg-static install fails (iocage#627) * Decomplicate things and just use pool/iocage as mount Previous behavior could cause us headaches if exporting and importing other pools. In addition it's heavily overengineered. FreeNAS Ticket: #41268 * We want the jails fstab in debug FreeNAS Ticket: #49420 * Improve support for dots in jailname (iocage#629) * Improve support for dots in jailname * Improve support for dots in jailname (req. chngs)
* We want unix acl's on iocage's datasets FreeNAS Ticket: #38195 * DNS/SRV/Host fixes - Parse out the host name, you can't query SRV records from an HTTP address - Don't die if SRV records aren't found, just log it - pkg-repository(5) doesn't appear to enforce or require SRV records - TrueOS pkg mirrors work fine without SRV records * Use branches with plugins This allows us to freeze the INDEX and do development without users being impacted. In addition safe guard against plugins requiring new iocage features. FreeNAS Ticket: #39638 * Use branches with plugins This allows us to freeze the INDEX and do development without users being impacted. In addition safe guard against plugins requiring new iocage features. FreeNAS Ticket: #39638 * Travis * Check host release for plugins - Also commonize the method FreeNAS Ticket: #39508 * Trrrrravis * Strip subnet of IP4_ADDR when building plugin's portal URL (iocage#586) * Check release upon create (iocage#589) * Always Force unmount Datasets when renaming (iocage#590) * Remove exit_on_error This is redundant, as it's already the case. Related to FreeNAS TIcket: #36948 * Check DNS for plugins - Return a more useful pkg error - Show more information about the install process - General formatting improvements - Tear down jail if DHCP fails - Tear down jail if VNET fails - Tear down jail if pkg upgrade fails in plugin installs (required for mismatched ABI errors from previous pkg) FreeNAS Ticket: #40106 * Flatten Python module names (iocage#592) * rename iocage.lib to iocage_lib * rename iocage/cli to iocage_cli * update setup.py to iocage_lib and iocage_cli * move manpage files to top directory * move icage/tests/ to top level directory * add missing dev dependency mock * gitignore .pytest_cache/ * remove deprecated iocage/ directory * ./iocage script for local cli testing/development * Refactor callback method, - Also add callback to many places in plugins - Correctly pass callback into fetch method - Return the command output message for plugins FreeNAS Ticket: #36948 * Bump copyright year (better late then never?) * Fix a couple typos * Add a debug command This should help with tickets that need to supply information * Creating duplicate plugins now name them plugin_NUM - Fix upgrading for plugins - Fix jail creation to be basejails for plugins (They were before, but not actually removing any data) * We want file, not http when specified This fixes some logic. Closes iocage#597 * Be less nice for plugin pkg's clogging up stdout FreeNAS TIcket: #42018 * Fix Makefile names * Make some plugin exec changes to hopefully address FreeNAS #42018 * Prevent CPU from spinning on plugin tasks * Fix callback usage in lib/iocage This was incorrectly calling None on API usage. FreeNAS Ticket: #42359 * Read output one more time after is finished (iocage#601) * Change devfs rule generation - DHCP is much more flexible now - Plugins are able to have devfs rules specified in their manifests - Plugin manifests are kept around for devfs rules now, possibly more fun later FreeNAS Ticket: #42593 * Fix a couple issues with devfs generation * Only show one interface for the plugin IP Most plugins that have more then one IP use VNET, so this assumes the first interface to be the default one. FreeNAS Ticket: #42641 * Update py-libzfs Closes issues iocage#602, iocage#505, #153 * Fix usage of git@ repos This allows private repos to be used as plugins. FreeNAS Ticket: #42653 * fixes BUG, return was one level high (iocage#603) * Merge pull request #17 from freenas/ticket-41694 Delete jails in case of plugin install failure * Initialize reference to repo after succesful porcelain.pull() (iocage#606) * adds thickjail feature to man (iocage#604) * Fix debug not being as useful as it should be for non-running jails - Also append .txt to the filenames. - Drop jexec for most of the debug to instead opt for grabbing from the filesystem directly FreeNAS Ticket: #45563 * Correctly create aliases for shared IP jails that don't specify iface It seems jail(8) behavior may have changed, and this is now required for jail to create the aliases. We do a best effort attempt at using the default interface if the user doesn't supply one. The idea is that if they didn't supply one, they may have already set the alias up themselves, so iocage will do nothing in this case. FreeNAS Ticket: #46245 * Fixed a bug in fstab This commit fixes a bug which caused iocage to raise an exception incase an edit/removal was required by index only and destination field was passed on as null in fstab. Ticket: #45783 * Remove duplicate variable This would be fatal possibly. * Let's use the right variable Possibly shadowing before anyways, this is better. * Updates to iocage.8: (iocage#612) - Update entry for ip4_addr to remove text about entering DEFAULT. - Fix up entry for vnet_interfaces. - Manual check of iocage.8: no issues. * Silence! * Improved error handling This commit adds a try catch block to a snippet where while removing a file may raise an exception as it might not exist in the first place. Ticket: #45805 * Potential Bug fix for jail creation This commit fixes a potential bug which possible arose due to a race condition when the system was unable to find a newly created file. The original referenced issue couldn't be reproduced but necessary steps have been taken to avoid this behavior in this commit. Ticket: #43119 * Test variable before splitting again, honor IP only for plugin install This would be fatal if they didn't supply an interface, in addition we don't care about the interface here, so these block's aren't useful. FreeNAS Ticket: #41670 * Flag debug as rootcmd (iocage#613) * Fix branch name for plugin repo (iocage#614) * Don't use ifconfig -f inet:cidr to extract IP/Mask... (iocage#515) * Don't use ifconfig -f inet:cidr to extract IP/Mask, this is only supported by FreeBSD 11 and newer * efficiencyfied a redundant operation, reordered for readability, and added comments * Moved the [2] up to original assignment of addr_split * Fix devfs rules that have a bracket add path 'ulpt[0-9]*' mode 666 and such. FreeNAS Ticket: #46920 * Use a specific exception for pool activation issues FreeNAS Ticket: #45760 * Merge pull request #37 from freenas/ticket-47085 Bug fix for MAC Addresses * Be a better env...izen. Less pollution! FreeNAS Ticket: #46491 * @william-gr noted we should probably have a couple nice defaults env shouldn't be *so* empty. * Fix wrong property in doc * Add "allow_mlock" as a new property (iocage#617) Introduced in FreeBSD 12.0. Enables running services that require mlock() in a jail (e.g. MongoDB) * Do not set allow.mlock when userland < 12.0 (iocage#619) * Bug fix for installing packages (iocage#607) This commit fixes a bug which caused an exception when trying to install plugins or packages with no packages specified to be installed. Ticket: #44735 * Retry on pkg and pkg install failures Currently we just assume it succeeds or fails, when it could be a slight transient issue. FreeNAS Ticket: #44834 * What! No sys.exit. Raise instead. FreeNAS Ticket: 44834 * Remove debug, add better messages. * It's not even Monday! * Tighten up reusage of code for retry This is better, suggested by William. * Let's add the string version of the exception too Why not! Another idea of @william-gr * Yeah, once is enough for the pkg error * Add rtsold support This works much like dhcp, just easier if you have an ipv6 network. Just set the ip6_addr to 'vnet0|accept_rtadv' FreeNAS Ticket: #40468 * keep_jail_on_failure should be a flag Previously it required a boolean. FreeNAS Ticket: #48416 * Fixed iocage list multiple IP4 addresses (iocage#621) * fixed iocage list: show multiple IP4 addresses correctly * Fixed long lines in ioc_list.py * Fixed bug: Jail fails to start when depends jail is already running (iocage#608) (iocage#622) * Fixed bug: Jail fails to start when depends jail is already running (iocage#608) * Fixed bug iocage#608: If dependent jail does not start then parent jail is not started * Added JailRunning exception and use it when dependent jails already started * Added force_raise flag to default callback() function to force raising exception * Fix exec_pre|post stop Previous behavior was borked. It now works. Closes iocage#611 FreeNAS TIcket: #48449 * Make default interface for vnet customizable (iocage#623) This commit adds support for customizing the default interface for vnet which should be attached on the relevant bridge. It updates the properties of the jails by adding a new property which is used when starting vnet jails. Ticket: #40484 * Fixed bug: setting ZFS properties via 'iocage set' raised exception (iocage#624) * Allow unhiding tun devices with a custom prop "allow_tun" This can be either 0 or 1. This change will also make devfs rulesets individual for each jail that sets dhcp or allow_tun. But it also means you can combine them now. FreeNAS Ticket: #40872 * Catch by @william-gr * exec_clean now affects exec as expected. Upstream required -l to be passed to jexec to clean the environment. Otherwise it was just for the jail initialization. Closes: iocage#610 FreeNAS Ticket: #48581 * Fix Traceback when pkg-static install fails (iocage#627) * Decomplicate things and just use pool/iocage as mount Previous behavior could cause us headaches if exporting and importing other pools. In addition it's heavily overengineered. FreeNAS Ticket: #41268 * We want the jails fstab in debug FreeNAS Ticket: #49420 * Improve support for dots in jailname (iocage#629) * Improve support for dots in jailname * Improve support for dots in jailname (req. chngs) * Make default interface for vnet customizable This commit adds support for customizing the default interface for vnet which should be attached on the relevant bridge. It updates the properties of the jails by adding a new property which is used when starting vnet jails. Ticket: #40484 * This commit adds support for a default none value for vnet_default_interface property * Don't use ifconfig -f inet:cidr to extract IP/Mask... (iocage#515) * Don't use ifconfig -f inet:cidr to extract IP/Mask, this is only supported by FreeBSD 11 and newer * efficiencyfied a redundant operation, reordered for readability, and added comments * Moved the [2] up to original assignment of addr_split * Improve validation for VNET MAC Fields This commit improves validation for vnet mac props by ensuring that a valid mac address is specified each time with taking into account that the addresses aren't repeated. Ticket: #45838 * Update py-libzfs.
- vnet0 was the only interface that renamed them to epairs, now all vnetN variants will (vnet0|ADDR,vnet1|ADDR, etc - Add which nic inside the jail the vnet device on the host is associated with - Only add default route to the first nic. Closes #682 FreeNAS Ticket: #64113
Make sure to follow and check these boxes before submitting an issue! Thank you.
iocage --version
master
if usinga stable release.
Version 0.9.8.1 05/23/2017
ioage list
Expected results:
I expect to have a list of jails returned
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: