Use ipAddress instead of dnsName now that txaws supports it
Bug #945505 reported by
Roman Yepishev
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Clint Byrum |
Bug Description
lp:txaws now exposes ip_address, we should start using it instead of dns_name for ssh connection, makes private openstack users happier.
In particular, when deploying a service to a private openstack, one gets the following errors:
2012-07-23 19:17:08,804 ERROR Invalid host for SSH forwarding: ssh: Could not resolve hostname server-13898: Name or service not known
2012-07-23 19:17:36,693 ERROR Invalid host for SSH forwarding: ssh: Could not resolve hostname server-13898: Name or service not known
...
This repeats many times slowly at roughly 30s intervals. On the 6th time I hit control-c.
Related branches
lp:~lifeless/pyjuju/bug-945505
- Gustavo Niemeyer: Disapprove
- Martin Packman (community): Abstain
-
Diff: 70 lines (+7/-7)3 files modifiedjuju/providers/ec2/machine.py (+1/-1)
juju/providers/ec2/tests/test_getmachines.py (+4/-4)
juju/providers/ec2/tests/test_machine.py (+2/-2)
lp:~clint-fewbar/pyjuju/ec2-use-ip-address
- Juju Engineering: Pending requested
-
Diff: 315 lines (+163/-16)7 files modifiedjuju/providers/ec2/__init__.py (+2/-1)
juju/providers/ec2/launch.py (+8/-1)
juju/providers/ec2/machine.py (+30/-4)
juju/providers/ec2/tests/common.py (+18/-2)
juju/providers/ec2/tests/test_getmachines.py (+4/-0)
juju/providers/ec2/tests/test_launch.py (+21/-2)
juju/providers/ec2/tests/test_machine.py (+80/-6)
Changed in juju: | |
assignee: | nobody → Roman Yepishev (rye) |
Changed in juju: | |
assignee: | Roman Yepishev (rye) → nobody |
description: | updated |
Changed in juju: | |
status: | New → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
importance: | Undecided → High |
Changed in juju: | |
milestone: | none → honolulu |
Changed in juju: | |
milestone: | 0.6 → none |
To post a comment you must log in.
rev 134 of txaws has this, which isn't in precise. We need to backport it, or backport the whole last release. http:// bazaar. launchpad. net/~txaws- dev/txaws/ trunk/revision/ 134