openstack server ssh fails to see floating IP address

Bug #1469843 reported by Kindjal
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Terry Howe

Bug Description

This is with Openstack Juno with OSC 1.5.0

> openstack server list
+--------------------------------------+------------------+--------+---------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------------------+--------+---------------------------------------+
| 688d1ae6-afa5-40e5-8b84-f29bbd28703d | servername | ACTIVE | priv-network=192.168.15.6, 10.0.34.209 |
+--------------------------------------+------------------+--------+---------------------------------------+

python-novaclient version of ssh works:

> nova ssh servername --login ubuntu
Warning: Permanently added '10.0.34.209' (RSA) to the list of known hosts.
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-76-virtual x86_64)
Last login: Mon Jun 29 17:29:19 2015 from 10.0.7.101
ubuntu@servername:~$

But python-openstack client does not work:

> openstack server ssh servername --login ubuntu
ERROR: No public IP address found

Revision history for this message
Steve Martinelli (stevemar) wrote :

can you re-run the command with --debug so we can get more information?

Revision history for this message
Kindjal (kindjal) wrote :
Revision history for this message
Kindjal (kindjal) wrote :
Revision history for this message
Summer (chengkun) wrote :

I encountered the same problem

Terry Howe (thowe-g)
Changed in python-openstackclient:
assignee: nobody → Terry Howe (thowe-g)
Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
Terry Howe (thowe-g) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/199719
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=f89fc1ef3288fb432fe6f76268a92f6f1111a1eb
Submitter: Jenkins
Branch: master

commit f89fc1ef3288fb432fe6f76268a92f6f1111a1eb
Author: TerryHowe <email address hidden>
Date: Wed Jul 8 13:52:45 2015 -0600

    Fix address parsing for server ssh command

    There seem to be three formats for the server address field
    and the old code only supported the old format. This code adds
    a parser for all three formats.

    Change-Id: I7f12d2c69ff70556907ea6f31a0e0bba91b68b49
    Closes-Bug: #1469843

Changed in python-openstackclient:
status: In Progress → Fix Committed
Changed in python-openstackclient:
importance: Undecided → Medium
Changed in python-openstackclient:
milestone: none → 1.6.0
status: Fix Committed → Fix Released
Revision history for this message
Kindjal (kindjal) wrote :

Fix confirmed:

-> openstack --version
openstack 1.6.0

-> openstack server ssh myserver --login ubuntu
Warning: Permanently added '10.0.48.153' (RSA) to the list of known hosts.
Last login: Tue Aug 11 15:49:32 2015 from 10.0.7.101
ubuntu@myserver:~$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.