Comments (6)
@ritazh It seems that your service principal (tenant_id, client_id, client_secret) is invalid. You can verify it with the following operations:
- Use Azure CLI to login with your service principal. If you can not login, then the service principal is invalid.
- Verify that the subscription which the service principal belongs to is the same subscription which is used to create your resource group. (This may happen when you have multiple subscriptions)
from bosh-azure-cpi-release.
Closing this as the issue was caused by a bad tenant_id
passed into the template.
from bosh-azure-cpi-release.
In case others run across this issue, I received this error when attempting to use a newly created free trial account without first creating a new user in Active Directory. Instructions here. Be sure to use the subscription ID from the new user and not the one from the initial free trial account.
from bosh-azure-cpi-release.
I have ran into issue while deploying the bosh, i get an error
./deploy_bosh.sh: line 44: unexpected EOF while looking for matching `"'
1 #!/usr/bin/env bash
2
3 set -e
4
5 export BOSH_LOG_LEVEL="debug"
6 export BOSH_LOG_PATH="./run.log"
7
8 bosh create-env /example_manifests/bosh.yml /bosh-deployment-vars.yml
9 --state=state.json
10 --vars-store=
11 -o ~/example_manifests/cpi.yml
12 -o ~/example_manifests/use-location.yml
13 -o ~/example_manifests/custom-cpi-release.yml
14 -o ~/example_manifests/custom-environment.yml
15 -o ~/example_manifests/use-azure-dns.yml
16 -o ~/example_manifests/jumpbox-user.yml
17 -o ~/example_manifests/keep-failed-or-unreachable-vms.yml
18 -o ~/example_manifests/uaa.yml
19 -o ~/example_manifests/credhub.yml
20 -v director_name=azure
21 -v internal_cidr=10.0.0.0/24
22 -v internal_gw=10.0.0.1
23 -v internal_ip=10.0.0.4
24 -v cpi_release_url=https://bosh.io/d/github.com/cloudfoundry/bosh-azure-cpi-release?v=35.5.0
25 -v cpi_release_sha1=faebe370c143554fe471c3f6aafb523ab48c43ea
26 -v director_vm_instance_type=Standard_D2_v2
27 -v resource_group_name=cloudfoundry-RG
28 -v location=northcentralus
29 -v vnet_name=boshvnet-crp
30 -v subnet_name=Bosh
31 -v default_security_group=nsg-bosh
32 -v environment=AzureCloud
33 -v subscription_id=xxx
34 -v tenant_id=xxx
35 -v client_id=xxx
36 -v client_secret=""xxx"
37 -o ~/example_manifests/use-managed-disks.yml
38
39 cat >> "/home/dcadmin/.profile" << EndOfFile
40 # BOSH CLI
41 export BOSH_ENVIRONMENT=10.0.0.4
42 export BOSH_CLIENT=admin
43 export BOSH_CLIENT_SECRET="$(bosh int ~/bosh-deployment-vars.yml --path /admin_password)"
44 export BOSH_CA_CERT="$(bosh int ~/bosh-deployment-vars.yml --path /director_ssl/ca)"
45 EndOfFile
46 source /home/dcadmin/.profile
from bosh-azure-cpi-release.
@techiechap -v client_secret=""xxx"
this line has an extra "
.
Additionally, if the client_secret
is your real service principal secret, you should not post it in public network without redacting it. You may want to reset your secret.
from bosh-azure-cpi-release.
My bad, I have deleted the SP, yes will try to spin it again
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.