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

2.3 into develop #8762

Merged
merged 10 commits into from May 24, 2018
Merged

2.3 into develop #8762

merged 10 commits into from May 24, 2018

Conversation

jameinel
Copy link
Member

Description of change

This includes my change to the Openstack provider to avoid duplicate subnet ranges by only including subnets that are part of the networks that you provide in config.
This also includes a no-op merge of Anastasia's change to status, since she had already independently merged a change to develop.

QA steps

See individual patches.

Documentation changes

None.

Bug reference

jameinel and others added 9 commits May 23, 2018 16:29
When autodetecting FAN overlays, we were taking all SuperSubnets and
mapping them, but we know that we don't want overlays for IPv6 networks.
Openstack SuperSubnets always returns all subnets, and it isn't clear if
SuperSubnets should be filtering v6.

For Openstack subnet listings, we now only list the subnets that are
part of either the 'network' config or the 'external-network' config,
rather than listing all networks all the time. (This should address
bug #1733266 until we have support for Openstack instances spanning
multiple networks.)
…lines

juju#8756

## Description of change

Status, in tabular output, displays information in different sections - applications, units, machines, relations, etc... Each section is separate from previous by a new line. If the section is empty, it will not be displayed.

There are 2 ways to ensure that there is a new line - add one at the end of a section or add one at the beginning. As there is no guarantee that a section will be displayed, it is easier to ensure that a newline is present whenever a section is rendered. We know we'd be rendering a section when we are rendering headers.

This PR ensures that all headers are preceded by a newline and removes redundant empty lines after sections that had them.

Without this change, some sections will be separated by several newlines (I have seen 2); and others will have no newlines in between (for example, if there are only machines to display).
juju#8751

## Description of change

When autodetecting FAN overlays, we were taking all SuperSubnets and
mapping them, but we know that we don't want overlays for IPv6 networks.
Openstack SuperSubnets always returns all subnets, and it isn't clear if
SuperSubnets should be filtering v6.

For Openstack subnet listings, we now only list the subnets that are
part of either the 'network' config or the 'external-network' config,
rather than listing all networks all the time. (This should address
bug #1733266 until we have support for Openstack instances spanning
multiple networks.)

## QA steps

For the first one, we should be able to `juju bootstrap` on an Openstack that has IPv6 subnets. (Or on any provider with IPv6, for that matter.)
For the second one, we should be able to `juju bootstrap` on an Openstack as long as you supply --config="network=XXXXX", even if that Openstack defines several networks with subnets that collide.

## Documentation changes

None.

## Bug reference

https://bugs.launchpad.net/bugs/1761706
https://bugs.launchpad.net/bugs/1733266
Since this was a 'manual forward port of ...' assume that the content is
exactly what was desired and just favor develop over all of 2.3 changes.
@jameinel
Copy link
Member Author

$$merge$$ self approving 2.3 into develop

@jameinel
Copy link
Member Author

$$merge$$

@jujubot jujubot merged commit c17354d into juju:develop May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants