You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "HeinzM (via GitHub)" <gi...@apache.org> on 2025/10/08 08:19:15 UTC

Re: [PR] Fix creation of firewall & Egress firewall rules when created in a project [cloudstack-terraform-provider]

HeinzM commented on PR #198:
URL: https://github.com/apache/cloudstack-terraform-provider/pull/198#issuecomment-3380289127

   Tested the creation of a talos cluster with
   Cloudstack: 4.21.0
   cloudstack-terraform-provider: 0.6.0.-rc2
   siderolabs-talos-provider: 0.9.0
   
   `module.k8s.talos_machine_secrets.talos: Creating...
   module.k8s.cloudstack_network.k8s_nw_01: Creating...
   module.k8s.cloudstack_network.k8s_nw_01: Creation complete after 1s [id=103adc96-9c51-446b-ac93-055f098364b3]
   module.k8s.cloudstack_ipaddress.k8s_ips01: Creating...
   module.k8s.talos_machine_secrets.talos: Creation complete after 2s [id=machine_secrets]
   module.k8s.data.talos_client_configuration.talos: Reading...
   module.k8s.data.talos_machine_configuration.worker: Reading...
   module.k8s.data.talos_client_configuration.talos: Read complete after 0s [id=test-cluster-mm]
   module.k8s.data.talos_machine_configuration.worker: Read complete after 0s [id=test-cluster-mm]
   module.k8s.cloudstack_ipaddress.k8s_ips01: Creation complete after 1s [id=f4f4162d-510c-4ff2-b630-c82eab3717a1]
   module.k8s.data.talos_machine_configuration.controller[0]: Reading...
   module.k8s.data.talos_machine_configuration.controller[0]: Read complete after 0s [id=test-cluster-mm]
   module.k8s.cloudstack_instance.controller[0]: Creating...
   module.k8s.cloudstack_instance.controller[0]: Still creating... [10s elapsed]
   module.k8s.cloudstack_instance.controller[0]: Still creating... [20s elapsed]
   module.k8s.cloudstack_instance.controller[0]: Still creating... [30s elapsed]
   module.k8s.cloudstack_instance.controller[0]: Still creating... [40s elapsed]
   module.k8s.cloudstack_instance.controller[0]: Creation complete after 46s [id=9dc18c37-d743-49f4-ae97-b19a952efe17]
   module.k8s.cloudstack_loadbalancer_rule.k8s_lb_k8s_api: Creating...
   module.k8s.cloudstack_loadbalancer_rule.k8s_lb_talos_api: Creating...
   module.k8s.cloudstack_instance.worker[1]: Creating...
   module.k8s.cloudstack_instance.worker[0]: Creating...
   module.k8s.cloudstack_firewall.default_lbfw01: Creating...
   module.k8s.cloudstack_egress_firewall.default_egress_fw_01: Creating...
   module.k8s.cloudstack_loadbalancer_rule.k8s_lb_k8s_api: Still creating... [10s elapsed]
   module.k8s.cloudstack_loadbalancer_rule.k8s_lb_talos_api: Still creating... [10s elapsed]
   module.k8s.cloudstack_instance.worker[1]: Still creating... [10s elapsed]
   module.k8s.cloudstack_instance.worker[0]: Still creating... [10s elapsed]
   module.k8s.cloudstack_egress_firewall.default_egress_fw_01: Still creating... [10s elapsed]
   module.k8s.cloudstack_loadbalancer_rule.k8s_lb_k8s_api: Creation complete after 10s [id=480f288c-06d2-4d9a-97c4-b5abf02fdf00]
   module.k8s.cloudstack_instance.worker[0]: Creation complete after 15s [id=1054386c-00e5-4a35-98b1-0ca3e57deb4e]
   module.k8s.cloudstack_loadbalancer_rule.k8s_lb_talos_api: Creation complete after 16s [id=f20ae740-6f1d-4a69-b7b1-821ac4222048]
   module.k8s.cloudstack_instance.worker[1]: Still creating... [20s elapsed]
   module.k8s.cloudstack_instance.worker[1]: Creation complete after 28s [id=82b4ddd2-e297-439c-94ff-cd1af1276b22]
   module.k8s.talos_machine_bootstrap.this: Creating...
   module.k8s.talos_machine_bootstrap.this: Creation complete after 0s [id=machine_bootstrap]
   module.k8s.talos_cluster_kubeconfig.kubeconfig: Creating...
   module.k8s.talos_cluster_kubeconfig.kubeconfig: Creation complete after 0s [id=test-cluster-mm]
   module.k8s.local_file.kubeconfig: Creating...
   module.k8s.local_file.kubeconfig: Creation complete after 0s [id=dd623c39ef9e7a1af82c8c2962ef66f27b9fb1df]
   ╷
   │ Error: Provider produced inconsistent result after apply
   │ 
   │ When applying changes to module.k8s.cloudstack_egress_firewall.default_egress_fw_01, provider "module.k8s.provider[\"local/cloudstack/cloudstack\"]" produced an unexpected new value: root object was present, but now absent.
   │ 
   │ This is a bug in the provider, which should be reported in the provider's own issue tracker.
   ╵
   ╷
   │ Error: Provider produced inconsistent result after apply
   │ 
   │ When applying changes to module.k8s.cloudstack_firewall.default_lbfw01, provider "module.k8s.provider[\"local/cloudstack/cloudstack\"]" produced an unexpected new value: root object was present, but now absent.
   │ 
   │ This is a bug in the provider, which should be reported in the provider's own issue tracker.`
   
   Tested before with the self-build 0.5.0 after the PR was merged. Same result.
   The error still exists.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org