Re: Error with bosh director deployment
Johannes Hiemer
No it is just a complete example. Remove the section if you don't need it.
toggle quoted message
Show quoted text
On 11. Jul 2017, at 09:23, Arpit Sharma <arpitvipulsharma(a)gmail.com> wrote: |
|
Re: Error with bosh director deployment
Hi, Thanks for your response. Are you asking me to create external database machine? Here I am not using any external database..
|
|
Re: Error with bosh director deployment
Hey Johannes,
Thanks for your response. Are you asking me to create other machine with postgre database? Here I dont have any external database machine.. |
|
Re: Error with bosh director deployment
Johannes Hiemer
Here you go:
#!/bin/bash bosh create-env bosh.yml \ -o openstack/cpi.yml \ --state=/workspace/deployments/bosh-1/state.json \ --vars-store=/workspace/deployments/bosh-1/creds.yml \ -v director_name=bosh-1 \ -v internal_cidr=1.1.1.0/24 \ -v internal_gw=1.1.1.0.254 \ -v internal_ip=1.1.1.4 \ -v auth_url=https://your.os-host.com:5000/v3 \ -v default_key_name=bosh-dev \ -v default_security_groups=[bosh] \ -v net_id=4e758eb5-787d-4e17-ac34-b97aeac6f022 \ -v az=zone00 \ -v region=region00 \ -v openstack_password=123455678 \ -v openstack_username=yourUser \ -v openstack_domain=yourDomain \ -v openstack_project=yourProject \ -v private_key=theKey.pem \ -v external_db_host=1.1.1.3 \ -v external_db_port=5432 \ -v external_db_user=dbUser \ -v external_db_password=dbPassword On Tue, 11 Jul 2017 at 08:57 Arpit Sharma <arpitvipulsharma(a)gmail.com> wrote: Hi Johannes, |
|
Re: Error with bosh director deployment
Hi Johannes,
After correction of security group, again I am getting this error.... creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 3421.9): CPI 'create_stemcell' method responded with error: CmdError{"type":"InvalidCall","message":"Arguments are not correct, details: 'Invalid OpenStack cloud properties: #\u003cMembrane::SchemaValidationError: { openstack =\u003e { tenant =\u003e Missing key } }\u003e'","ok_to_retry":false} Exit code 1 Can you update me what is wrong again with this command? |
|
Bosh Director question related to CredHub
Michael Stancampiano
Bosh Director with CredHub enabled can handle the processing of credential identifiers in a manifest file instead of the actual value/literal. For example:
password: (( db_pwd)) Can Bosh Director process a value in a manifest file that contains both literals and a credential identifier? For example: db_uri: posgressql://db_user:((db_pwd))@dbhost:1234/dbname Thanks. |
|
Re: Error with bosh director deployment
Hi Johannes,
Got it. I think i need to put brackets. |
|
Re: Error with bosh director deployment
Johannes Hiemer
In the CLI command itself
toggle quoted message
Show quoted text
On 10. Jul 2017, at 20:52, Arpit Sharma <arpitvipulsharma(a)gmail.com> wrote: |
|
Re: Error with bosh director deployment
In which file I need to make this change..? can you update me?
|
|
Re: Error with bosh director deployment
Hi Johannes,
Thanks for your response. In which file i need to make this change. I am already passing these variable values in command. |
|
Re: Error with bosh director deployment
Hi Tim,
I didn't get you. I am using vim. I have already done setup of openstack. On this setup I want to deploy Director. I am following this link https://bosh.io/docs/init-openstack.html I havn't done any changes in manifest. I am using same which i got from git clone. |
|
Re: Error with bosh director deployment
Tim Lawrence
oops, I should have read the thread :-)
toggle quoted message
Show quoted text
On Mon, Jul 10, 2017 at 4:02 PM, Johannes Hiemer <jvhiemer(a)gmail.com> wrote:
As stated before changed security groups to default_security_groups=[default], |
|
Re: Question on Bosh download manifest command with CredHub enabled
Dmitriy Kalinin
manifest would contain credential identifiers.
toggle quoted message
Show quoted text
Sent from my iPhone On Jul 10, 2017, at 7:40 AM, Michael Stancampiano <mstancamp(a)gmail.com> wrote: |
|
Re: Error with bosh director deployment
Johannes Hiemer
As stated before changed security groups to default_security_groups=[default],
then it should work. On Mon, 10 Jul 2017 at 16:56 Tim Lawrence <tim.lawrence1984(a)gmail.com> wrote: looks like some kind of character encoding issue.. which editor did you |
|
Re: Error with bosh director deployment
Tim Lawrence
looks like some kind of character encoding issue.. which editor did you
toggle quoted message
Show quoted text
edit the manifest in? Are you using a Unicode Charset or something? On Mon, Jul 10, 2017 at 1:35 PM, Arpit Sharma <arpit.sharma(a)hexad.de> wrote:
|
|
Question on Bosh download manifest command with CredHub enabled
Michael Stancampiano
Assume CredHub is installed and enabled to be used with Bosh Director. A deployment was performed whose manifest file contained variable identifiers for credentials and not the real values. This would have been of the form ((credential_identifier)) in the manifest file. After the successful deployment, the bosh download manifest <deployment_name> command is executed. Does the downloaded manifest contain the credential identifiers, or the real values (such as a password)?
|
|
Re: Error with bosh director deployment
Prashant Ghorpade
Try with following, as a array...
toggle quoted message
Show quoted text
v default_security_groups=[default] Thanks, Prashant -----Original Message-----
From: Arpit Sharma [mailto:arpitvipulsharma(a)gmail.com] Sent: Monday, July 10, 2017 7:23 PM To: cf-bosh(a)lists.cloudfoundry.org Subject: [cf-bosh] Error with bosh director deployment EXTERNAL Dear Team, I am deploying bosh environment. When I am trying to deply director server, I am getting following error. Can you help me with this creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 3421.9): CPI 'create_stemcell' method responded with error: CmdError{"type":"InvalidCall","message":"Arguments are not correct, details: 'Invalid OpenStack cloud properties: #\u003cMembrane::SchemaValidationError: { openstack =\u003e { default_security_groups =\u003e Expected instance of Array, given instance of String, tenant =\u003e Missing key } }\u003e'","ok_to_retry":false} Exit code 1 I am using below mentioned command for the same: bosh create-env bosh-deployment/bosh.yml \ --state=state.json \ |
|
Error with bosh director deployment
Dear Team,
toggle quoted message
Show quoted text
I am deploying bosh environment. When I am trying to deply director server, I am getting following error. Can you help me with this creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 3421.9): CPI 'create_stemcell' method responded with error: CmdError{"type":"InvalidCall","message":"Arguments are not correct, details: 'Invalid OpenStack cloud properties: #\u003cMembrane::SchemaValidationError: { openstack =\u003e { default_security_groups =\u003e Expected instance of Array, given instance of String, tenant =\u003e Missing key } }\u003e'","ok_to_retry":false} Exit code 1 I am using below mentioned command for the same: bosh create-env bosh-deployment/bosh.yml \ --state=state.json \ |
|
Error with bosh director deployment
Arpit Sharma <arpit.sharma@...>
Dear Team,
I am deploying bosh environment. When I am trying to deply director server, I am getting following error. Can you help me with this creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 3421.9): CPI 'create_stemcell' method responded with error: CmdError{"type":"InvalidCall","message":"Arguments are not correct, details: 'Invalid OpenStack cloud properties: #\u003cMembrane::SchemaValidationError: { openstack =\u003e { default_security_groups =\u003e Expected instance of Array, given instance of String, tenant =\u003e Missing key } }\u003e'","ok_to_retry":false} Exit code 1 I am using below mentioned command for the same: bosh create-env bosh-deployment/bosh.yml \ --state=state.json \? Mit freundlichen Grüßen Arpit Sharma System Engineer [cid:logo-new_d82ab629-1cab-4160-8c5e-66b51a256ed9.jpg] Hexad GmbH | Porschestr. 58 | 38440 Wolfsburg Mobile: +49-015163290303 Telefon: +49 (5361) 27 27 029 Telefax: - www.hexad.de<http://www.hexad.de> An ISO 9001:2008 & CMMI Level 3 company Registergericht: Amtsgericht Offenbach am Main HRB Nr./ Commercial Register No.: 45139 Geschäftsführer/ Chairman: Suresh Shamanna ________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. |
|
Re: Bosh Deploy Says NoSuchKey However Object exists in the blobstore
nitin padalia
agents were pointing to old blobstore, updating it fixed the isseue. However I believe bosh upload release/stemcell --fix should've fix it.
|
|