Date   

Download Public Stemcell Parameter?

Quintessence Anx
 

I was playing around with the CLI and I noticed that the output of `bosh
public stemcells` indicates there should be a `--full` parameter; however,
it doesn't seem to work?

```
$ bosh public stemcells
...
To download use 'bosh download public stemcell <stemcell_name>'. For full
url use --full.

$ bosh download public stemcell --full
https://d26ekeud912fhb.cloudfront.net/bosh-stemcell/aws/light-bosh-stemcell-2957-aws-xen-ubuntu-trusty-go_agent.tgz
invalid option: --full
Usage: bosh download public stemcell <stemcell_filename>
```

Is the `--full` parameter deprecated?

Thanks!

Quinn


Re: BOSH Agent / Stemcell for Windows?

Chip Childers
 

On Fri, May 1, 2015 at 5:27 AM, David Laing <david(a)davidlaing.com> wrote:

Given the recent announcement of BOSH on Azure; is there any news coming
about managing Windows VMs using BOSH?

I'm wondering if this is a:

* Not even on the roadmap; never going to happen
* Technically feasible; but way down the list of priorities
* Exciting announcements coming at CFSummit...

Thanks!
There have been some early discussions (and I believe there might be a
closed source prototype out there), but it's a logical step at some point.

-chip


Re: Download Public Stemcell Parameter?

Dr Nic Williams
 

I think "bosh public stemcells" is deprecated in lieu of bosh.io. I think.

On Fri, May 1, 2015 at 9:09 AM, Quintessence Anx <qanx(a)starkandwayne.com>
wrote:

I was playing around with the CLI and I noticed that the output of `bosh
public stemcells` indicates there should be a `--full` parameter; however,
it doesn't seem to work?
```
$ bosh public stemcells
...
To download use 'bosh download public stemcell <stemcell_name>'. For full
url use --full.
$ bosh download public stemcell --full
https://d26ekeud912fhb.cloudfront.net/bosh-stemcell/aws/light-bosh-stemcell-2957-aws-xen-ubuntu-trusty-go_agent.tgz
invalid option: --full
Usage: bosh download public stemcell <stemcell_filename>
```
Is the `--full` parameter deprecated?
Thanks!
Quinn


Re: Download Public Stemcell Parameter?

Dmitriy Kalinin
 

It has not been officially deprecated just yet (thanks for the reminder!),
but it's definitely better to look at https://bosh.io/stemcells.

On Fri, May 1, 2015 at 9:59 AM, Dr Nic Williams <drnicwilliams(a)gmail.com>
wrote:

I think "bosh public stemcells" is deprecated in lieu of bosh.io. I think.



On Fri, May 1, 2015 at 9:09 AM, Quintessence Anx <qanx(a)starkandwayne.com>
wrote:

I was playing around with the CLI and I noticed that the output of `bosh
public stemcells` indicates there should be a `--full` parameter;
however, it doesn't seem to work?

```
$ bosh public stemcells
...
To download use 'bosh download public stemcell <stemcell_name>'. For
full url use --full.

$ bosh download public stemcell --full
https://d26ekeud912fhb.cloudfront.net/bosh-stemcell/aws/light-bosh-stemcell-2957-aws-xen-ubuntu-trusty-go_agent.tgz
invalid option: --full
Usage: bosh download public stemcell <stemcell_filename>
```

Is the `--full` parameter deprecated?

Thanks!

Quinn

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Re: Download Public Stemcell Parameter?

Rob Day-Reynolds <rdayreynolds@...>
 

