Project

General

Profile

Actions

Bug #28130

closed

[GCE] Always any selected image type is being selected as f1-micro.

Added by Jitendra Yejare almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources - GCE
Target version:
-
Fixed in Releases:

Description

Description:
-------------------
GCE hammer always selects f1-micro image type regardless of requested image type,

How Reproducible:
-------------------
Always

Steps:
-------------------
1. Provision a GCE host from a hammer with the image anything other than f1-micro type.
  1. hammer host create --architecture-id 1 --build true --compute-attributes 'machine_type=n1-standard-2, network=default, associate_external_ip=true' --compute-resource-id 1 --domain-id 1 --image-id 1 --operatingsystem-id 1 --provision-method image --puppet-ca-proxy-id 1 --puppet-environment-id 1 --puppet-proxy-id 1 --root-password changeme --volume 'size_gb=13, size_gb=11' --location-id 2 --organization-id 1 --name gcePlus1

Actual Behavior:
-------------------
1. The GCE Host is provisioned but the image type in provisioned is f1-micro always.

Expected Behavior:
--------------------
1. The GCE host should be provisioned with the requested image type in the hammer command.

Actions #1

Updated by Oleh Fedorenko almost 5 years ago

Hi Jitendra,

have you tried to create a vm the same way but via direct API calls with the same parameters?

If so, does it behaves the same way?

Actions #2

Updated by Jitendra Yejare almost 5 years ago

Oleh Fedorenko wrote:

Hi Jitendra,

have you tried to create a vm the same way but via direct API calls with the same parameters?

If so, does it behaves the same way?

I have not tried GCE Host provisioning from API yet but will try and reply with my comments here. Thanks

Actions #3

Updated by Kavita Gaikwad almost 5 years ago

  • Triaged changed from No to Yes

I have tested this scenario and found that this is not an issue on Hammer side. It should be fixed in Foreman core.

Actions #4

Updated by Oleh Fedorenko almost 5 years ago

  • Project changed from Hammer CLI to Foreman
  • Subject changed from [Hammer] [GCE] Always any selected image type is being selected as f1-micro. to [GCE] Always any selected image type is being selected as f1-micro.
  • Category changed from Hosts to Compute resources - GCE
Actions #5

Updated by Kavita Gaikwad almost 5 years ago

  • Priority changed from High to Normal

Modifying priority to Normal as on edit form it is not showing correct selected value.

Actions #6

Updated by Kavita Gaikwad almost 5 years ago

  • Bugzilla link set to 1775616
Actions #7

Updated by Kavita Gaikwad almost 5 years ago

  • Assignee set to Kavita Gaikwad
Actions #8

Updated by The Foreman Bot almost 5 years ago

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

Updated by The Foreman Bot almost 5 years ago

  • Fixed in Releases 2.0.0 added
Actions #10

Updated by Kavita Gaikwad almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #11

Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/7267 added
Actions #12

Updated by Anonymous almost 5 years ago

  • Fixed in Releases 1.24.1 added
Actions

Also available in: Atom PDF