Python client library for Nova

Nova CLI help should only use one of "instance"/"server"

Reported by Jakub Ruzicka on 2013-03-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Low
Jakub Ruzicka

Bug Description

Terms "instance" and "server" are used interchangeably in `nova` help.

Only one term should be used to avoid confusion.

I propose going with "instance", but that would require renaming/deprecating/aliasing "hypervisor-servers" command, which is only nova command with "server" in it.

$ nova | grep "instance\|server"

Jakub Ruzicka (jruzicka) on 2013-03-18
Changed in python-novaclient:
assignee: nobody → Jakub Ruzicka (jruzicka)
Jakub Ruzicka (jruzicka) on 2013-03-18
summary: - Nova CLI help should only use "instance", not "server"
+ Nova CLI help should only use one of "instance"/"server"
description: updated
Andrew Laski (alaski) wrote :

We should go with server over instance. Instance is an internal concept to Nova while server is the consumer understanding of things. Also:

$ nova help | grep "instance" | wc -l
8
$ nova help | grep "server" | wc -l
47

Changed in python-novaclient:
status: New → Confirmed
importance: Undecided → Low

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

Changed in python-novaclient:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/47859
Committed: http://github.com/openstack/python-novaclient/commit/aee366cc500d8301aadaf4ecd0d234806b7b30cd
Submitter: Jenkins
Branch: master

commit aee366cc500d8301aadaf4ecd0d234806b7b30cd
Author: Jakub Ruzicka <email address hidden>
Date: Mon Sep 23 17:38:51 2013 +0200

    Make nova CLI use term "server" where possible

    nova client was using terms "server" and "instance" interchangeably
    which was very confusing.

    This patch uses "server" where possible without touching the API.

    Note that there are actions (instance-action, instance-action-list) and
    arguments (--instance-name, --num-instances, ...) with "instance" in their
    name which can't be changed easily.

    Closes bug 1156648

    Change-Id: I0570aa1c4dc9ad1852af307a2a4896f16073a6ab

Changed in python-novaclient:
status: In Progress → Fix Committed
Melanie Witt (melwitt) wrote :

novaclient 2.16.0 released on 2/26/2014

Changed in python-novaclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers