From be221ecb0f6d09980052abfd867633a47b42e83e Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Mon, 4 Sep 2017 15:49:33 +0200 Subject: [PATCH] Correct examples in "Manage Compute services" documentation * "compute service set" command requires a host, not a zone * the --disable-reason flag's argument has to be quoted Change-Id: Iaf58d702b1619a66f97553cf2e47eb8c85166bf6 --- doc/source/admin/services.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/admin/services.rst b/doc/source/admin/services.rst index 648340fb07..74ee25273f 100644 --- a/doc/source/admin/services.rst +++ b/doc/source/admin/services.rst @@ -31,7 +31,7 @@ enable the ``nova-compute`` service. .. code-block:: console - $ openstack compute service set --disable --disable-reason trial log nova nova-compute + $ openstack compute service set --disable --disable-reason "trial log" compute nova-compute +----------+--------------+----------+-------------------+ | Host | Binary | Status | Disabled Reason | +----------+--------------+----------+-------------------+ @@ -64,7 +64,7 @@ enable the ``nova-compute`` service. .. code-block:: console - $ openstack compute service set --enable nova nova-compute + $ openstack compute service set --enable compute nova-compute +----------+--------------+---------+ | Host | Binary | Status | +----------+--------------+---------+