Error message returned is not meaningful, when tried reimage a with a package instead of Base_OS

Bug #1448888 reported by Bharat Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Low
Nitish Krishna Kaveri
Trunk
Fix Committed
Low
Nitish Krishna Kaveri

Bug Description

Tried to reimage with a package ID instead of base_OS from server-manager, but the error message returned was conveying why reimage was failed.

Tested on R2.20 Build #2

Logs:
====
root@nodec32:~/sm_files# server-manager reimage -F --where ip_address=10.204.221.3 ubuntu-12-04
{
    "return_code": 9,
    "return_data": null,
    "return_msg": "Error in re-imaging server"
}

Abhay Joshi (abhayj)
information type: Private → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10077
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10078
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10077
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10078
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10077
Committed: http://github.org/Juniper/contrail-server-manager/commit/56df7b41b1c54abad587655de8c8b3afdb42c8b6
Submitter: Zuul
Branch: R2.20

commit 56df7b41b1c54abad587655de8c8b3afdb42c8b6
Author: nitishkrishna <email address hidden>
Date: Thu May 7 12:28:23 2015 -0700

Minor Smgr CLI bug fixes - Meaningful Error/Output

Closes-Bug:#1448887 - Provision with Base Os Error
Closes-Bug:#1448888 - Reimage with Contrail Error
Closes-Bug:#1448896 - List/Status of Wrong Server/Cluster Error

All the above bugs deal with wrong error messages.
Fixed in main and err py files and tested

Change-Id: Ia181c580cc72b623201e38528a672319f82039e9

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/10078
Committed: http://github.org/Juniper/contrail-server-manager/commit/29212e17b447f18b9400089e5b37c3aad64e7fd0
Submitter: Zuul
Branch: master

commit 29212e17b447f18b9400089e5b37c3aad64e7fd0
Author: nitishkrishna <email address hidden>
Date: Thu May 7 12:28:23 2015 -0700

Minor Smgr CLI bug fixes - Meaningful Error/Output

Closes-Bug:#1448887 - Provision with Base Os Error
Closes-Bug:#1448888 - Reimage with Contrail Error
Closes-Bug:#1448896 - List/Status of Wrong Server/Cluster Error

All the above bugs deal with wrong error messages.
Fixed in main and err py files and tested

Change-Id: Ia181c580cc72b623201e38528a672319f82039e9

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.