Open sumancs099 opened 11 months ago
:tada: Thanks for opening your first issue here! Welcome to the community!
The actual error isn't included in this github issue, possibly because this is wrapped in a module..? Could you please give a plan file that doesn't use a module and the full error?
Also, please mention which version of PAN-OS you're using.
Thank you Shinmog!
possibly because this is wrapped in a module..? >> Yes , This is through a module. Could you please give a plan file that doesn't use a module and the full error? >> Sure , I can regenearate this without module and send you the error.
I was using a test Device group envirnment before putting those rules into an actual Firewall. Though we have 9.0 , 10.1.8.h2 Pan OS running .
Describe the bug
created by google.golang.org/grpc.(*Server).serveStreams.func1 google.golang.org/grpc@v1.32.0/server.go:857 +0x294
Error: The terraform-provider-panos_v1.11.1 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely helpful if you could report the crash with the plugin's maintainers so that it can be fixed. The output above should help diagnose the issue.
╷ │ Error: Plugin did not respond │ │ with module.Policy_Based_Forwarding["Test_2023"].panos_pbf_rule_group.this, │ on modules/panorama/pbf_rules/main.tf line 1, in resource "panos_pbf_rule_group" "this": │ 1: resource "panos_pbf_rule_group" "this" { │ │ The plugin encountered an error, and failed to respond to the │ plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may │ contain more details. ╵ [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Panorama Commit and Push) Stage "Panorama Commit and Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline ERROR: script returned exit code 1
GitHub has been notified of this commit’s build result
Finished: FAILURE
Expected behavior
I am running the PBF module and while applying it is showing the above error. But the error is not coming in PLAN.
YAML File :
Test: name: my-pbf description: "TEST" tags: "UNUSED" audit_comment: "second nat" source: zones: ["trust"] addresses: ["10.50.50.50"] users: ["any"] negate: "true" destination: addresses: ["10.80.80.80"] applications: ["any"] services: ["application-default"] forwarding: action : "discard"
Your Environment
resource "panos_pbf_rule_group" "this" {
device_group = var.device_group
position_keyword = "bottom"
position_reference = try(each.value.position_reference, null)
dynamic "rule" {
}
lifecycle { create_before_destroy = true }
}
terraform { required_version = "1.0.3" required_providers { panos = { source = "paloaltonetworks/panos" version = "1.11.1" } vault = { source = "hashicorp/vault" version = "3.8.2" } } }