Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Error creating Machine Catalog using a prepared image #212

Open
j7lloyd opened this issue Feb 24, 2025 · 0 comments
Open

[Bug] Error creating Machine Catalog using a prepared image #212

j7lloyd opened this issue Feb 24, 2025 · 0 comments
Labels
bug Something isn't working 🔧

Comments

@j7lloyd
Copy link

j7lloyd commented Feb 24, 2025

Describe the bug

This issue occurs only for prepared images from a citrix_image_definition that uses an image gallery in conjunction with an Azure Ephemeral OS Disk, which of course requires the following settings to be defined:

use_azure_compute_gallery = {
  replica_maximum = 10
  replica_ratio   = 40
}

The issue arises because the above configuration appears to conflict with prepared images sourced from an image gallery, as indicated by the following error message observed under the Machine Catalog "Troubleshoot" details:

The Provisioning Scheme does not need to set SharedImageGalleryReplicaMaximum when Image Version Spec uses the gallery.

In summary, the replica_maximum attribute—and possibly replica_ratio as well—should be made optional and/or not required when selecting a prepared image that already uses an image gallery.

Terraform command (import, apply, etc): apply
Resource impacted: citrix_machine_catalog

Versions

Terraform: latest
citrix/citrix provider: v1.0.11
Operation system: linux_amd64

Terraform console output


│ Error: Error creating Machine Catalog

│ with citrix_machine_catalog.this["<catalog_name>"],
│ on citrix_main.tf line 105, in resource "citrix_machine_catalog" "this":
│ 105: resource "citrix_machine_catalog" "this" {

│ TransactionId: e74285c3-c0f7-425a-af11-cb6f79d7533f
│ JobId: 0409df80-8b36-4142-bcd7-9067554f2b00
│ Error message: Failed to create the provisioning scheme because the configuration validating is not successful.

CitrixIssueId: 61200

@j7lloyd j7lloyd added the bug Something isn't working label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🔧
Projects
None yet
Development

No branches or pull requests

2 participants