Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"bosh micro deploy" proxy support #77

Closed
qch1843 opened this Issue · 6 comments

5 participants

@qch1843

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

@pmenglund pmenglund was assigned
@pmenglund

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

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
@drnic

Martin, was his config correct?

@pmenglund

It looks like it is correct

@jfoley

@tsaleh - Can you comment?

@aramprice / @jfoley

@tsaleh
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.