Comments (5)
Hi @cbrianball . Thanks for your feedback.
The initdevbox step threw a WindowsAzureError when it tried to create a container bosh
in your storage account.
Could you check your settings for the template, and re-deploy it?
If it does not work for you, please feel free to let us know.
from bosh-azure-cpi-release.
I had tried 2 - 3 times and kept getting the same error. I tried again, but since you pointed out the storage account, I used a different name (this time with all lower case) and it worked.
Clearly I failed to read the description for the storage account name on the page I referenced where it states lower case letters and numbers only.
So to me it seems that Azure should have returned an error when the storage account create request was issued and it shouldn't have even made it as far as it did.
Thanks, I'll close this issue.
from bosh-azure-cpi-release.
Totally agree with you, @cbrianball . I will try to figure out why Azure does not return an error when the storage account name is invalid. Will let you know the result.
Thanks.
from bosh-azure-cpi-release.
I tried deploying pivotal cloud foundry on Azure. After deploying few resources , it failed with an error. I dont see a problem with Storage account as it is created properly.
STATUSConflict
PROVISIONING STATEFailed
TIMESTAMP6/24/2016, 4:24:48 PM
DURATIONPT29M54.6658648S
TYPEMicrosoft.Compute/virtualMachines/extensions
RESOURCE ID/subscriptions/7eab3893-bd71-4690-84a5-47624df0b0e5/resourceGroups/PivotalCloudFoundry/providers/Microsoft.Compute/virtualMachines/myjumpboxnpvfpqoisk5zk/extensions/initdevbox
STATUSMESSAGE{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "VMExtensionProvisioningError",
"message": "VM has reported a failure when processing extension 'initdevbox'. Error message: "Script returned an error.\n---stdout---\nDownload complete.\nCurrent working dir : /var/lib/waagent/Microsoft.OSTCExtensions.CustomScriptForLinux-1.4.1.0\nSys.Path: ['/usr/share/python-wheels/setuptools-3.3-py2.py3-none-any.whl', '/usr/share/python-wheels/requests-2.2.1-py2.py3-none-any.whl', '/usr/share/python-wheels/six-1.5.2-py2.py3-none-any.whl', '/usr/share/python-wheels/urllib3-1.7.1-py2.py3-none-any.whl', '/usr/share/python-wheels/colorama-0.2.5-py2.py3-none-any.whl', '/usr/share/python-wheels/pip-1.5.4-py2.py3-none-any.whl', '/usr/share/python-wheels/chardet-2.2.1-py2.py3-none-any.whl', '/usr/share/python-wheels/html5lib-0.999-py2.py3-none-any.whl', '/usr/share/python-wheels/distlib-0.1.8-py2.py3-none-any.whl', '/var/lib/waagent/Microsoft.OSTCExtensions.CustomScriptForLinux-1.4.1.0/download/0', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '']\n\n---errout---\n\rExtracting templates from packages: 32%\rExtracting templates from packages: 64%\rExtracting templates from packages: 96%\rExtracting templates from packages: 100%\nTraceback (most recent call last):\n File "./bootstrap.py", line 159, in \n check_quota(subscription_id, tenant, client_id, client_secret, location, numofcores)\n File "./bootstrap.py", line 52, in check_quota\n usage_paged=compute_client.usage.list(location).usages\n File "/var/lib/waagent/Microsoft.OSTCExtensions.CustomScriptForLinux-1.4.1.0/azure/mgmt/compute/computemanagement.py", line 3889, in list\n raise error\nazure.common.AzureHttpError: {"error":{"code":"AuthorizationFailed","message":"The client '1f5db171-dcf1-4d63-9fed-131e165ecefa' with object id '1f5db171-dcf1-4d63-9fed-131e165ecefa' does not have authorization to perform action 'Microsoft.Compute/locations/usages/read' over scope '/subscriptions/7eab3893-bd71-4690-84a5-47624df0b0e5'."}}\n\n"."
}
]
}
}
RESOURCEmyjumpboxnpvfpqoisk5zk/initdevbox
Thanks in advance
from bosh-azure-cpi-release.
@vcherukuri
Your issue is about the authorization of your service principal. You need to check the authorization. Do you assign the right role to your service principal?
{\"error\":{\"code\":\"AuthorizationFailed\",\"message\":\"The client '1f5db171-dcf1-4d63-9fed-131e165ecefa' with object id '1f5db171-dcf1-4d63-9fed-131e165ecefa' does not have authorization to perform action 'Microsoft.Compute/locations/usages/read' over scope '/subscriptions/7eab3893-bd71-4690-84a5-47624df0b0e5'.\"}
from bosh-azure-cpi-release.
Related Issues (20)
- Get https://10.0.0.4:25555/info connect: no route to host HOT 2
- Support Ephemeral OS Disks HOT 2
- Allow For Custom Disk Size When Specifying use_root_disk = true HOT 2
- CPI v37.3.1 failes to delete stemcells HOT 2
- Permissions issue if more then one user doing deployments HOT 7
- Azure CPI needs a new ways to deploy VMs HOT 6
- Support for application gateways with multiple backend pools HOT 9
- BOSH Azure CPI could provide API to automatically add diego cell or Create VM on which containers can be deployed on . #4 HOT 1
- development.md env setup is broken: vendor_gems script fails with gem not found error HOT 4
- Rubocop dev dependencies/scripts are broken
- Increase unit test coverage to 100% HOT 2
- Reduce ignored rubocop offenses HOT 4
- New BOSH Azure CPI release HOT 5
- Bosh director self snapshots are not being triggered HOT 4
- Improve JSON parsing speed by using Oj or FastJsonParser HOT 6
- Azure IMDS endpoint calls do not work when multiple UserAssigned managed identities are available HOT 3
- Azure ephemeral OS/temp disk HOT 7
- Support the azure blobstore as external blobstore for bosh HOT 12
- Local tests are not working on Linux (WSL2) HOT 4
- VM is being created with MS DNS even when local_dns is specified. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bosh-azure-cpi-release.