← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1723120] [NEW] Copy-paste style error in documentation "Compute schedulers"

 

Public bug reported:

- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [x] I have a fix to the document that I can paste below including example: input and output.

Description
===========
There is a (copy-paste style) error in this document chapter:
https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#example-specify-compute-hosts-with-ssds
The below command output does not reflect correctly the changes of the previous command:
'node1' was previously added to the list of hosts in the aggregate, but it is not displayed in the printout.

Expected result
===============

$ openstack aggregate add host 1 node2
+-------------------+--------------------------------------------------+
| Field             | Value                                            |
+-------------------+--------------------------------------------------+
| availability_zone | nova                                             |
| created_at        | 2016-12-22T07:31:13.000000                       |
| deleted           | False                                            |
| deleted_at        | None                                             |
| hosts             | [u'node1', u'node2']                                       |
| id                | 1                                                |
| metadata          | {u'ssd': u'true', u'availability_zone': u'nova'} |
| name              | fast-io                                          |
| updated_at        | None                                             |
+-------------------+--------------------------------------------------+

Actual result
=============

$ openstack aggregate add host 1 node2
+-------------------+--------------------------------------------------+
| Field             | Value                                            |
+-------------------+--------------------------------------------------+
| availability_zone | nova                                             |
| created_at        | 2016-12-22T07:31:13.000000                       |
| deleted           | False                                            |
| deleted_at        | None                                             |
| hosts             | [u'node2']                                       |
| id                | 1                                                |
| metadata          | {u'ssd': u'true', u'availability_zone': u'nova'} |
| name              | fast-io                                          |
| updated_at        | None                                             |
+-------------------+--------------------------------------------------+

-----------------------------------
Release: 16.0.0.0rc2.dev691 on 2017-10-11 02:43
SHA: 219c2660cdc936c9d1469d7629645e05a511fbf0
Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/admin/configuration/schedulers.rst
URL: https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html

** Affects: nova
     Importance: Undecided
         Status: Confirmed


** Tags: docs low-hanging-fruit

** Description changed:

  - [ ] This doc is inaccurate in this way: ______
  - [ ] This is a doc addition request.
- - [x] I have a fix to the document that I can paste below including example: input and output. 
+ - [x] I have a fix to the document that I can paste below including example: input and output.
  
  Description
  ===========
  There is a (copy-paste style) error in this document chapter:
  https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#example-specify-compute-hosts-with-ssds
- The below command output does not reflect correctly the result of the previous one: 
+ The below command output does not reflect correctly the changes of the previous command:
  'node1' was previously added to the list of hosts in the aggregate, but it is not displayed in the printout.
  
  Expected result
  ===============
  
  $ openstack aggregate add host 1 node2
  +-------------------+--------------------------------------------------+
  | Field             | Value                                            |
  +-------------------+--------------------------------------------------+
  | availability_zone | nova                                             |
  | created_at        | 2016-12-22T07:31:13.000000                       |
  | deleted           | False                                            |
  | deleted_at        | None                                             |
  | hosts             | [u'node1', u'node2']                                       |
  | id                | 1                                                |
  | metadata          | {u'ssd': u'true', u'availability_zone': u'nova'} |
  | name              | fast-io                                          |
  | updated_at        | None                                             |
  +-------------------+--------------------------------------------------+
  
  Actual result
  =============
  
  $ openstack aggregate add host 1 node2
  +-------------------+--------------------------------------------------+
  | Field             | Value                                            |
  +-------------------+--------------------------------------------------+
  | availability_zone | nova                                             |
  | created_at        | 2016-12-22T07:31:13.000000                       |
  | deleted           | False                                            |
  | deleted_at        | None                                             |
  | hosts             | [u'node2']                                       |
  | id                | 1                                                |
  | metadata          | {u'ssd': u'true', u'availability_zone': u'nova'} |
  | name              | fast-io                                          |
  | updated_at        | None                                             |
  +-------------------+--------------------------------------------------+
  
- 
  -----------------------------------
  Release: 16.0.0.0rc2.dev691 on 2017-10-11 02:43
  SHA: 219c2660cdc936c9d1469d7629645e05a511fbf0
  Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/admin/configuration/schedulers.rst
  URL: https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1723120

Title:
  Copy-paste style error in documentation "Compute schedulers"

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  - [ ] This doc is inaccurate in this way: ______
  - [ ] This is a doc addition request.
  - [x] I have a fix to the document that I can paste below including example: input and output.

  Description
  ===========
  There is a (copy-paste style) error in this document chapter:
  https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#example-specify-compute-hosts-with-ssds
  The below command output does not reflect correctly the changes of the previous command:
  'node1' was previously added to the list of hosts in the aggregate, but it is not displayed in the printout.

  Expected result
  ===============

  $ openstack aggregate add host 1 node2
  +-------------------+--------------------------------------------------+
  | Field             | Value                                            |
  +-------------------+--------------------------------------------------+
  | availability_zone | nova                                             |
  | created_at        | 2016-12-22T07:31:13.000000                       |
  | deleted           | False                                            |
  | deleted_at        | None                                             |
  | hosts             | [u'node1', u'node2']                                       |
  | id                | 1                                                |
  | metadata          | {u'ssd': u'true', u'availability_zone': u'nova'} |
  | name              | fast-io                                          |
  | updated_at        | None                                             |
  +-------------------+--------------------------------------------------+

  Actual result
  =============

  $ openstack aggregate add host 1 node2
  +-------------------+--------------------------------------------------+
  | Field             | Value                                            |
  +-------------------+--------------------------------------------------+
  | availability_zone | nova                                             |
  | created_at        | 2016-12-22T07:31:13.000000                       |
  | deleted           | False                                            |
  | deleted_at        | None                                             |
  | hosts             | [u'node2']                                       |
  | id                | 1                                                |
  | metadata          | {u'ssd': u'true', u'availability_zone': u'nova'} |
  | name              | fast-io                                          |
  | updated_at        | None                                             |
  +-------------------+--------------------------------------------------+

  -----------------------------------
  Release: 16.0.0.0rc2.dev691 on 2017-10-11 02:43
  SHA: 219c2660cdc936c9d1469d7629645e05a511fbf0
  Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/admin/configuration/schedulers.rst
  URL: https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1723120/+subscriptions


Follow ups