The command isn't deprecated yet, but the `--full` flag is used for `bosh
public stemcells`, rather than `bosh download public stemcell`. The idea
behind the `--full` was to display a full URL from `bosh public stemcells`,
rather than providing one to download. The help text is worded slightly
strangely, but since the command is being deprecated, I would guess that it
won't be reworded.

On Fri, May 1, 2015 at 10:39 AM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

It has not been officially deprecated just yet (thanks for the reminder!),
but it's definitely better to look at https://bosh.io/stemcells.

On Fri, May 1, 2015 at 9:59 AM, Dr Nic Williams <drnicwilliams(a)gmail.com>
wrote:

I think "bosh public stemcells" is deprecated in lieu of bosh.io. I
think.



On Fri, May 1, 2015 at 9:09 AM, Quintessence Anx <qanx(a)starkandwayne.com>
wrote:

I was playing around with the CLI and I noticed that the output of `bosh
public stemcells` indicates there should be a `--full` parameter;
however, it doesn't seem to work?

```
$ bosh public stemcells
...
To download use 'bosh download public stemcell <stemcell_name>'. For
full url use --full.

$ bosh download public stemcell --full
https://d26ekeud912fhb.cloudfront.net/bosh-stemcell/aws/light-bosh-stemcell-2957-aws-xen-ubuntu-trusty-go_agent.tgz
invalid option: --full
Usage: bosh download public stemcell <stemcell_filename>
```

Is the `--full` parameter deprecated?

Thanks!

Quinn

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


AWS DNS resolution + micro bosh

Sumanth Yamala <Sumanth.Yamala@...>
 

Hi ,

I am using the features of BOSH DNS resolution. Deployed a microbosh. In my deployment manifest I specify for a default network to use 10.0.0.6 as my DNS.

The behavior is: in AWS
It is able to resolve BOSH deployed VM DNS like "0.docker.default.docker-sample.microbosh" but it is unable to resolve yahoo.com. How can I fix this behavior so that this resolves both.

In OpenStack I had a similar issue - I had to put properties:dns:recursor with the name server that resolves the company network and the "www" to get around this.

How do I solve this for AWS?

Thanks,
Sumanth


Re: Download Public Stemcell Parameter?

Quintessence Anx
 

Aha. I was using bosh.io and I was trying to see if users could still
download the stemcells locally using both the BOSH CLI as well as
wget/curl. Is the intention moving forward that eventually users won't be
able to download stemcells with `bosh download public stemcell`?

On Fri, May 1, 2015 at 1:39 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io> wrote:

It has not been officially deprecated just yet (thanks for the reminder!),
but it's definitely better to look at https://bosh.io/stemcells.

On Fri, May 1, 2015 at 9:59 AM, Dr Nic Williams <drnicwilliams(a)gmail.com>
wrote:

I think "bosh public stemcells" is deprecated in lieu of bosh.io. I
think.



On Fri, May 1, 2015 at 9:09 AM, Quintessence Anx <qanx(a)starkandwayne.com>
wrote:

I was playing around with the CLI and I noticed that the output of `bosh
public stemcells` indicates there should be a `--full` parameter;
however, it doesn't seem to work?

```
$ bosh public stemcells
...
To download use 'bosh download public stemcell <stemcell_name>'. For
full url use --full.

$ bosh download public stemcell --full
https://d26ekeud912fhb.cloudfront.net/bosh-stemcell/aws/light-bosh-stemcell-2957-aws-xen-ubuntu-trusty-go_agent.tgz
invalid option: --full
Usage: bosh download public stemcell <stemcell_filename>
```

Is the `--full` parameter deprecated?

Thanks!

Quinn

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Re: Download Public Stemcell Parameter?

Dmitriy Kalinin
 

Correct. Two options of getting stemcells are downloading them locally
(curl/wget) or directly uploading them to the Director (e.g. see
https://bosh.io/stemcells/bosh-aws-xen-hvm-ubuntu-trusty-go_agent).

On Fri, May 1, 2015 at 12:29 PM, Quintessence Anx <qanx(a)starkandwayne.com>
wrote:

Aha. I was using bosh.io and I was trying to see if users could still
download the stemcells locally using both the BOSH CLI as well as
wget/curl. Is the intention moving forward that eventually users won't be
able to download stemcells with `bosh download public stemcell`?

On Fri, May 1, 2015 at 1:39 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

It has not been officially deprecated just yet (thanks for the
reminder!), but it's definitely better to look at
https://bosh.io/stemcells.

On Fri, May 1, 2015 at 9:59 AM, Dr Nic Williams <drnicwilliams(a)gmail.com>
wrote:

I think "bosh public stemcells" is deprecated in lieu of bosh.io. I
think.



On Fri, May 1, 2015 at 9:09 AM, Quintessence Anx <qanx(a)starkandwayne.com
wrote:
I was playing around with the CLI and I noticed that the output of `bosh
public stemcells` indicates there should be a `--full` parameter;
however, it doesn't seem to work?

```
$ bosh public stemcells
...
To download use 'bosh download public stemcell <stemcell_name>'. For
full url use --full.

$ bosh download public stemcell --full
https://d26ekeud912fhb.cloudfront.net/bosh-stemcell/aws/light-bosh-stemcell-2957-aws-xen-ubuntu-trusty-go_agent.tgz
invalid option: --full
Usage: bosh download public stemcell <stemcell_filename>
```

Is the `--full` parameter deprecated?

Thanks!

Quinn

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Re: AWS DNS resolution + micro bosh

Dmitriy Kalinin
 

You should be able to use dns.recursor exactly the same way on AWS as you
did on OpenStack.

Btw AWS provides 10.0.0.2 address in your subnet as a full DNS.

On Fri, May 1, 2015 at 11:43 AM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

Hi ,



I am using the features of BOSH DNS resolution. Deployed a microbosh. In
my deployment manifest I specify for a default network to use 10.0.0.6 as
my DNS.



The behavior is: in AWS

It is able to resolve BOSH deployed VM DNS like
“0.docker.default.docker-sample.microbosh” but it is unable to resolve
yahoo.com. How can I fix this behavior so that this resolves both.



In OpenStack I had a similar issue – I had to put properties:dns:recursor
with the name server that resolves the company network and the “www” to get
around this.



How do I solve this for AWS?



Thanks,

Sumanth

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Cannot Upload Warden Stemcell

Quintessence Anx
 

I was experimenting with the warden stemcells and found that I could upload
a locally downloaded stemcell, but that neither of the following worked:

```
$ bosh upload stemcell
https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent

$ bosh upload stemcell
https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent?v=2776
```

Should we be able to upload the stemcells directly to BOSH lite with a URL?
I based what I was doing off here:

http://bosh.io/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent


Re: AWS DNS resolution + micro bosh

Sumanth Yamala <Sumanth.Yamala@...>
 

I tried putting 10.0.0.2 as my dns.recursor…I am still having issues with DNS resolution on nodes which use network with DNS entry of micro-bosh (10.0.0.6) for the other nodes provisioned there is no issue.

Thanks,
Sumanth



From: Dmitriy Kalinin [mailto:dkalinin(a)pivotal.io]
Sent: Friday, May 01, 2015 3:39 PM
To: Sumanth Yamala
Cc: cf-bosh(a)lists.cloudfoundry.org
Subject: Re: [cf-bosh] AWS DNS resolution + micro bosh

You should be able to use dns.recursor exactly the same way on AWS as you did on OpenStack.

Btw AWS provides 10.0.0.2 address in your subnet as a full DNS.

On Fri, May 1, 2015 at 11:43 AM, Sumanth Yamala <Sumanth.Yamala(a)sas.com<mailto:Sumanth.Yamala(a)sas.com>> wrote:
Hi ,

I am using the features of BOSH DNS resolution. Deployed a microbosh. In my deployment manifest I specify for a default network to use 10.0.0.6 as my DNS.

The behavior is: in AWS
It is able to resolve BOSH deployed VM DNS like “0.docker.default.docker-sample.microbosh” but it is unable to resolve yahoo.com<http://yahoo.com>. How can I fix this behavior so that this resolves both.

In OpenStack I had a similar issue – I had to put properties:dns:recursor with the name server that resolves the company network and the “www” to get around this.

How do I solve this for AWS?

Thanks,
Sumanth

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Re: AWS DNS resolution + micro bosh

Dmitriy Kalinin
 

Does it not work at all or is some error is shown?

On Fri, May 1, 2015 at 1:28 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

I tried putting 10.0.0.2 as my dns.recursor…I am still having issues
with DNS resolution on nodes which use network with DNS entry of micro-bosh
(10.0.0.6) for the other nodes provisioned there is no issue.



Thanks,

Sumanth







*From:* Dmitriy Kalinin [mailto:dkalinin(a)pivotal.io]
*Sent:* Friday, May 01, 2015 3:39 PM
*To:* Sumanth Yamala
*Cc:* cf-bosh(a)lists.cloudfoundry.org
*Subject:* Re: [cf-bosh] AWS DNS resolution + micro bosh



You should be able to use dns.recursor exactly the same way on AWS as you
did on OpenStack.



Btw AWS provides 10.0.0.2 address in your subnet as a full DNS.



On Fri, May 1, 2015 at 11:43 AM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

Hi ,



I am using the features of BOSH DNS resolution. Deployed a microbosh. In
my deployment manifest I specify for a default network to use 10.0.0.6 as
my DNS.



The behavior is: in AWS

It is able to resolve BOSH deployed VM DNS like
“0.docker.default.docker-sample.microbosh” but it is unable to resolve
yahoo.com. How can I fix this behavior so that this resolves both.



In OpenStack I had a similar issue – I had to put properties:dns:recursor
with the name server that resolves the company network and the “www” to get
around this.



How do I solve this for AWS?



Thanks,

Sumanth


_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh



Re: AWS DNS resolution + micro bosh

Sumanth Yamala <Sumanth.Yamala@...>
 

There is no error. That VM hangs when I execute apt-get update or do a traceroute to Yahoo.

Thanks
Sumanth

Sent from my iPhone

On May 1, 2015, at 6:04 PM, "Dmitriy Kalinin" <dkalinin(a)pivotal.io<mailto:dkalinin(a)pivotal.io>> wrote:

Does it not work at all or is some error is shown?

On Fri, May 1, 2015 at 1:28 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com<mailto:Sumanth.Yamala(a)sas.com>> wrote:
I tried putting 10.0.0.2 as my dns.recursor...I am still having issues with DNS resolution on nodes which use network with DNS entry of micro-bosh (10.0.0.6) for the other nodes provisioned there is no issue.

Thanks,
Sumanth



From: Dmitriy Kalinin [mailto:dkalinin(a)pivotal.io<mailto:dkalinin(a)pivotal.io>]
Sent: Friday, May 01, 2015 3:39 PM
To: Sumanth Yamala
Cc: cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>
Subject: Re: [cf-bosh] AWS DNS resolution + micro bosh

You should be able to use dns.recursor exactly the same way on AWS as you did on OpenStack.

Btw AWS provides 10.0.0.2 address in your subnet as a full DNS.

On Fri, May 1, 2015 at 11:43 AM, Sumanth Yamala <Sumanth.Yamala(a)sas.com<mailto:Sumanth.Yamala(a)sas.com>> wrote:
Hi ,

I am using the features of BOSH DNS resolution. Deployed a microbosh. In my deployment manifest I specify for a default network to use 10.0.0.6 as my DNS.

The behavior is: in AWS
It is able to resolve BOSH deployed VM DNS like "0.docker.default.docker-sample.microbosh" but it is unable to resolve yahoo.com<http://yahoo.com>. How can I fix this behavior so that this resolves both.

In OpenStack I had a similar issue - I had to put properties:dns:recursor with the name server that resolves the company network and the "www" to get around this.

How do I solve this for AWS?

Thanks,
Sumanth

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


bosh-init beta release

Dmitriy Kalinin
 

Hey all,

I'm happy to announce beta release of bosh-init.

bosh-init is a tool used to create and update the Director (its VM and
persistent disk) in a BOSH environment. It's meant to replace the micro CLI
plugin.

You can find more information about bosh-init on the following pages:
- http://bosh.io/docs#install section now lists guides for how to use
bosh-init with different IaaSes
- http://bosh.io/docs/install-bosh-init.html shows how to install bosh-init
- http://bosh.io/docs/using-bosh-init.html describes how to use its
deploy/delete commands
- http://bosh.io/docs/migrate-to-bosh-init.html describes how to migrate
from the micro CLI plugin

Let us know about issues you find via Github:
https://github.com/cloudfoundry/bosh-init/issues

Dmitriy & BOSH team


Re: bosh-init beta release

Dr Nic Williams
 

Congrats BOSH team!




I'll upgrade my little tutorial repos to use new GitHub releases asap.

On Fri, May 1, 2015 at 6:04 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

Hey all,
I'm happy to announce beta release of bosh-init.
bosh-init is a tool used to create and update the Director (its VM and
persistent disk) in a BOSH environment. It's meant to replace the micro CLI
plugin.
You can find more information about bosh-init on the following pages:
- http://bosh.io/docs#install section now lists guides for how to use
bosh-init with different IaaSes
- http://bosh.io/docs/install-bosh-init.html shows how to install bosh-init
- http://bosh.io/docs/using-bosh-init.html describes how to use its
deploy/delete commands
- http://bosh.io/docs/migrate-to-bosh-init.html describes how to migrate
from the micro CLI plugin
Let us know about issues you find via Github:
https://github.com/cloudfoundry/bosh-init/issues
Dmitriy & BOSH team


Re: AWS DNS resolution + micro bosh

John Wong
 

By hanging I supposed eventually timeout? If so...you sure you have the
routing table configured for that subnet of your VPC? Create a vm in the
same subnet and try if you get the same hanging.

On Fri, May 1, 2015 at 9:02 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

There is no error. That VM hangs when I execute apt-get update or do a
traceroute to Yahoo.

Thanks
Sumanth

Sent from my iPhone

On May 1, 2015, at 6:04 PM, "Dmitriy Kalinin" <dkalinin(a)pivotal.io> wrote:

Does it not work at all or is some error is shown?

On Fri, May 1, 2015 at 1:28 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

I tried putting 10.0.0.2 as my dns.recursor…I am still having issues
with DNS resolution on nodes which use network with DNS entry of micro-bosh
(10.0.0.6) for the other nodes provisioned there is no issue.



Thanks,

Sumanth







*From:* Dmitriy Kalinin [mailto:dkalinin(a)pivotal.io]
*Sent:* Friday, May 01, 2015 3:39 PM
*To:* Sumanth Yamala
*Cc:* cf-bosh(a)lists.cloudfoundry.org
*Subject:* Re: [cf-bosh] AWS DNS resolution + micro bosh



You should be able to use dns.recursor exactly the same way on AWS as
you did on OpenStack.



Btw AWS provides 10.0.0.2 address in your subnet as a full DNS.



On Fri, May 1, 2015 at 11:43 AM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

Hi ,



I am using the features of BOSH DNS resolution. Deployed a microbosh. In
my deployment manifest I specify for a default network to use 10.0.0.6 as
my DNS.



The behavior is: in AWS

It is able to resolve BOSH deployed VM DNS like
“0.docker.default.docker-sample.microbosh” but it is unable to resolve
yahoo.com. How can I fix this behavior so that this resolves both.



In OpenStack I had a similar issue – I had to put properties:dns:recursor
with the name server that resolves the company network and the “www” to get
around this.



How do I solve this for AWS?



Thanks,

Sumanth


_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh



_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


AWS DNS resolution + micro bosh

John Wong
 

By default everything in a VPC outbound is restricted, whether you are in a
"public subnet" or "private subnet" or not.
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html

The only thing that makes "public subnet" public is that you have a public
IP attached. Regardless, you can tune how traffic is routed via the routing
table.

Amazon has a VPC service and there you can create subnets. One of the
options provides one-click to create public and private subnet with NAT.
This NAT is address translation unit. Basically all outbound traffic in
private subnet will go through this NAT (which resides in the public subnet
with EIP). This is enabled via routing table, which Amazon does the
creation for you. You can also choose to update the routing table yourself,
or create the routing tables and subnets all together on your own (manually
or cloudformation, doesn't matter).

Now, I don't know if your VPC is set up with the concept of public and
private subnet. If not, I urge you run in such mode.


I hope this helps you debug your issue. Run CF in your private subnet. To
allow people to get inside your CF apps use some webserver like nginx; to
allow CF to have outgoing traffic (such as getting packages), go through
the NAT.


On Sat, May 2, 2015 at 3:03 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

I create 2 VMs one with elastic IP and the other one is default network
with 10.0.0.6 as the DNS. Both are created in the same subnet/vpc

The vm with elastic IP has no issues. The Vm with DNS turned on can
resolve other VMs via powerDNS but cannot resolve www.

It eventually times out.

Sent from my iPhone

On May 2, 2015, at 1:48 PM, "John Wong" <gokoproject(a)gmail.com> wrote:

By hanging I supposed eventually timeout? If so...you sure you have the
routing table configured for that subnet of your VPC? Create a vm in the
same subnet and try if you get the same hanging.

On Fri, May 1, 2015 at 9:02 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

There is no error. That VM hangs when I execute apt-get update or do a
traceroute to Yahoo.

Thanks
Sumanth

Sent from my iPhone

On May 1, 2015, at 6:04 PM, "Dmitriy Kalinin" <dkalinin(a)pivotal.io>
wrote:

Does it not work at all or is some error is shown?

On Fri, May 1, 2015 at 1:28 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

I tried putting 10.0.0.2 as my dns.recursor…I am still having issues
with DNS resolution on nodes which use network with DNS entry of micro-bosh
(10.0.0.6) for the other nodes provisioned there is no issue.



Thanks,

Sumanth







*From:* Dmitriy Kalinin [mailto:dkalinin(a)pivotal.io]
*Sent:* Friday, May 01, 2015 3:39 PM
*To:* Sumanth Yamala
*Cc:* cf-bosh(a)lists.cloudfoundry.org
*Subject:* Re: [cf-bosh] AWS DNS resolution + micro bosh



You should be able to use dns.recursor exactly the same way on AWS as
you did on OpenStack.



Btw AWS provides 10.0.0.2 address in your subnet as a full DNS.



On Fri, May 1, 2015 at 11:43 AM, Sumanth Yamala <Sumanth.Yamala(a)sas.com>
wrote:

Hi ,



I am using the features of BOSH DNS resolution. Deployed a microbosh.
In my deployment manifest I specify for a default network to use 10.0.0.6
as my DNS.



The behavior is: in AWS

It is able to resolve BOSH deployed VM DNS like
“0.docker.default.docker-sample.microbosh” but it is unable to resolve
yahoo.com. How can I fix this behavior so that this resolves both.



In OpenStack I had a similar issue – I had to put
properties:dns:recursor with the name server that resolves the company
network and the “www” to get around this.



How do I solve this for AWS?



Thanks,

Sumanth


_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh



_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Re: AWS DNS resolution + micro bosh

Sumanth Yamala <Sumanth.Yamala@...>
 

Thanks. I will try this and keep you posted.

Sent from my iPhone

On May 2, 2015, at 7:14 PM, "John Wong" <gokoproject(a)gmail.com<mailto:gokoproject(a)gmail.com>> wrote:

By default everything in a VPC outbound is restricted, whether you are in a "public subnet" or "private subnet" or not.
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html

The only thing that makes "public subnet" public is that you have a public IP attached. Regardless, you can tune how traffic is routed via the routing table.

Amazon has a VPC service and there you can create subnets. One of the options provides one-click to create public and private subnet with NAT. This NAT is address translation unit. Basically all outbound traffic in private subnet will go through this NAT (which resides in the public subnet with EIP). This is enabled via routing table, which Amazon does the creation for you. You can also choose to update the routing table yourself, or create the routing tables and subnets all together on your own (manually or cloudformation, doesn't matter).

Now, I don't know if your VPC is set up with the concept of public and private subnet. If not, I urge you run in such mode.


I hope this helps you debug your issue. Run CF in your private subnet. To allow people to get inside your CF apps use some webserver like nginx; to allow CF to have outgoing traffic (such as getting packages), go through the NAT.


On Sat, May 2, 2015 at 3:03 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com<mailto:Sumanth.Yamala(a)sas.com>> wrote:
I create 2 VMs one with elastic IP and the other one is default network with 10.0.0.6 as the DNS. Both are created in the same subnet/vpc

The vm with elastic IP has no issues. The Vm with DNS turned on can resolve other VMs via powerDNS but cannot resolve www.

It eventually times out.

Sent from my iPhone

On May 2, 2015, at 1:48 PM, "John Wong" <gokoproject(a)gmail.com<mailto:gokoproject(a)gmail.com>> wrote:

By hanging I supposed eventually timeout? If so...you sure you have the routing table configured for that subnet of your VPC? Create a vm in the same subnet and try if you get the same hanging.

On Fri, May 1, 2015 at 9:02 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com<mailto:Sumanth.Yamala(a)sas.com>> wrote:
There is no error. That VM hangs when I execute apt-get update or do a traceroute to Yahoo.

Thanks
Sumanth

Sent from my iPhone

On May 1, 2015, at 6:04 PM, "Dmitriy Kalinin" <dkalinin(a)pivotal.io<mailto:dkalinin(a)pivotal.io>> wrote:

Does it not work at all or is some error is shown?

On Fri, May 1, 2015 at 1:28 PM, Sumanth Yamala <Sumanth.Yamala(a)sas.com<mailto:Sumanth.Yamala(a)sas.com>> wrote:
I tried putting 10.0.0.2 as my dns.recursor...I am still having issues with DNS resolution on nodes which use network with DNS entry of micro-bosh (10.0.0.6) for the other nodes provisioned there is no issue.

Thanks,
Sumanth



From: Dmitriy Kalinin [mailto:dkalinin(a)pivotal.io<mailto:dkalinin(a)pivotal.io>]
Sent: Friday, May 01, 2015 3:39 PM
To: Sumanth Yamala
Cc: cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>
Subject: Re: [cf-bosh] AWS DNS resolution + micro bosh

You should be able to use dns.recursor exactly the same way on AWS as you did on OpenStack.

Btw AWS provides 10.0.0.2 address in your subnet as a full DNS.

On Fri, May 1, 2015 at 11:43 AM, Sumanth Yamala <Sumanth.Yamala(a)sas.com<mailto:Sumanth.Yamala(a)sas.com>> wrote:
Hi ,

I am using the features of BOSH DNS resolution. Deployed a microbosh. In my deployment manifest I specify for a default network to use 10.0.0.6 as my DNS.

The behavior is: in AWS
It is able to resolve BOSH deployed VM DNS like "0.docker.default.docker-sample.microbosh" but it is unable to resolve yahoo.com<http://yahoo.com>. How can I fix this behavior so that this resolves both.

In OpenStack I had a similar issue - I had to put properties:dns:recursor with the name server that resolves the company network and the "www" to get around this.

How do I solve this for AWS?

Thanks,
Sumanth

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh



_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Re: Using bosh-init to deploy BOSH on OpenStack

王天青 <wang.tianqing.cn at gmail.com...>
 

Thanks Dr Nic and Alexander.

On Thu, Apr 30, 2015 at 10:35 PM Alexander Lomov <
alexander.lomov(a)altoros.com> wrote:

Cool, thank you. Will try it out this week.

------------------------
Alex Lomov
*Altoros* — Cloud Foundry deployment, training and integration
*Twitter:* @code1n <https://twitter.com/code1n> *GitHub:* @allomov
<https://gist.github.com/allomov>

On Thu, Apr 30, 2015 at 5:15 PM, Dr Nic Williams <drnicwilliams(a)gmail.com>
wrote:


http://bosh.io/releases/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release is
the OpenStack CPI

It should work like the AWS one if you have original flat networking.

If you have neutron the you'll need to put in slightly different
networking into the manifest.yml



On Thu, Apr 30, 2015 at 4:23 AM, Alexander Lomov <
alexander.lomov(a)altoros.com> wrote:

bosh-init needs BOSH release for CPI you want to use.

Unfortunately, at this moment there is no CPI BOSH release
for OpenStack, at least I don't know about it. There is nothing in BOSH
repo and http://bosh.io/releases.

So to start deployment to OpenStack you need to find or implement BOSH
CPI release for OpenStack CPI first.

Best wishes,
Alex L.

------------------------
Alex Lomov
*Altoros* — Cloud Foundry deployment, training and integration
*Twitter:* @code1n <https://twitter.com/code1n> *GitHub:* @allomov
<https://gist.github.com/allomov>

On Thu, Apr 30, 2015 at 11:44 AM, 王天青 <wang.tianqing.cn(a)gmail.com>
wrote:

Hi all,

I have read a blog from Dr. Nic Williams, New bosh-init can deploy
anything to a single server. In this blog, he explained very well on how
bosh-init works and gave three examples. One of them is deploying BOSH on
AWS.

I'd like to try to use bosh-init to deploy BOSH on OpenStack, but could
not find any reference doc from bosh.io/docs. Is anyone working the
same thing and could share the manifest? Thanks.

Best Regards~!
Grissom

_______________________________________________
Cf-bosh mailing list
Cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Re: Using bosh-init to deploy BOSH on OpenStack

Dmitriy Kalinin
 

Please see http://bosh.io/docs/init-openstack.html

Sent from my iPhone

On May 3, 2015, at 7:25 PM, 王天青 <wang.tianqing.cn(a)gmail.com> wrote:

Thanks Dr Nic and Alexander.

On Thu, Apr 30, 2015 at 10:35 PM Alexander Lomov <alexander.lomov(a)altoros.com> wrote:
Cool, thank you. Will try it out this week.

------------------------
Alex Lomov
Altoros — Cloud Foundry deployment, training and integration
Twitter: @code1n GitHub: @allomov

On Thu, Apr 30, 2015 at 5:15 PM, Dr Nic Williams <drnicwilliams(a)gmail.com> wrote:
http://bosh.io/releases/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release is the OpenStack CPI

It should work like the AWS one if you have original flat networking.

If you have neutron the you'll need to put in slightly different networking into the manifest.yml



On Thu, Apr 30, 2015 at 4:23 AM, Alexander Lomov <alexander.lomov(a)altoros.com> wrote:
bosh-init needs BOSH release for CPI you want to use.

Unfortunately, at this moment there is no CPI BOSH release for OpenStack, at least I don't know about it. There is nothing in BOSH repo and http://bosh.io/releases.

So to start deployment to OpenStack you need to find or implement BOSH CPI release for OpenStack CPI first.

Best wishes,
Alex L.

------------------------
Alex Lomov
Altoros — Cloud Foundry deployment, training and integration
Twitter: @code1n GitHub: @allomov

On Thu, Apr 30, 2015 at 11:44 AM, 王天青 <wang.tianqing.cn(a)gmail.com> wrote:
Hi all,

I have read a blog from Dr. Nic Williams, New bosh-init can deploy anything to a single server. In this blog, he explained very well on how bosh-init works and gave three examples. One of them is deploying BOSH on AWS.

I'd like to try to use bosh-init to deploy BOSH on OpenStack, but could not find any reference doc from bosh.io/docs. Is anyone working the same thing and could share the manifest? Thanks.

Best Regards~!
Grissom

_______________________________________________
Cf-bosh mailing list
Cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh