Merge lp:~axwalk/juju-core/lp1300264-manual-unresolvable-address into lp:~go-bot/juju-core/trunk
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2535 |
Proposed branch: | lp:~axwalk/juju-core/lp1300264-manual-unresolvable-address |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
229 lines (+95/-60) 5 files modified
environs/manual/addresses.go (+25/-12) environs/manual/addresses_test.go (+57/-17) environs/manual/export_test.go (+1/-1) environs/manual/provisioner.go (+7/-29) provider/manual/instance.go (+5/-1) |
To merge this branch: | bzr merge lp:~axwalk/juju-core/lp1300264-manual-unresolvable-address |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+213581@code.launchpad.net |
Commit message
environs/manual: don't require resolvable hostname
This change makes it so that the hostname provided
during manual provisioning is not necessarily
resolvable from the machine provisioning. If this
is the case, the machine will not be given a public
address.
There's another change here, which is that we no
longer perform a reverse lookup or record the
resolved addresses in state; we only store the
input address if it's an IP or if it's a resolvable
hostname. All other addresses will come from the
machine agent itself.
Fixes lp:1300264
Description of the change
environs/manual: don't require resolvable hostname
This change makes it so that the hostname provided
during manual provisioning is not necessarily
resolvable from the machine provisioning. If this
is the case, the machine will not be given a public
address.
There's another change here, which is that we no
longer perform a reverse lookup or record the
resolved addresses in state; we only store the
input address if it's an IP or if it's a resolvable
hostname. All other addresses will come from the
machine agent itself.
Fixes lp:1300264
Reviewers: mp+213581_ code.launchpad. net,
Message:
Please take a look.
Description:
environs/manual: don't require resolvable hostname
This change makes it so that the hostname provided
during manual provisioning is not necessarily
resolvable from the machine provisioning. If this
is the case, the machine will not be given a public
address.
There's another change here, which is that we no
longer perform a reverse lookup or record the
resolved addresses in state; we only store the
input address if it's an IP or if it's a resolvable
hostname. All other addresses will come from the
machine agent itself.
Fixes lp:1300264
https:/ /code.launchpad .net/~axwalk/ juju-core/ lp1300264- manual- unresolvable- address/ +merge/ 213581
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/82930044/
Affected files (+86, -60 lines): manual/ addresses. go manual/ addresses_ test.go manual/ export_ test.go manual/ provisioner. go manual/ instance. go
A [revision details]
M environs/
M environs/
M environs/
M environs/
M provider/