Azure / Azure/azure-quickstart-templates

workspaces/dataSources fail to deploy inconsistently.

Open
#6,157 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

Hello,
I don't have a problem with a specific template, but just don't know where else to ask for advice.
I'm having trouble deploying some Windows and Linux "Microsoft.OperationalInsights/workspaces/dataSources".

I made a template to deploy them and all looked to have deployed successfully. No errors or anything.
.. but when I looked into it - several were just missing.
I made a small script to deploy, query and delete the datasources in a loop.. and below are the results. The inconsistency with which they are "failing" is troublesome.
If there was something wrong with the template.. it should have failed.
If I wrote a nonsense it should have been failing the same way every time.... but I don't see neither of that.

Number of data source per type expected values:
>> AzureActivityLog:0
>> CustomLog:0
>> LinuxPerformanceObject:2
>> LinuxSyslog:1
>> WindowsEvent:4
>> WindowsPerformanceCounter:18

Reality:

_________________________________________

Loop counter: 1

26 April 2019 13:58:20

#### DataSources ####

>> AzureActivityLog:0

>> CustomLog:0

>> LinuxPerformanceObject:1

LinuxPerf1

>> LinuxSyslog:1

Syslog1

>> WindowsEvent:2

WindowsEvent0,WindowsEvent1

>> WindowsPerformanceCounter:18

WindowsPerfCounter0,WindowsPerfCounter1,WindowsPerfCounter10,WindowsPerfCounter11,WindowsPerfCounter12,WindowsPerfCounter13,WindowsPerfCounter14,WindowsPerfCounter15,WindowsPerfCounter16,WindowsPerfCounter17,WindowsPerfCounter2,WindowsPerfCounter3,WindowsPerfCounter4,WindowsPerfCounter5,WindowsPerfCounter6,WindowsPerfCounter7,WindowsPerfCounter8,WindowsPerfCounter9

_________________________________________

Loop counter: 2

26 April 2019 14:01:34

#### DataSources ####

>> AzureActivityLog:0

>> CustomLog:0

>> LinuxPerformanceObject:2

LinuxPerf1,LinuxPerf2

>> LinuxSyslog:1

Syslog1

>> WindowsEvent:2

WindowsEvent0,WindowsEvent1

>> WindowsPerformanceCounter:18

WindowsPerfCounter0,WindowsPerfCounter1,WindowsPerfCounter10,WindowsPerfCounter11,WindowsPerfCounter12,WindowsPerfCounter13,WindowsPerfCounter14,WindowsPerfCounter15,WindowsPerfCounter16,WindowsPerfCounter17,WindowsPerfCounter2,WindowsPerfCounter3,WindowsPerfCounter4,WindowsPerfCounter5,WindowsPerfCounter6,WindowsPerfCounter7,WindowsPerfCounter8,WindowsPerfCounter9

_________________________________________

Loop counter: 3

26 April 2019 14:04:36

#### DataSources ####

>> AzureActivityLog:0

>> CustomLog:0

>> LinuxPerformanceObject:1

LinuxPerf1

>> LinuxSyslog:0

>> WindowsEvent:2

WindowsEvent0,WindowsEvent1

>> WindowsPerformanceCounter:18

WindowsPerfCounter0,WindowsPerfCounter1,WindowsPerfCounter10,WindowsPerfCounter11,WindowsPerfCounter12,WindowsPerfCounter13,WindowsPerfCounter14,WindowsPerfCounter15,WindowsPerfCounter16,WindowsPerfCounter17,WindowsPerfCounter2,WindowsPerfCounter3,WindowsPerfCounter4,WindowsPerfCounter5,WindowsPerfCounter6,WindowsPerfCounter7,WindowsPerfCounter8,WindowsPerfCounter9

_________________________________________

Loop counter: 4

26 April 2019 14:08:26

#### DataSources ####

>> AzureActivityLog:0

>> CustomLog:0

>> LinuxPerformanceObject:1

LinuxPerf2

>> LinuxSyslog:1

Syslog1

>> WindowsEvent:2

WindowsEvent0,WindowsEvent1

>> WindowsPerformanceCounter:18

WindowsPerfCounter0,WindowsPerfCounter1,WindowsPerfCounter10,WindowsPerfCounter11,WindowsPerfCounter12,WindowsPerfCounter13,WindowsPerfCounter14,WindowsPerfCounter15,WindowsPerfCounter16,WindowsPerfCounter17,WindowsPerfCounter2,WindowsPerfCounter3,WindowsPerfCounter4,WindowsPerfCounter5,WindowsPerfCounter6,WindowsPerfCounter7,WindowsPerfCounter8,WindowsPerfCounter9

_________________________________________

Loop counter: 5

26 April 2019 14:12:08

#### DataSources ####

>> AzureActivityLog:0

>> CustomLog:0

>> LinuxPerformanceObject:2

LinuxPerf1,LinuxPerf2

>> LinuxSyslog:1

Syslog1

>> WindowsEvent:2

WindowsEvent0,WindowsEvent1

>> WindowsPerformanceCounter:18

WindowsPerfCounter0,WindowsPerfCounter1,WindowsPerfCounter10,WindowsPerfCounter11,WindowsPerfCounter12,WindowsPerfCounter13,WindowsPerfCounter14,WindowsPerfCounter15,WindowsPerfCounter16,WindowsPerfCounter17,WindowsPerfCounter2,WindowsPerfCounter3,WindowsPerfCounter4,WindowsPerfCounter5,WindowsPerfCounter6,WindowsPerfCounter7,WindowsPerfCounter8,WindowsPerfCounter9

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the deployment template and the loop-based deploy, query, and delete script described in the report. Reproduce the inconsistent Microsoft.OperationalInsights/workspaces/dataSources results and compare each requested type with the queried resources. The issue is done when the cause is identified and deployments reliably produce all expected data sources.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.