Log message does not contain blank space

Bug #1237303 reported by Guangya Liu (Jay Lau)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Guangya Liu (Jay Lau)
Havana
Fix Released
Undecided
Unassigned

Bug Description

liugya@liugya-ubuntu:~/devstack$ nova aggregate-add-host 1 liugya-ubuntu
Aggregate 1 has been successfully updated.
+----+------+-------------------+--------------------+----------------------------------+
| Id | Name | Availability Zone | Hosts | Metadata |
+----+------+-------------------+--------------------+----------------------------------+
| 1 | agg1 | zone1 | [u'liugya-ubuntu'] | {u'availability_zone': u'zone1'} |
+----+------+-------------------+--------------------+----------------------------------+
liugya@liugya-ubuntu:~/devstack$ nova aggregate-add-host 2 liugya-ubuntu
ERROR: Cannot perform action 'add_host_to_aggregate' on aggregate 2. Reason: Host already in availability zonezone1.. (HTTP 409) (Request-ID: req-fe50ad9a-f20d-456c-8c1f-f236b8329b0c)

Two issues:
1) contain two period at the end of the log message
2) Should be availability zone zone1

Changed in nova:
assignee: nobody → Jay Lau (jay-lau-513)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/50604

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/50604
Committed: http://github.com/openstack/nova/commit/c2ae5fb5659faeadc6f4d8afe27eb68e3c0ade0c
Submitter: Jenkins
Branch: master

commit c2ae5fb5659faeadc6f4d8afe27eb68e3c0ade0c
Author: Jay Lau <email address hidden>
Date: Wed Oct 9 19:54:43 2013 +0800

    Update log message for add_host_to_aggregate

    When add host to aggregates with availability zone, if the host
    is already in one availability zone, then the host cannot be added
    to another availability zone.

    When user do above operation, nova api will report error message,
    but the error message does not include blank space between
    <availability zone> and zone name, also the error message include
    two periods.

    The fix was adding blank space and removes one period for the message.

    Change-Id: I7307288be194d3ce6de05b77433bbe2626ae46d9
    Closes-bug: #1237303

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/69346

Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-1 → 2014.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/havana)

Reviewed: https://review.openstack.org/69346
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9a45362653193ea2c731e21be40a44be006d0abb
Submitter: Jenkins
Branch: stable/havana

commit 9a45362653193ea2c731e21be40a44be006d0abb
Author: Jay Lau <email address hidden>
Date: Wed Oct 9 19:54:43 2013 +0800

    Update log message for add_host_to_aggregate

    When add host to aggregates with availability zone, if the host
    is already in one availability zone, then the host cannot be added
    to another availability zone.

    When user do above operation, nova api will report error message,
    but the error message does not include blank space between
    <availability zone> and zone name, also the error message include
    two periods.

    The fix was adding blank space and removes one period for the message.

    Change-Id: I7307288be194d3ce6de05b77433bbe2626ae46d9
    Closes-bug: #1237303
    (cherry picked from commit c2ae5fb5659faeadc6f4d8afe27eb68e3c0ade0c)

tags: added: in-stable-havana
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.