Deploy > Plugins > ConentEditor #105
-
System Configuration Details:
@gandham-santhosh and @keshavprasadms I already have the sas token in the core > secrets.yaml file as below. Please tell me what to do. artifact_azure_account_sas: "se=2023-08-16T21%3A08%3A14Z&sp=rwdlacup&spr=https&sv=2021-06-08&ss=ftqb&srt=sco&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%xxxxxxxxx%3D" # SAS token value generated from above command Please let me know where am I going wrong here? |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment · 3 replies
-
What is the problem you are facing? |
Beta Was this translation helpful? Give feedback.
All reactions
-
@keshavprasadms : Sorry my bad. Please find the logs below. It is failing in the azcopy command as you can see in the logs: Started by user Admin Deployer
[Pipeline] ansiColor [Pipeline] sh
[Pipeline] // ansiColor
[Pipeline] echo [Pipeline] // ansiColor
added 468 packages from 236 contributors and audited 468 packages in 8.42s 5 packages are looking for funding found 22 vulnerabilities (4 low, 2 moderate, 10 high, 6 critical)
5 packages are looking for funding found 22 vulnerabilities (4 low, 2 moderate, 10 high, 6 critical)
[Pipeline] stage
[WARNING]: * Failed to parse /var/lib/jenkins/workspace/Deploy/dev/Plugins/Con [WARNING]: * Failed to parse /var/lib/jenkins/workspace/Deploy/dev/Plugins/Con [WARNING]: Unable to parse /var/lib/jenkins/workspace/Deploy/dev/Plugins/Conten [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that PLAY [local] ******************************************************************* [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ **TASK [delete batch] ************************************************************ STDOUT: INFO: Authenticating to destination using Azure AD failed to perform remove command due to error: no cached token found, please log in with azcopy's login command, required key not available MSG: non-zero return code** PLAY RECAP ********************************************************************* [Pipeline] } [Pipeline] // ansiColor [Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
All reactions
-
Please check if your azure sas token is working or not. I am suspecting an issue with the SAS token. You can try this command from the jenkins vm manually and check if it works with your current credentials |
Beta Was this translation helpful? Give feedback.
All reactions
-
@keshavprasadms: Thanks so much. The problem was with the sas token only. I also rotated the same. Marking as answered |
Beta Was this translation helpful? Give feedback.
What is the problem you are facing?