Project

General

Profile

Actions

Bug #13852

closed

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

Added by Stephen Benjamin about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
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

Actions #1

Updated by Stephen Benjamin about 8 years ago

  • Category set to API
  • Assignee set to Stephen Benjamin

It's just missing from the API docs.

Actions #2

Updated by The Foreman Bot about 8 years ago

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

Updated by Anonymous about 8 years ago

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

Updated by Dominic Cleal about 8 years ago

  • translation missing: en.field_release set to 145
Actions

Also available in: Atom PDF