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

AzureStorageService Exception occurred retrieving last modifed #194

Open
andrijaperovic opened this issue Nov 2, 2020 · 4 comments
Open
Labels
documentation Improvements or additions to documentation

Comments

@andrijaperovic
Copy link

Front50 is not able to fetch any information from the specified azure storage account:

 : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:42:58.007 ERROR 1 --- [0.0-8080-exec-2] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:42:58.010 ERROR 1 --- [0.0-8080-exec-2] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:03.460 ERROR 1 --- [0.0-8080-exec-4] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:03.464 ERROR 1 --- [0.0-8080-exec-4] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:08.903 ERROR 1 --- [0.0-8080-exec-5] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:08.906 ERROR 1 --- [0.0-8080-exec-5] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:09.273 ERROR 1 --- [0.0-8080-exec-7] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for pipelines: null
2020-11-02 22:43:09.805 ERROR 1 --- [0.0-8080-exec-8] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for serviceAccounts: null
2020-11-02 22:43:09.819 ERROR 1 --- [.0-8080-exec-10] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:09.822 ERROR 1 --- [.0-8080-exec-10] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:14.330 ERROR 1 --- [0.0-8080-exec-1] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:14.333 ERROR 1 --- [0.0-8080-exec-1] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:19.788 ERROR 1 --- [0.0-8080-exec-2] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
2020-11-02 22:43:19.792 ERROR 1 --- [0.0-8080-exec-2] c.n.s.front50.model.AzureStorageService  : Exception occurred retrieving last modifed for applications: null
@Sampy84
Copy link

Sampy84 commented Feb 24, 2021

Hi @andrijaperovic ,
I've faced the same issue in my environment (Spinnaker deployed on Azure AKS and configured to use an Azure Storage Account as a persistent storage system).
Please, check the Front50 log and search for a message like this:
c.n.s.front50.model.AzureStorageService : Error encountered attempting to store applications/XXXXX

On my side the issue appeared due to the following Azure storage account configuration:
MyStorageAccount-> Configuration -> Secure transfer required -> true
By configuring this option to false I've solved the problem and Spinnaker gets using the storage account as expected.
At the moment, I'm not interested to configure HTTPS on the Spinnaker side.

Furthermore, check the firewall configuration on the Networking section.

B.R.
Paolo

@andrijaperovic
Copy link
Author

Thanks @Sampy84 ! We've gone with s3 now for storage account, but definitely will try this out, appreciate the detailed response.

@dniasoff
Copy link

For anyone still struggling with this issue, I found the resolution was to enable "Blob Public Access". I created the storage account using IaC (as any self-respecting DevOps should) instead of using the cli commands described in the help pages and found that the Terraform default is to disable "Blob Public Access" whilst the cli default is to enable it.
FYI I was able to leave "Require secure transfer for REST API operations" enabled.

@dogonthehorizon dogonthehorizon added the documentation Improvements or additions to documentation label Apr 27, 2023
@dogonthehorizon
Copy link
Contributor

This would be a useful addition to the documentation for the Operator, we'll leave this issue open until we have clear guidance on settings require for ABS backing stores.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants