Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

"bosh micro deploy" proxy support #77

Closed
qch1843 opened this Issue Mar 15, 2013 · 6 comments

Comments

Projects
None yet
5 participants

qch1843 commented Mar 15, 2013

Hi,

I seems "bosh micro deploy" doesn't work from behind a proxy? (https://groups.google.com/a/cloudfoundry.org/forum/#!topic/bosh-users/kJ6PCC1CN5A)

Could the proxy support be added? Most of the corporate users are behind firewall/proxy.

Thanks,
Steven

@ghost ghost assigned pmenglund Mar 15, 2013

Contributor

pmenglund commented Mar 15, 2013

Can you try setting proxy_url in your micro_bosh.yml:

cloud:
  plugin: aws
  properties:
    aws:
      access_key_id: ...
      secret_access_key: ...
      proxy_uri: http://your-proxy.com
apply_spec:
  properties:
    aws:
      access_key_id: ...
      secret_access_key: ...
      proxy_uri: http://your-proxy.com

That should take care of the communication with the AWS API endpoint, but there are later steps which I still think will fail...

qch1843 commented Mar 18, 2013

Hi,

I had a try by adding proxy_uri into cloud/properties/aws section, but bosh micro deploy still failed with same error. My micro_bosh.yml is attached below, I don't have apply_spec/properties/aws section, not sure whether it's ciricial.

---
name: aws

logging:
  level: DEBUG

network:
  type: dynamic
  vip: xx.xx.xx.xx

resources:
  persistent_disk: 20000
  cloud_properties:
    instance_type: m1.small
    availability_zone: eu-west-1a

cloud:
  plugin: aws
  properties:
    aws:
      access_key_id: xxxxxxxxxxxxxxxxxxx
      secret_access_key:  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      proxy_uri: http://10.144.1.10:8080
      default_key_name: bosh
      default_security_groups: ["bosh"]
      ec2_private_key: ~/.ssh/bosh.pem
      ec2_endpoint: ec2.eu-west-1.amazonaws.com

apply_spec:
  agent:
    blobstore:
      address: xx.xx.xx.xx
    nats:
      address: xx.xx.xx.xx
  properties:
    aws_registry:
      address: xx.xx.xx.xx
Member

drnic commented Jun 11, 2013

Martin, was his config correct?

Contributor

pmenglund commented Jun 11, 2013

It looks like it is correct

Contributor

jfoley commented Aug 14, 2013

@tsaleh - Can you comment?

@aramprice / @jfoley

Contributor

tsaleh commented Aug 15, 2013

Hi @qch1843 - proxy support is something we'd be happy to accept if given a pull request, but not something that's currently prioritized on the roadmap. I'm going to close this issue. Please reference it if you (or anyone else) want to take it on as a PR.

@tsaleh tsaleh closed this Aug 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment