Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home for cloudfoundry.org
« Groups Home
Bosh Director Not assigned an IP address in vSphere
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
chris.hed...@opencredo.com  
View profile  
 More options Nov 12 2012, 5:43 am
From: chris.hed...@opencredo.com
Date: Mon, 12 Nov 2012 02:43:52 -0800 (PST)
Local: Mon, Nov 12 2012 5:43 am
Subject: Bosh Director Not assigned an IP address in vSphere

Hi

I have bosh micro deploying a stem cell to vSphere server however the vm
once provisioned doesn't seem to have an ip address assigned to it in
vSphere client. I also cannot performa simple ping to the ip address that I
have assigned to bosh director in my bosh yaml file. This is leading to
connection timeouts whilst waiting for the agent. The vm is powered up by
the bosh micro deploy process,

Here is a snippet from the deployment log...

I, [2012-11-12T02:05:39.819121 #8151]
[create_vm(bm-ac986c50-ec83-424b-8752-3ede19c76f31, ...)]  INFO -- :
Cloning vm: <[Vim.VirtualMachine] vm-1253> to
vm-689766f4-834d-44b5-9ab6-36e961390c72
I, [2012-11-12T02:06:01.560344 #8151]
[create_vm(bm-ac986c50-ec83-424b-8752-3ede19c76f31, ...)]  INFO -- :
Setting VM env: {"vm"=>{"name"=>"vm-689766f4-834d-44b5-9ab6-36e961390c72",
"id"=>"vm-1255"},
 "agent_id"=>"bm-ac986c50-ec83-424b-8752-3ede19c76f31",
 "networks"=>
  {"bosh"=>
    {"cloud_properties"=>{"name"=>"VM Network"},
     "netmask"=>"255.255.255.0",
     "gateway"=>"172.16.19.2",
     "ip"=>"172.16.4.999",
     "dns"=>[],
     "type"=>nil,
     "default"=>["dns", "gateway"],
     "mac"=>"00:50:56:93:99:fb"}},
 "disks"=>{"system"=>0, "ephemeral"=>1, "persistent"=>{}},
 "ntp"=>["bosh.ntp.comain.com"],
 "blobstore"=>
  {"plugin"=>"local",
   "properties"=>{"blobstore_path"=>"/var/vcap/micro_bosh/data/cache"}},
 "mbus"=>"http://vcap:b00tst...@0.0.0.0:6868",
 "env"=>{"bosh"=>{"password"=>"mypassword"}}}

and here is my yaml...

name: micro_bosh
network:
  ip: 172.16.4.999
  netmask: 255.255.255.0
  gateway: 172.16.19.2
  cloud_properties:
    name: VM Network
loglevel: debug
env:
  bosh:
    password: mypassword
resources:
  persistent_disk: 16384
cloud:
  plugin: vsphere
  properties:
    agent:
      ntp:
       - bosh.ntp.opencred.com
    vcenters:
      - host: 172.16.4.121
        user: root
        password: vmware
        datacenters:
          - name: bosh-datacenter
            vm_folder: BOSH_VMs
            template_folder: BOSH_Templates
            disk_path: BOSH_Deployer
            datastore_pattern: datastore1
            persistent_datastore_pattern: datastore1
            allow_mixed_datastores: true
            clusters:
              - bosh-cluster:
                 resource_pool: bosh-resource-pool

It may also be worth pointing out that I cannot log into the director vm
with the credentials logged in the
snippet  "env"=>{"bosh"=>{"password"=>"mypassword"}}}. Are these the
correct credentials to use?

Thanks

Chris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chris.hed...@opencredo.com  
View profile  
 More options Nov 12 2012, 6:19 am
From: chris.hed...@opencredo.com
Date: Mon, 12 Nov 2012 03:19:25 -0800 (PST)
Local: Mon, Nov 12 2012 6:19 am
Subject: Re: Bosh Director Not assigned an IP address in vSphere

The ip address was due to the fact I was using an out of range ip address
for the bosh director. Although any help on the login credentials issue is
welcome.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Englund  
View profile  
 More options Nov 12 2012, 11:52 am
From: Martin Englund <mengl...@rbcon.com>
Date: Mon, 12 Nov 2012 08:52:06 -0800
Local: Mon, Nov 12 2012 11:52 am
Subject: Re: [bosh-users] Re: Bosh Director Not assigned an IP address in vSphere

Chris,

the passform you use, did you generate it with "mkpasswd -m sha-512"?

cheers,
/Martin
--
Martin Englund, Staff Engineer, Cloud Foundry, VMware Inc.
"The question is not if you are paranoid, it is if you are paranoid enough."

On Nov 12, 2012, at 3:19, chris.hed...@opencredo.com wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chris.hed...@opencredo.com  
View profile  
 More options Nov 13 2012, 7:13 am
From: chris.hed...@opencredo.com
Date: Tue, 13 Nov 2012 04:13:16 -0800 (PST)
Local: Tues, Nov 13 2012 7:13 am
Subject: Re: [bosh-users] Re: Bosh Director Not assigned an IP address in vSphere

No I've not generated a passform, For now I just use a raw string as
defined in the micro yaml file. Have I missed an obvious step here?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chris.hed...@opencredo.com  
View profile  
 More options Nov 13 2012, 7:37 am
From: chris.hed...@opencredo.com
Date: Tue, 13 Nov 2012 04:37:31 -0800 (PST)
Local: Tues, Nov 13 2012 7:37 am
Subject: Re: [bosh-users] Re: Bosh Director Not assigned an IP address in vSphere

Thanks for the pointer, I've generated the password with mkpasswd and now I
can access the director vm. Out of interest is there a default password if
I don't specify env->bosh->password or is this property mandatory?

On Tuesday, November 13, 2012 12:13:17 PM UTC, chris....@opencredo.com
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aneesh Kumar E P  
View profile  
 More options Nov 13 2012, 9:24 am
From: Aneesh Kumar E P <anees...@imaginea.com>
Date: Tue, 13 Nov 2012 19:54:29 +0530
Local: Tues, Nov 13 2012 9:24 am
Subject: Re: [bosh-users] Re: Bosh Director Not assigned an IP address in vSphere

The default password is c1oudc0w
On Nov 13, 2012 6:07 PM, <chris.hed...@opencredo.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »