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 2.4 #9152

Merged
merged 4 commits into from
Sep 3, 2018
Merged

2.3 into 2.4 #9152

merged 4 commits into from
Sep 3, 2018

Conversation

jameinel
Copy link
Member

@jameinel jameinel commented Sep 3, 2018

Description of change

Merge 2.3 into 2.4 bringing in:

QA steps

See individual patches.

Documentation changes

None.

Bug reference

jameinel and others added 3 commits August 29, 2018 19:54
We just treat them as no-op, since we don't have any firewalls to
actually apply. Arguably users shouldn't be exposing in places that
don't have an external network, but they wouldn't be able to unexpose
(and thus close the ports) unless we treat both Open and Close as a
no-op.
If someone tries to "expose" something, but there isn't an external
network, we treat it as a no-op but log a warning. Note that this
typically happens with Bundles as they default to exporting things they
think are important.
juju#9140

## Description of change

We just treat them as no-op, since we don't have any firewalls to
actually apply. Arguably users shouldn't be exposing in places that
don't have an external network, but they wouldn't be able to unexpose
(and thus close the ports) unless we treat both Open and Close as a
no-op.

## QA steps

I have not yet done manual QA. I think to do a proper job it would be something like:
```
$ juju bootstrap vmware # no --config external-network set
$ juju deploy mysql
$ juju expose mysql
$ juju debug-log
```
Without this fix we should expect to see a lot of errors in the logs around
```
2018-08-24 14:19:26 ERROR juju.worker.dependency engine.go:551 "firewaller" manifold worker returned unexpected error: cannot respond to units changes for "machine-9": Can't close/open ports without external network
```

With this fix, it should ignore the 'juju expose' call, since it has nowhere to expose the instance to.

Note that if you could
```
$ juju unexpose mysql
```
we could probably be ok, but because that involves a `ClosePort()` call that would run into the same failure.

## Documentation changes

None.

## Bug reference

https://bugs.launchpad.net/juju/+bug/1789211
@jameinel
Copy link
Member Author

jameinel commented Sep 3, 2018

$$merge$$ self approving a merge of 2.3 into 2.4

Needs a small tweak for CallContext
@jameinel
Copy link
Member Author

jameinel commented Sep 3, 2018

$$merge$$ had a problem that 2.4 now needs the Provider CallContext in the tests.

@jujubot jujubot merged commit 3f4f447 into juju:2.4 Sep 3, 2018
jameinel added a commit to jameinel/juju that referenced this pull request Oct 25, 2018
Including:
 * Merge pull request juju#9359 from juju/2.3
 * Merge pull request juju#9355 from howbazaar/2.4-engine-backoff
 * Merge pull request juju#9345 from anastasiamac/only-clear-current-when-asked-lp1796148
 * Merge pull request juju#9335 from babbageclunk/mux-worker
 * Merge pull request juju#9333 from wallyworld/merge-2.3-20181018
 * Merge pull request juju#9323 from ExternalReality/fix_logging_path
 * Merge pull request juju#9327 from mitechie/enable-export-bundle
 * Merge pull request juju#9315 from manadart/2.4-acceptance-maas-network-bind
 * Merge pull request juju#9300 from manadart/2.4-provisioner-testing-with-mocks
 * Merge pull request juju#9287 from manadart/2.4
 * Merge pull request juju#9297 from anastasiamac/24-better-debug-lp1779677
 * Merge pull request juju#9298 from wallyworld/cmr-controller-connect-robust-2.4
 * Merge pull request juju#9251 from howbazaar/bundle-export-series
 * Merge pull request juju#9293 from babbageclunk/bundle-deploy-panic-2.4
 * Merge pull request juju#9285 from howbazaar/2.4-fix-multiwatcher
 * Merge pull request juju#9264 from mitechie/forward-9235
 * Merge pull request juju#9263 from wallyworld/goal-state-units
 * Merge pull request juju#9255 from howbazaar/2.4-bionic-tests
 * Merge pull request juju#9203 from wallyworld/go-1.11-2.4
 * Merge pull request juju#9191 from howbazaar/2.4-status-retry
 * Merge pull request juju#9178 from hmlanigan/fixes
 * Merge pull request juju#9177 from SimonRichardson/ec2-instance-types-2.4
 * Merge pull request juju#9181 from babbageclunk/2.3-merge-into-2.4
 * Merge pull request juju#9169 from juju/2.3
 * Merge pull request juju#9167 from babbageclunk/caasfirewaller-test-fix-2.4
 * Merge pull request juju#9166 from babbageclunk/s390x-test-fix-2.4
 * Merge pull request juju#9152 from jameinel/2.3-into-2.4
 * Merge pull request juju#9080 from vinu2003/juju_exportBundle_timeDelayFix
 * Merge pull request juju#9138 from wallyworld/charm.v6-dep-update
 * Merge pull request juju#9137 from anastasiamac/test-order-fix-24
 * Merge pull request juju#9134 from anastasiamac/merge-23-into-24-20180829
 * Merge pull request juju#9132 from wallyworld/improve-charm-versionstring
 * Merge pull request juju#9126 from anastasiamac/empty-default-settings-lp1789415-24
 * Merge pull request juju#9117 from anastasiamac/init-cmd-lp1785205-24
 * Merge pull request juju#9104 from wallyworld/merge-2.3-20180823

