<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PANOS Provider crashing if EDLs are used in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-provider-crashing-if-edls-are-used/m-p/485426#M3018</link>
    <description>&lt;P&gt;Hi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using Terraform and using the PANOS Provider 1.10.0 but since we're using EDLs the provider crashes with the following...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remove EDLs are try do a terraform plan then it succeeds, is someone able to assist?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stack trace from the terraform-provider-panos_v1.10.0 plugin:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;panic: runtime error: index out of range [2] with length 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;goroutine 52 [running]:&lt;/P&gt;&lt;P&gt;github.com/terraform-providers/terraform-provider-panos/panos.parseEdlId(0xc000bcea60, 0x1a, 0x139fb20, 0x0, 0x15, 0x153fc1a, 0xb, 0x139fb20)&lt;/P&gt;&lt;P&gt;github.com/terraform-providers/terraform-provider-panos/panos/edl.go:433 +0xd7&lt;/P&gt;&lt;P&gt;github.com/terraform-providers/terraform-provider-panos/panos.readEdl(0xc000902cb0, 0x152fa40, 0xc00000a1e0, 0xc000902cb0, 0x0)&lt;/P&gt;&lt;P&gt;github.com/terraform-providers/terraform-provider-panos/panos/edl.go:203 +0xb7&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc00062f900, 0xc000be9d60, 0x152fa40, 0xc00000a1e0, 0xc000209340, 0x0, 0x0)&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk@v1.17.2/helper/schema/resource.go:470 +0x12e&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc000208358, 0x17723d0, 0xc000335f80, 0xc000bd1680, 0xc000208358, 0xc000335f80, 0xc0004e4ba0)&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/helper/plugin/grpc_provider.go:535 +0x3dd&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x14ea840, 0xc000208358, 0x17723d0, 0xc000335f80, 0xc000bd1620, 0x0, 0x17723d0, 0xc000335f80, 0xc000564340, 0x197)&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/tfplugin5/tfplugin5.pb.go:3269 +0x214&lt;/P&gt;&lt;P&gt;google.golang.org/grpc.(*Server).processUnaryRPC(0xc0002c76c0, 0x177b938, 0xc00038b980, 0xc0000b2f00, 0xc00036c9f0, 0x1e97af0, 0x0, 0x0, 0x0)&lt;/P&gt;&lt;P&gt;google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b&lt;/P&gt;&lt;P&gt;google.golang.org/grpc.(*Server).handleStream(0xc0002c76c0, 0x177b938, 0xc00038b980, 0xc0000b2f00, 0x0)&lt;/P&gt;&lt;P&gt;google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c&lt;/P&gt;&lt;P&gt;google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc0000384d0, 0xc0002c76c0, 0x177b938, 0xc00038b980, 0xc0000b2f00)&lt;/P&gt;&lt;P&gt;google.golang.org/grpc@v1.32.0/server.go:859 +0xab&lt;/P&gt;&lt;P&gt;created by google.golang.org/grpc.(*Server).serveStreams.func1&lt;/P&gt;&lt;P&gt;google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: The terraform-provider-panos_v1.10.0 plugin crashed!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is always indicative of a bug within the plugin. It would be immensely&lt;/P&gt;&lt;P&gt;helpful if you could report the crash with the plugin's maintainers so that it&lt;/P&gt;&lt;P&gt;can be fixed. The output above should help diagnose the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/46544"&gt;@gfreeman&lt;/a&gt;&amp;nbsp;I can see that you have previously been the person to commit to this in GitHub. Tagging for your visibility&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2022 13:22:19 GMT</pubDate>
    <dc:creator>jamieleon</dc:creator>
    <dc:date>2022-05-06T13:22:19Z</dc:date>
    <item>
      <title>PANOS Provider crashing if EDLs are used</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-provider-crashing-if-edls-are-used/m-p/485426#M3018</link>
      <description>&lt;P&gt;Hi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using Terraform and using the PANOS Provider 1.10.0 but since we're using EDLs the provider crashes with the following...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remove EDLs are try do a terraform plan then it succeeds, is someone able to assist?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stack trace from the terraform-provider-panos_v1.10.0 plugin:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;panic: runtime error: index out of range [2] with length 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;goroutine 52 [running]:&lt;/P&gt;&lt;P&gt;github.com/terraform-providers/terraform-provider-panos/panos.parseEdlId(0xc000bcea60, 0x1a, 0x139fb20, 0x0, 0x15, 0x153fc1a, 0xb, 0x139fb20)&lt;/P&gt;&lt;P&gt;github.com/terraform-providers/terraform-provider-panos/panos/edl.go:433 +0xd7&lt;/P&gt;&lt;P&gt;github.com/terraform-providers/terraform-provider-panos/panos.readEdl(0xc000902cb0, 0x152fa40, 0xc00000a1e0, 0xc000902cb0, 0x0)&lt;/P&gt;&lt;P&gt;github.com/terraform-providers/terraform-provider-panos/panos/edl.go:203 +0xb7&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc00062f900, 0xc000be9d60, 0x152fa40, 0xc00000a1e0, 0xc000209340, 0x0, 0x0)&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk@v1.17.2/helper/schema/resource.go:470 +0x12e&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc000208358, 0x17723d0, 0xc000335f80, 0xc000bd1680, 0xc000208358, 0xc000335f80, 0xc0004e4ba0)&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/helper/plugin/grpc_provider.go:535 +0x3dd&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x14ea840, 0xc000208358, 0x17723d0, 0xc000335f80, 0xc000bd1620, 0x0, 0x17723d0, 0xc000335f80, 0xc000564340, 0x197)&lt;/P&gt;&lt;P&gt;github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/tfplugin5/tfplugin5.pb.go:3269 +0x214&lt;/P&gt;&lt;P&gt;google.golang.org/grpc.(*Server).processUnaryRPC(0xc0002c76c0, 0x177b938, 0xc00038b980, 0xc0000b2f00, 0xc00036c9f0, 0x1e97af0, 0x0, 0x0, 0x0)&lt;/P&gt;&lt;P&gt;google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b&lt;/P&gt;&lt;P&gt;google.golang.org/grpc.(*Server).handleStream(0xc0002c76c0, 0x177b938, 0xc00038b980, 0xc0000b2f00, 0x0)&lt;/P&gt;&lt;P&gt;google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c&lt;/P&gt;&lt;P&gt;google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc0000384d0, 0xc0002c76c0, 0x177b938, 0xc00038b980, 0xc0000b2f00)&lt;/P&gt;&lt;P&gt;google.golang.org/grpc@v1.32.0/server.go:859 +0xab&lt;/P&gt;&lt;P&gt;created by google.golang.org/grpc.(*Server).serveStreams.func1&lt;/P&gt;&lt;P&gt;google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: The terraform-provider-panos_v1.10.0 plugin crashed!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is always indicative of a bug within the plugin. It would be immensely&lt;/P&gt;&lt;P&gt;helpful if you could report the crash with the plugin's maintainers so that it&lt;/P&gt;&lt;P&gt;can be fixed. The output above should help diagnose the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/46544"&gt;@gfreeman&lt;/a&gt;&amp;nbsp;I can see that you have previously been the person to commit to this in GitHub. Tagging for your visibility&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 13:22:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-provider-crashing-if-edls-are-used/m-p/485426#M3018</guid>
      <dc:creator>jamieleon</dc:creator>
      <dc:date>2022-05-06T13:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: PANOS Provider crashing if EDLs are used</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-provider-crashing-if-edls-are-used/m-p/485449#M3019</link>
      <description>&lt;P&gt;Myself and a colleague have looked into this and found the potential issue which we have posted below, can someone from Palo Alto please update the provider...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/330" target="_blank"&gt;https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/330&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 14:56:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-provider-crashing-if-edls-are-used/m-p/485449#M3019</guid>
      <dc:creator>jamieleon</dc:creator>
      <dc:date>2022-05-06T14:56:56Z</dc:date>
    </item>
  </channel>
</rss>

