Bug #28130
closed
[GCE] Always any selected image type is being selected as f1-micro.
Added by Jitendra Yejare almost 5 years ago.
Updated over 4 years ago.
Category:
Compute resources - GCE
|
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.
- 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.
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?
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
- 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.
- 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
- Priority changed from High to Normal
Modifying priority to Normal as on edit form it is not showing correct selected value.
- Bugzilla link set to 1775616
- Assignee set to Kavita Gaikwad
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7202 added
- Fixed in Releases 2.0.0 added
- Status changed from Ready For Testing to Closed
- Pull request https://github.com/theforeman/foreman/pull/7267 added
- Fixed in Releases 1.24.1 added
Also available in: Atom
PDF