Bug 1394464 - Typo in command for setting deploy_kernel and deploy_ramdisk images
Summary: Typo in command for setting deploy_kernel and deploy_ramdisk images
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 10.0 (Newton)
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Dan Macpherson
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-12 10:29 UTC by Punit Kundal
Modified: 2017-01-17 16:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 16:22:46 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Punit Kundal 2016-11-12 10:29:46 UTC
Description of problem:

While scaling out an OSP deployment, we have to specify deploy_kernel and deploy_ramdisk images for the node.

For this purpose, we need to use "openstack baremetal node set" command

Documentation for osp 10 beta specifies this command as 

openstack baremetal node set --driver_info deploy_kernel='09b40e3d-0382-4925-a356-3a4b4f36b514' [NODE UUID]

upon running it: 

openstack baremetal node set --driver_info deploy_kernel='4f7f59f8-f5c1-4b3c-8a24-cfe39521a2a4' d2e18776-9bae-4977-bca7-72807da32106

It fails as below:

usage: openstack baremetal node set [-h] [--instance-uuid <uuid>]
                                    [--name <name>] [--driver <driver>]
                                    [--network-interface <network_interface>]
                                    [--resource-class <resource_class>]
                                    [--target-raid-config <target_raid_config>]
                                    [--property <key=value>]
                                    [--extra <key=value>]
                                    [--driver-info <key=value>]
                                    [--instance-info <key=value>]
                                    <node>
openstack baremetal node set: error: unrecognized arguments: --driver_info d2e18776-9bae-4977-bca7-72807da32106

The correct command is 

openstack baremetal node set --driver-info deploy_kernel='4f7f59f8-f5c1-4b3c-8a24-cfe39521a2a4' d2e18776-9bae-4977-bca7-72807da32106

So the "_" in "--driver_info" should be replaced with "-" i.e. "--driver-info"

Link to documentation:
https://access.redhat.com/documentation/en/red-hat-openstack-platform/10-beta/paged/director-installation-and-usage/chapter-7-scaling-the-overcloud

Section 7.1 Adding Additional Nodes


Note You need to log in before you can comment on or make changes to this bug.