Skip to content

Commit ea972c4

Browse files
authored
Merge pull request #109461 from atinb/master
Changes to Troubleshooting guide to reflect product changes
2 parents 786d84f + dc05750 commit ea972c4

File tree

1 file changed

+79
-125
lines changed

1 file changed

+79
-125
lines changed

articles/industry/agriculture/troubleshoot-azure-farmbeats.md

Lines changed: 79 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,36 @@ ms.author: v-umha
99

1010
# Troubleshoot
1111

12-
This article provides solutions to common Azure FarmBeats issues.
12+
This article provides solutions to common Azure FarmBeats issues. For additional help, contact our [Support Forum](https://social.msdn.microsoft.com/Forums/home?forum=ProjectFarmBeats) or email us at [email protected].
1313

14-
For additional help, contact us at [email protected]. Ensure to include the **deployer.log** file in your email.
14+
## Install issues
1515

16-
To download the **deployer.log** file, do the following:
16+
> [!NOTE]
17+
> If you are restarting the install because of an error, make sure to delete the Resource Group or delete all resources from the Resource Group before re-triggering the install.
1718
18-
1. Sign-in to **Azure portal** and select your subscription and Azure AD tenant.
19-
2. Launch Cloud Shell from the top navigation of the Azure portal.
20-
3. Select **Bash** as the preferred Cloud Shell experience.
21-
4. Select the highlighted icon and then, in the drop-down list, select **Download**.
19+
### Invalid Sentinel credentials
2220

23-
![Project FarmBeats](./media/troubleshoot-azure-farmbeats/download-deployer-log-1.png)
21+
The Sentinel credentials provided during install are incorrect. Restart the installation with the correct credentials.
2422

25-
5. In the next pane, enter the path to your **deployer.log** file. For example, enter **farmbeats-deployer.log**.
23+
### The regional account quota of Batch Accounts for the specified subscription has been reached
24+
25+
Increase the quota, or delete the unused batch accounts and restart the installation.
26+
27+
### Invalid resource group location
28+
29+
Make sure the Resource Group is in the same location as the Region specified during installation.
30+
31+
### Other install issues
32+
33+
Contact us with the following details:
34+
35+
- Your Subscription ID
36+
- Resource Group name
37+
- Attach the log file for the Deployment failure using the steps below:
38+
39+
1. Navigate to the Resource Group in the Azure portal.
40+
2. Select Deployments under Settings section on the left hand side.
41+
3. For every deployment that shows "Failed", click through to details and download the deployment details. Attach this file to the mail.
2642

2743
## Sensor telemetry
2844

@@ -32,13 +48,11 @@ To download the **deployer.log** file, do the following:
3248

3349
**Corrective action**:
3450

35-
1. Go to your FarmBeats Datahub resource group. 
36-
51+
1. Go to your FarmBeats Datahub resource group.
3752
2. Select the **Event Hub** (DatafeedEventHubNamespace), and then check for the number of incoming messages.
38-
39-
3. Do either of the following: 
53+
3. Do either of the following:
4054
- If there are *no incoming messages*, contact your device partner.
41-
- If there are *incoming messages*, contact [email protected]. Attach your Datahub and Accelerator logs and captured telemetry.
55+
- If there are *incoming messages*, contact us with your Datahub and Accelerator logs and captured telemetry.
4256

4357
To understand how to download logs, go to the ["Collect logs manually"](#collect-logs-manually) section.  
4458

@@ -102,7 +116,7 @@ While you're deleting a device, you might encounter one of the following common
102116

103117
**Message**: "Device is referenced in sensors: There are one or more sensors associated with the device. Delete the sensors and then delete the device."
104118

105-
**Meaning**: The device is associated with multiple sensors that are deployed in the farm.
119+
**Meaning**: The device is associated with multiple sensors that are deployed in the farm.
106120

107121
**Corrective action**:
108122

@@ -121,18 +135,16 @@ While you're deleting a device, you might encounter one of the following common
121135

122136
> [!NOTE]
123137
> You can't delete a device if sensors are associated with it. For more information about how to delete associated sensors, see the **Delete sensor** section in [Get sensor data from sensor partners](get-sensor-data-from-sensor-partner.md).
124-
125138
> Partners do not have access to delete a device or sensor. Only Admins have access to do the same.
126139
127-
128140
## Issues with jobs
129141

130142
### FarmBeats internal error
131143

132144
**Message**: "FarmBeats internal error, see troubleshooting guide for more details".
133145

134146
**Corrective action**:
135-
This issue might result from a temporary failure in the data pipeline. Create the job again. If the error persists, add the error message in a post on the FarmBeats forum, or contact [email protected].
147+
This issue might result from a temporary failure in the data pipeline. Create the job again. If the error persists, contact us with the error message / logs.
136148

137149
## Accelerator troubleshooting
138150

@@ -142,15 +154,15 @@ This issue might result from a temporary failure in the data pipeline. Create th
142154

143155
**Message**: "No matching users found."
144156

145-
**Corrective action**: Check the email ID for which you're trying to add a role assignment. The email ID must be an exact match of the ID, which is registered for that user in the Active Directory. If the error persists, add the error message in a post on the FarmBeats forum, or contact [email protected].
157+
**Corrective action**: Check the email ID for which you're trying to add a role assignment. The email ID must be an exact match of the ID, which is registered for that user in the Active Directory. If the error persists, contact us with the error message / logs.
146158

147159
### Unable to log in to Accelerator
148160

149161
**Message**: "Error: You are not authorized to call the service. Contact the administrator for authorization."
150162

151163
**Corrective action**: Ask the administrator to authorize you to access the FarmBeats deployment. This can be done by doing a POST of the RoleAssignment APIs or through the Access Control in the **Settings** pane in Accelerator.
152164

153-
If you've already been granted access and are facing this error, try again by refreshing the page. If the error persists, add the error message in a post on the FarmBeats forum, or contact [email protected].
165+
If you've already been granted access and are facing this error, try again by refreshing the page. If the error persists, contact us with the error message / logs.
154166

155167
![Project FarmBeats](./media/troubleshoot-azure-farmbeats/accelerator-troubleshooting-1.png)
156168

@@ -162,7 +174,7 @@ If you've already been granted access and are facing this error, try again by re
162174

163175
**Corrective action**: This error occurs if you leave the page idle for too long. Refresh the page.
164176

165-
If the error persists, add the error message in a post on the FarmBeats forum, or contact [email protected].
177+
If the error persists, contact us with the error message / logs.
166178

167179
**Issue**: FarmBeats Accelerator isn't showing the latest version, even after you've upgraded FarmBeatsDeployment.
168180

@@ -181,15 +193,36 @@ If the error persists, add the error message in a post on the FarmBeats forum, o
181193

182194
Do one of the following:
183195

184-
- Rerun the installer for upgrading Datahub with the correct username and password.
196+
- Update FarmBeats with the correct username / password using the steps below and retry the job.
197+
198+
*Update Sentinel Username*
199+
1. Sign in to [Azure portal](https://portal.azure.com).
200+
2. In the **Search** box, search for the FarmBeats Datahub resource group.
201+
3. Select Storage account storage***** -> Containers -> batch-prep-files -> to_vm -> config.ini
202+
4. Click Edit
203+
5. Update the username in the sentinel_account section
204+
205+
*Update Sentinel Password*
206+
1. Sign in to [Azure portal](https://portal.azure.com).
207+
2. In the **Search** box, search for the FarmBeats Datahub resource group.
208+
3. Select keyvault-*****
209+
4. Select Access Policies under Settings
210+
5. Click "Add Access Policy"
211+
6. Use "Secret management" for Configure from Template and add yourself to Principal
212+
7. Click Add, and then click Save on the Access Policies page
213+
8. Click Secrets under Settings
214+
9. Click Sentinel-password
215+
10. Create a new version of the value and enable it
216+
185217
- Rerun the failed job, or run a satellite indices job for a date range of 5 to 7 days, and then check to see whether the job is successful.
186218

187-
### Sentinel hub: Wrong URL or site not accessible
219+
### Sentinel hub: Wrong URL or site not accessible
188220

189-
**Job failure message**: "Oops, something went wrong. The page you were trying to access is (temporarily) unavailable."
221+
**Job failure message**: "Oops, something went wrong. The page you were trying to access is (temporarily) unavailable."
190222

191223
**Corrective action**:
192-
1. Open [Sentinel](https://scihub.copernicus.eu/dhus/) in your browser to see whether the website is accessible. 
224+
225+
1. Open [Sentinel](https://scihub.copernicus.eu/dhus/) in your browser to see whether the website is accessible.
193226
2. If the website isn't accessible, check to see whether any firewall, company network, or other blocking software is preventing access to the website, and then take the necessary steps to allow the Sentinel URL. 
194227
3. Rerun the failed job, or run a satellite indices job for a date range of 5 to 7 days, and then check to see whether the job is successful.
195228

@@ -211,144 +244,65 @@ This issue can occur if any maintenance activities are being done on the Sentine
211244

212245
**Job failure message**: "Maximum number of two concurrent flows achieved by the user '\<username>'."
213246

214-
**Meaning**: If a job fails because the maximum number of connections has been reached, the same Sentinel account is being used in another software deployment.
247+
**Meaning**: If a job fails because the maximum number of connections has been reached, the same Sentinel account is being used in multiple jobs.
215248

216249
**Corrective action**:
217250
Try either of the following:
218251

219-
* Create a new Sentinel account, and then rerun the installer to upgrade Datahub by using a new Sentinel username and password.
220-
* Rerun the failed job or run a satellite indices job for a date range of 5 to 7 days, and then check to see whether the job is successful.
252+
* Wait for the other jobs to finish before re-running failed job.
253+
* Create a new Sentinel account, and then update the Sentinel username and password in FarmBeats.
221254

222-
### Sentinel server: Refused connection
255+
### Sentinel server: Refused connection
223256

224-
**Job failure message**: "Server refused connection at: http://172.30.175.69:8983/solr/dhus."
257+
**Job failure message**: "Server refused connection at: http://172.30.175.69:8983/solr/dhus."
225258

226-
**Corrective action**: This issue can occur if any maintenance activities are being done on the Sentinel server. 
227-
1. If any job or pipeline fails because maintenance is being performed, resubmit the job after some time. 
259+
**Corrective action**: This issue can occur if any maintenance activities are being done on the Sentinel server.
260+
261+
1. If any job or pipeline fails because maintenance is being performed, resubmit the job after some time.
228262

229263
For information about any planned or unplanned Sentinel maintenance activities, go to the [Copernicus Open Access Hub News](https://scihub.copernicus.eu/news/) site.  
230264

231265
2. Rerun the failed job, or run a satellite indices job for a date range of 5 to 7 days, and then check to see whether the job is successful.
232266

233-
### Soil Moisture map has white areas
267+
### Soil Moisture map has white areas
234268

235269
**Issue**: The Soil Moisture map was generated, but the map has mostly white areas.
236270

237-
**Corrective action**: This issue can occur if the satellite indices generated for the time for which the map was requested has NDVI values that is less than 0.3. For more information, please visit [Technical Guide from Sentinel](https://earth.esa.int/web/sentinel/technical-guides/sentinel-2-msi/level-2a/algorithm).
271+
**Corrective action**: This issue can occur if the satellite indices generated for the time for which the map was requested has NDVI values that is less than 0.3. For more information, visit [Technical Guide from Sentinel](https://earth.esa.int/web/sentinel/technical-guides/sentinel-2-msi/level-2a/algorithm).
238272
1. Rerun the job for a different date range and check to see if the NDVI values in the satellite indices are more than 0.3
239273

240274
## Collect logs manually
241275

242276
[Install and deploy Azure Storage Explorer]( https://docs.microsoft.com/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=windows).
243277

244-
### Collect Azure Data Factory job logs in Datahub
278+
### Collect Azure Data Factory job logs or App Service logs in Datahub
245279

246280
1. Sign in to the [Azure portal](https://portal.azure.com).
247281
2. In the **Search** box, search for the FarmBeats Datahub resource group.
248-
249-
> [!NOTE]
250-
> Select the Datahub resource group that you specified during FarmBeats installation.
251-
252-
3. On the **Resource Group** dashboard, search for the *datahublogs\** storage account. For example, search for **datahublogsmvxmq**.
282+
3. On the **Resource Group** dashboard, search for the *datahublogs\** storage account. For example, *datahublogsmvxmq*.
253283
4. In the **Name** column, select the storage account to view the **Storage Account** dashboard.
254284
5. In the **datahubblogs\*** pane, select **Open in Explorer** to view the **Open Azure Storage Explorer** application.
255-
6. In the left pane, select **Blob Containers**, and then select **job-logs**.
256-
7. In the **job-logs** pane, select **Download**.
257-
8. Download the logs to a local folder on your machine.
258-
9. Email the downloaded .zip file to [email protected].
285+
6. In the left pane, select **Blob Containers**, and then select **job-logs** for Azure Data Factory logs or **appinsights-logs** for App Service logs.
286+
7. Select **Download** and download the logs to a local folder on your machine.
259287

260288
![Project FarmBeats](./media/troubleshoot-azure-farmbeats/collecting-logs-manually-1.png)
261289

262-
### Collect Azure Data Factory job logs in Accelerator
263-
264-
1. Sign in to the [Azure portal](https://portal.azure.com).
265-
2. In the **Search** box, search for the FarmBeats Accelerator resource group.
266-
267-
> [!NOTE]
268-
> Select the Accelerator resource group that you specified during FarmBeats installation.
269-
270-
3. On the **Resource Group** dashboard, search for the *storage\** storage account. For example, search for **storagedop4k\***.
271-
4. Select the storage account in the **Name** column to view the **Storage Account** dashboard.
272-
5. In the **storage\*** pane, select **Open in Explorer** to open the Azure Storage Explorer application.
273-
6. In the left pane, select **Blob Containers**, and then select **job-logs**.
274-
7. In the **job-logs** pane, select **Download**.
275-
8. Download the logs to a local folder on your machine.
276-
9. Email the downloaded .zip file to [email protected].
277-
278-
279-
### Collect Datahub app service logs
280-
281-
1. Sign in to the [Azure portal](https://portal.azure.com).
282-
2. In the **Search** box, search for the FarmBeats Datahub resource group.
283-
284-
> [!NOTE]
285-
> Select the Datahub resource group that you specified during FarmBeats installation.
286-
287-
3. In the resource group, search for the *datahublogs\** storage account. For example, search for **fordatahublogsmvxmq\***.
288-
4. Select the storage account in the **Name** column to view the **Storage Account** dashboard.
289-
5. In the **datahubblogs\*** pane, select **Open in Explorer** to open the Azure Storage Explorer application.
290-
6. In the left pane, select **Blob Containers**, and then select **appinsights-logs**.
291-
7. In the **appinsights-logs** pane, select **Download**.
292-
8. Download the logs to a local folder on your machine.
293-
9. Email the downloaded .zip file to [email protected].
294-
295-
### Collect Accelerator app service logs
290+
### Collect Azure Data Factory job logs or App Service logs for Accelerator
296291

297292
1. Sign in to the [Azure portal](https://portal.azure.com).
298293
2. In the **Search** box, search for the FarmBeats Accelerator resource group.
299-
300-
> [!NOTE]
301-
> Select the FarmBeats Accelerator resource group that was provided during FarmBeats installation.
302-
303-
3. In the resource group, search for the *storage\** storage account. For example, search for **storagedop4k\***.
294+
3. On the **Resource Group** dashboard, search for the *storage\** storage account. For example, *storagedop4k\**.
304295
4. Select the storage account in the **Name** column to view the **Storage Account** dashboard.
305296
5. In the **storage\*** pane, select **Open in Explorer** to open the Azure Storage Explorer application.
306-
6. In the left pane, select **Blob Containers**, and then select **appinsights-logs**.
307-
7. In the **appinsights-logs** pane, select **Download**.
308-
8. Download the logs to a local folder on your machine.
309-
9. Email the downloaded folder to [email protected].
310-
311-
## Known issues
312-
313-
## Batch-related issues
314-
315-
**Error message**: "The regional account quota of Batch Accounts for the specified subscription has been reached."
316-
317-
**Corrective action**: Increase the quota, or delete the unused batch accounts and rerun the deployment.
318-
319-
### Azure Active Directory (Azure AD)-related issues
320-
321-
**Error message**: "Could not update required settings to Azure AD App d41axx40-xx21-4fbd-8xxf-97xxx9e2xxc0: Insufficient privileges to complete the operation. Ensure that the above settings are configured properly for the Azure AD App."
322-
323-
**Meaning**: The Azure AD app registration configuration wasn't completed properly.
324-
325-
**Corrective action**: Ask the IT administrator (the person with tenant read access) to use our [script](https://github.com/Azure-Samples/active-directory-dotnet-webapp-openidconnect/tree/master/AppCreationScripts) for creating the Azure AD app registration. This script automatically takes care of the configuration steps as well.
326-
327-
**Error message**: "Could not create new Active Directory Application '\<application name\>' in this tenant: Another object with the same value for property identifier URIs already exists."
328-
329-
**Meaning**: An Azure AD app registration with the same name already exists.
330-
331-
**Corrective action**: Delete the existing Azure AD app registration, or reuse it for installation. If you're reusing the existing Azure AD app registration, pass the application ID and client secret to the installer and redeploy.
332-
333-
## Issues with the input.json file
334-
335-
**Error**: There's an error reading input from the *input.json* file.
336-
337-
**Corrective action**: This issue usually arises because of an error in specifying the correct *input.json* file path or name to the installer. Make appropriate corrections, and retry the deployment.
338-
339-
**Error**: There's an error parsing values in the *input.json* file.
340-
341-
**Corrective action**: This issue mostly arises due to incorrect values within the *input.json* file. Make appropriate corrections, and retry the deployment.
297+
6. In the left pane, select **Blob Containers**, and then select **job-logs** for Azure Data Factory logs or **appinsights-logs** for App Service logs.
298+
7. Select **Download** and download the logs to a local folder on your machine.
342299

343300
## High CPU usage
344301

345-
**Error**: You get an email alert that refers to a **High CPU Usage Alert**. 
302+
**Error**: You get an email alert that refers to a **High CPU Usage Alert**.
303+
304+
**Corrective action**:
346305

347-
**Corrective action**: 
348306
1. Go to your FarmBeats Datahub resource group.
349307
2. Select the **App service**.  
350308
3. Go to the scale up [App Service pricing page](https://azure.microsoft.com/pricing/details/app-service/windows/), and then select an appropriate pricing tier.
351-
352-
## Next steps
353-
354-
If you're still facing FarmBeats issues, contact our [Support Forum](https://aka.ms/farmbeatssupport).

0 commit comments

Comments
 (0)