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

az monitor data-collection rule association list: FAILURE. #5621

Open
pejuborg opened this issue Dec 9, 2022 · 2 comments
Open

az monitor data-collection rule association list: FAILURE. #5621

pejuborg opened this issue Dec 9, 2022 · 2 comments
Assignees
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team feature-request This issue requires a new behavior in the product in order be resolved. Monitor
Milestone

Comments

@pejuborg
Copy link

pejuborg commented Dec 9, 2022

Describe the bug

Command Name
az monitor data-collection rule association list Extension Name: monitor-control-service. Version: 0.3.0.

Errors:

The command failed with an unexpected error. Here is the traceback:
No value for given attribute
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 710, in _run_job
    result = list(result)
  File "/opt/az/lib/python3.10/site-packages/azure/core/paging.py", line 129, in __next__
    return next(self._page_iterator)
  File "/opt/az/lib/python3.10/site-packages/azure/core/paging.py", line 76, in __next__
    self._response = self._get_next(self.continuation_token)
  File "/home/pejub/.azure/cliextensions/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_associations_operations.py", line 104, in get_next
    request = prepare_request(next_link)
  File "/home/pejub/.azure/cliextensions/monitor-control-service/azext_amcs/vendored_sdks/amcs/operations/_data_collection_rule_associations_operations.py", line 82, in prepare_request
    'resourceUri': self._serialize.url("resource_uri", resource_uri, 'str', skip_quote=True, min_length=1),
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 652, in url
    output = self.serialize_data(data, data_type, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 760, in serialize_data
    raise ValueError("No value for given attribute")
ValueError: No value for given attribute

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az monitor data-collection rule association list

Expected Behavior

Get a list of data collection rule associations

Environment Summary

Linux-5.15.79.1-microsoft-standard-WSL2-x86_64-with-glibc2.31, Ubuntu 20.04.5 LTS
Python 3.10.8
Installer: DEB

azure-cli 2.43.0

Extensions:
monitor-control-service 0.3.0
connectedmachine 0.5.1
resource-graph 2.1.0

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

@ghost ghost added Auto-Assign Auto assign by bot Monitor labels Dec 9, 2022
@ghost ghost assigned kairu-ms Dec 9, 2022
@ghost ghost added this to the Backlog milestone Dec 9, 2022
@yonzhan yonzhan added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 9, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 9, 2022

@kairu-ms for awareness

@yonzhan yonzhan added feature-request This issue requires a new behavior in the product in order be resolved. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 2, 2023
@AllyW
Copy link
Member

AllyW commented Nov 13, 2023

@pejuborg please refer to #6431. Same parameter missing problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team feature-request This issue requires a new behavior in the product in order be resolved. Monitor
Projects
None yet
Development

No branches or pull requests

4 participants