-
Notifications
You must be signed in to change notification settings - Fork 0
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
Every action on the provider results in the api calls being output to the console. #9
Comments
Thanks for reporting and for the detailed repro! Unfortunately, we'd need to sort out access credentials for the provider before we can address issues here. Opened #16 |
adding some additional details to this as i have created my own instance of ISE in AWS. In my testing, the provider is behaving as if the TF_LOG level is set to DEBUG automatically. When I test the equivalent in TF, I don't get the same behavior so this does appear to be a bug in the bridged provider. |
Note similar issues in Meraki and pulumi/pulumi-databricks#474. |
When digging into it, it looks like this is likely coming from the go library used. That being said, I am curious why this behaves differently in the upstream provider. |
Terraform doesn't display provider stdout to the user by default, but we do. pulumi/pulumi-terraform-bridge#2489 tracks that discrepancy. |
Will fix (probably) pulumi/pulumi-ise#9 <!-- Word order above is to work around GitHub's auto-fix mechanism --!>
Will fix (probably) pulumi/pulumi-ise#9 <!-- Word order above is to work around GitHub's auto-fix mechanism --!>
Will fix (probably) pulumi/pulumi-ise#9 <!-- Word order above is to work around GitHub's auto-fix mechanism --!>
Will fix (probably) pulumi/pulumi-ise#9 <!-- Word order above is to work around GitHub's auto-fix mechanism --!>
Will fix (probably) pulumi/pulumi-ise#9 <!-- Word order above is to work around GitHub's auto-fix mechanism --!>
Will fix (probably) pulumi/pulumi-ise#9 Related to #2489 --- By not calling the redirect, all logs were shown directly to the user (as INFO logs). This gets PF to respect TF_LOG, similar to /pkg.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
I have tested pulumi/pulumi-terraform-bridge#2686 with the provider and can confirm it does fix the issue |
As tested by @zbuchheit, this has been fixed by #154. The fix will be visible to users on the next release of this provider. |
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
What happened?
While using the provider, all resources I was creating or functions I was using resulted in the corresponding api call being logged to the output.
Example
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: