Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing commits #54

Merged
merged 88 commits into from
Oct 4, 2018
Merged

Add missing commits #54

merged 88 commits into from
Oct 4, 2018

Conversation

skarekrow
Copy link

@skarekrow skarekrow commented Oct 4, 2018

Adds waqar's missing commits that got clobbered in big merge along with a couple other ones.
Ticket: #49640

Brandon Schneider and others added 30 commits July 24, 2018 15:59
- 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
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
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
- Also commonize the method

FreeNAS Ticket: #39508
This is redundant, as it's already the case.

Related to FreeNAS TIcket: #36948
- 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
* 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
- Also add callback to many places in plugins
- Correctly pass callback into fetch method
- Return the command output message for plugins

FreeNAS Ticket: #36948
This should help with tickets that need to supply information
- Fix upgrading for plugins
- Fix jail creation to be basejails for plugins (They were before, but not actually removing any data)
This fixes some logic.

Closes iocage#597
This was incorrectly calling None on API usage.

FreeNAS Ticket: #42359
- 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
Most plugins that have more then one IP use VNET, so this assumes the first interface to be the default one.

FreeNAS Ticket: #42641
Brandon Schneider and others added 23 commits September 25, 2018 15:39
This is better, suggested by William.
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
Previously it required a boolean.

FreeNAS Ticket: #48416
* fixed iocage list: show multiple IP4 addresses correctly

* Fixed long lines in ioc_list.py
…ocage#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
Previous behavior was borked. It now works.

Closes iocage#611
FreeNAS TIcket: #48449
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 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
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
Previous behavior could cause us headaches if exporting and importing other pools. In addition it's heavily overengineered.

FreeNAS Ticket: #41268
FreeNAS Ticket: #49420
* Improve support for dots in jailname

* Improve support for dots in jailname (req. chngs)
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
rexpo and others added 3 commits October 4, 2018 16:22
* 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
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
@skarekrow skarekrow merged commit 5181e4c into master Oct 4, 2018
@skarekrow skarekrow deleted the add_missing_commits branch October 4, 2018 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants