Project

General

Profile

Bug #13852

no (obvious?) way how to configure user data support for OpenStack image via hammer

Added by Stephen Benjamin over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1247611
Description of problem:
There is no (obvious?) way how to configure user data support for OpenStack image via hammer

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150721.7-Satellite-x86_64

How reproducible:
always

Steps to Reproduce:
1. Configure OpenStack compute resource
2. Infrastructure -> Compute resources -> <your_cr> -> Images -> [New Image]
(or edit existing one)
Note that there is a "User data" checkbox
3. Now check hammer command for this functionality:

  1. hammer --username 'admin' --password 'changeme' compute-resource image create -h
    Usage:
    hammer compute-resource image create [OPTIONS]
Options:
--architecture ARCHITECTURE_NAME Architecture name
--architecture-id ARCHITECTURE_ID
--compute-resource COMPUTE_RESOURCE_NAME Compute resource name
--compute-resource-id COMPUTE_RESOURCE_ID
--name NAME
--operatingsystem OPERATINGSYSTEM_TITLE Operating system title
--operatingsystem-id OPERATINGSYSTEM_ID
--username USERNAME
--uuid UUID
-h, --help print help
  1. hammer --username 'admin' --password 'changeme' compute-resource image update -h
    Usage:
    hammer compute-resource image update [OPTIONS]

Options:
--architecture ARCHITECTURE_NAME Architecture name
--architecture-id ARCHITECTURE_ID
--compute-resource COMPUTE_RESOURCE_NAME Compute resource name
--compute-resource-id COMPUTE_RESOURCE_ID
--id ID
--name NAME Name to search by
--new-name NEW_NAME
--operatingsystem OPERATINGSYSTEM_TITLE Operating system title
--operatingsystem-id OPERATINGSYSTEM_ID
--username USERNAME
--uuid UUID
-h, --help print help

Actual results:
There is no way how to configure user data support

Expected results:
There should be a way

Associated revisions

Revision 1cd4a22d (diff)
Added by Stephen Benjamin over 3 years ago

fixes #13852 - add user_data to images api docs

Revision 0aed1d4e (diff)
Added by Stephen Benjamin over 3 years ago

fixes #13852 - add user_data to images api docs

(cherry picked from commit 1cd4a22df2b4a34ea8a03150b1bd406494587ed3)

Revision 6ad7edcc (diff)
Added by Stephen Benjamin over 3 years ago

fixes #13852 - add user_data to images api docs

(cherry picked from commit 1cd4a22df2b4a34ea8a03150b1bd406494587ed3)

History

#1 Updated by Stephen Benjamin over 3 years ago

  • Category set to API
  • Assignee set to Stephen Benjamin

It's just missing from the API docs.

#2 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3222 added

#3 Updated by Anonymous over 3 years ago

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

#4 Updated by Dominic Cleal over 3 years ago

  • Legacy Backlogs Release (now unused) set to 145

Also available in: Atom PDF