Bugs

 * https://bugs.launchpad.net/juju/+bug/1798485
 * https://bugs.launchpad.net/juju/+bug/1793245
 * https://bugs.launchpad.net/juju/+bug/1796148
 * https://bugs.launchpad.net/juju/+bug/1798001
 * https://bugs.launchpad.net/juju/+bug/1793284
 * https://bugs.launchpad.net/juju/+bug/1796106
 * https://bugs.launchpad.net/juju/+bug/1779677
 * https://bugs.launchpad.net/juju/+bug/1795499
 * https://bugs.launchpad.net/juju/+bug/1773357
 * https://bugs.launchpad.net/juju/+bug/1792299
 * https://bugs.launchpad.net/juju/+bug/1782803
 * https://bugs.launchpad.net/juju/+bug/1782367
 * https://bugs.launchpad.net/juju/+bug/1790626
 * https://bugs.launchpad.net/juju/+bug/1789211
 * https://bugs.launchpad.net/juju/+bug/1789447
 * https://bugs.launchpad.net/juju/+bug/1789415
 * https://bugs.launchpad.net/juju/+bug/1785205
 * https://bugs.launchpad.net/juju/2.3/+bug/1788554
@jameinel jameinel mentioned this pull request Oct 25, 2018
jujubot added a commit that referenced this pull request Oct 26, 2018
#9372

## Description of change

Merge of the current tip of 2.4 into 2.5 bringing in patches:
 prdesc Merge pull request #9359 from juju/2.3
 prdesc Merge pull request #9355 from howbazaar/2.4-engine-backoff
 prdesc Merge pull request #9345 from anastasiamac/only-clear-current-when-asked-lp1796148
 prdesc Merge pull request #9335 from babbageclunk/mux-worker
 prdesc Merge pull request #9333 from wallyworld/merge-2.3-20181018
 prdesc Merge pull request #9323 from ExternalReality/fix_logging_path
 prdesc Merge pull request #9327 from mitechie/enable-export-bundle
 prdesc Merge pull request #9315 from manadart/2.4-acceptance-maas-network-bind
 prdesc Merge pull request #9300 from manadart/2.4-provisioner-testing-with-mocks
 prdesc Merge pull request #9287 from manadart/2.4
 prdesc Merge pull request #9297 from anastasiamac/24-better-debug-lp1779677
 prdesc Merge pull request #9298 from wallyworld/cmr-controller-connect-robust-2.4
 prdesc Merge pull request #9251 from howbazaar/bundle-export-series
 prdesc Merge pull request #9293 from babbageclunk/bundle-deploy-panic-2.4
 prdesc Merge pull request #9285 from howbazaar/2.4-fix-multiwatcher
 prdesc Merge pull request #9264 from mitechie/forward-9235
 prdesc Merge pull request #9263 from wallyworld/goal-state-units
 prdesc Merge pull request #9255 from howbazaar/2.4-bionic-tests
 prdesc Merge pull request #9203 from wallyworld/go-1.11-2.4
 prdesc Merge pull request #9191 from howbazaar/2.4-status-retry
 prdesc Merge pull request #9178 from hmlanigan/fixes
 prdesc Merge pull request #9177 from SimonRichardson/ec2-instance-types-2.4
 prdesc Merge pull request #9181 from babbageclunk/2.3-merge-into-2.4
 prdesc Merge pull request #9169 from juju/2.3
 prdesc Merge pull request #9167 from babbageclunk/caasfirewaller-test-fix-2.4
 prdesc Merge pull request #9166 from babbageclunk/s390x-test-fix-2.4
 prdesc Merge pull request #9152 from jameinel/2.3-into-2.4
 prdesc Merge pull request #9080 from vinu2003/juju_exportBundle_timeDelayFix
 prdesc Merge pull request #9138 from wallyworld/charm.v6-dep-update
 prdesc Merge pull request #9137 from anastasiamac/test-order-fix-24
 prdesc Merge pull request #9134 from anastasiamac/merge-23-into-24-20180829
 prdesc Merge pull request #9132 from wallyworld/improve-charm-versionstring
 prdesc Merge pull request #9126 from anastasiamac/empty-default-settings-lp1789415-24
 prdesc Merge pull request #9117 from anastasiamac/init-cmd-lp1785205-24
 prdesc Merge pull request #9104 from wallyworld/merge-2.3-20180823

## QA steps

See individual patches.

## Documentation changes

See individual patches.

## Bug reference

 prdesc https://bugs.launchpad.net/juju/+bug/1798485
 prdesc https://bugs.launchpad.net/juju/+bug/1793245
 prdesc https://bugs.launchpad.net/juju/+bug/1796148
 prdesc https://bugs.launchpad.net/juju/+bug/1798001
 prdesc https://bugs.launchpad.net/juju/+bug/1793284
 prdesc https://bugs.launchpad.net/juju/+bug/1796106
 prdesc https://bugs.launchpad.net/juju/+bug/1779677
 prdesc https://bugs.launchpad.net/juju/+bug/1795499
 prdesc https://bugs.launchpad.net/juju/+bug/1773357
 prdesc https://bugs.launchpad.net/juju/+bug/1792299
 prdesc https://bugs.launchpad.net/juju/+bug/1782803
 prdesc https://bugs.launchpad.net/juju/+bug/1782367
 prdesc https://bugs.launchpad.net/juju/+bug/1790626
 prdesc https://bugs.launchpad.net/juju/+bug/1789211
 prdesc https://bugs.launchpad.net/juju/+bug/1789447
 prdesc https://bugs.launchpad.net/juju/+bug/1789415
 prdesc https://bugs.launchpad.net/juju/+bug/1785205
 prdesc https://bugs.launchpad.net/juju/2.3/+bug/1788554
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.

2 participants