Bug #5896

unable to set compute-resource's "Console passwords" option in API

Added by Dominic Cleal over 3 years ago. Updated about 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Joseph Magen
Category:API
Target version:Sprint 29
Difficulty:trivial Bugzilla link:1100344
Found in release: Pull request:https://github.com/theforeman/foreman/pull/1471
Story points-
Velocity based estimate-
Release1.6.1Release relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1100344
Description of problem:
I'm unable to set cumpute-resource's "Console passwords" option via hammer. Maybe it is there somewhere, but I can not find it.

Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140521.0

How reproducible:
always

Steps to Reproduce:
1. Try to find a way how to uncheck "Console passwords" checkbox bia hammer.
Using webUI that would be:
Infrastructure -> Compute Resources -> <your_compute_resource> [Edit] ->
-> Console passwords

Actual results:
I have not found it.

Expected results:
There should be a way to do so.

Additional info:
  1. hammer compute-resource -h
    Usage:
    hammer compute-resource [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments

Subcommands:
create Create a compute resource.
delete Delete a compute resource.
image View and manage compute resource's images
info Show an compute resource.
list List all compute resources.
update Update a compute resource.

Options:
-h, --help print help

  1. hammer compute-resource update -h
    Usage:
    hammer compute-resource update [OPTIONS]

Options:
--description DESCRIPTION
--id ID
--name NAME Name to search by
--new-name NEW_NAME
--password PASSWORD Password for RHEV, EC2, Vmware, Openstack. Secret key for EC2
--provider PROVIDER Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE
--region REGION for EC2 only
--server SERVER for Vmware
--tenant TENANT for Openstack only
--url URL URL for Libvirt, RHEV, and Openstack
--user USER Username for RHEV, EC2, Vmware, Openstack. Access Key for EC2.
--uuid UUID for RHEV, Vmware Datacenter
-h, --help print hel


Related issues

Blocks Hammer CLI - Bug #5898: unable to set compute-resource's "Console passwords" opti... Rejected 05/23/2014

Associated revisions

Revision 553a0beb
Added by Joseph Magen about 3 years ago

fixes #5896 - Set Compute Resource's 'Console passwords' option in API

Revision 223c58f5
Added by Joseph Magen about 3 years ago

fixes #5896 - Set Compute Resource's 'Console passwords' option in API

(cherry picked from commit 553a0bebf0e68fad49fad54ead2f593e1065844a)

History

#1 Updated by Dominic Cleal over 3 years ago

  • Category set to API
  • Assigned To deleted (Dominic Cleal)
  • Difficulty set to trivial

The 'set_console_password' attribute of the compute resource model is missing from the API docs in app/controllers/api/*/compute_resources_controller.rb, then this can be added in Hammer.

#2 Updated by Dominic Cleal over 3 years ago

  • Copied to Bug #5898: unable to set compute-resource's "Console passwords" option via hammer added

#3 Updated by Dominic Cleal over 3 years ago

  • Copied to deleted (Bug #5898: unable to set compute-resource's "Console passwords" option via hammer)

#4 Updated by Dominic Cleal over 3 years ago

  • Subject changed from unable to set compute-resource's "Console passwords" option via hammer to unable to set compute-resource's "Console passwords" option in API

#5 Updated by Dominic Cleal over 3 years ago

  • Blocks Bug #5898: unable to set compute-resource's "Console passwords" option via hammer added

#6 Updated by Joseph Magen over 3 years ago

  • Status changed from New to Assigned
  • Assigned To set to Joseph Magen
  • Target version set to Sprint 24

#7 Updated by Joseph Magen over 3 years ago

  • Status changed from Assigned to Ready For Testing

documentation update only to tell user how to do it
https://github.com/theforeman/foreman/pull/1471/files

#8 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 24 to Sprint 25

#9 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 25 to Sprint 26

#10 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 26 to Sprint 27

#11 Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/1471 added

#12 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 27 to Sprint 28

#13 Updated by Dmitri Dolguikh about 3 years ago

  • Target version changed from Sprint 28 to Sprint 29

#14 Updated by Joseph Magen about 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#15 Updated by Daniel Lobato Garcia about 3 years ago

  • Release set to 1.6.1

I've set this to 1.6.1 as this can be considered a bug, setting compute resource passwords is something that we were supposed to have.

Also available in: Atom PDF