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

AIO - Manufacturing JumpStart - No data in ADX #2317

Closed
jochemdevos opened this issue Dec 4, 2023 · 7 comments
Closed

AIO - Manufacturing JumpStart - No data in ADX #2317

jochemdevos opened this issue Dec 4, 2023 · 7 comments
Assignees
Labels
azure_iot_operations Azure IoT Operations related

Comments

@jochemdevos
Copy link

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?
https://azurearcjumpstart.com/azure_arc_jumpstart/azure_edge_iot_ops/aio_manufacturing

Describe the issue or the bug
After deploying the jumpstart, services seem to start correctly as there's data being shown in the MQTT explorer as well as the influxdb/grafana dashboard. However Data explorer cluster does not receive any data, as well as the two topic subscriptions (storage account and eventhub).

When looking at the custom topic resource 'aiotopic42fd6', I see no traffic in the monitoring widget.

When looking at the event grid namespace 'aioeventgridns42fd6', I see traffic when checking the MQTT bullet as well as some publishing errors.

image
image

The routing pane of grid namespace complains of lack of permissions

image

However I believe the appropiate permission is in place:
image

We did have a failed initialization via de CLI provisioning. We didn't yet have the Resource providers enabled for the subscription, resulting in a failed bootstrap on the VM.

Any advice for me?

Kind regards,
Jochem

@jochemdevos jochemdevos added the triage issue or feature up for triage label Dec 4, 2023
Copy link

github-actions bot commented Dec 4, 2023

Hey friend! Thanks for opening this issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on the Azure Arc Jumpstart.

@sebassem
Copy link
Contributor

sebassem commented Dec 5, 2023

@jochemdevos Thanks for submitting this issue, can you please share a screenshot of your adx dashboard ? I tried to repro the issue but I can see data flowing into data explorer. Also do you see the resource providers in the Azure portal ? they are registered during the logon scripts not the bootstrap.

@jochemdevos
Copy link
Author

@jochemdevos Thanks for submitting this issue, can you please share a screenshot of your adx dashboard ? I tried to repro the issue but I can see data flowing into data explorer. Also do you see the resource providers in the Azure portal ? they are registered during the logon scripts not the bootstrap.

No data:

image

data connection:
image

Afaik it should flow eventgrid -> topic -> eventhub. But it seems to not publish to topic. The eventgrid data sender seems to be misconfigured (by Default it's on 'None' but I cannot set it to System managed identity with the error displayed in the screenshot in OP).

@sebassem
Copy link
Contributor

sebassem commented Dec 6, 2023

@jochemdevos can you share the C:\AIO\Logs\LogonScript.log ?

@jochemdevos
Copy link
Author

@sebassem Here you go. Ive justed redacted my email adress in tags and the printing of all subscriptions after login.
LogonScript_SomeRedacted.log

@sebassem
Copy link
Contributor

sebassem commented Dec 6, 2023

@jochemdevos I see errors in registering the resource providers, it seems the service principal doesn't have owner permissions on the subscription. Can you grant owner permissions and perform a fresh deployment ?

@jochemdevos
Copy link
Author

@sebassem Working now.

  • I've forked the repo and emptied the AzureProviders aioConfig as we already have the providers registered on subscription
  • Instead of Owner role on subscription I've used Contributor role on Resource Group for the SP (shared R&D subscription).
  • Did a clean deployment (also removed hidden resources in Azure).

Can see data now in ADX and Grafana. Many thanks :)

@sebassem sebassem self-assigned this Dec 7, 2023
@sebassem sebassem added azure_iot_operations Azure IoT Operations related and removed triage issue or feature up for triage labels Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure_iot_operations Azure IoT Operations related
Projects
None yet
Development

No branches or pull requests

2 participants