Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple regions #148

Merged
merged 1 commit into from
Mar 5, 2015
Merged

Support multiple regions #148

merged 1 commit into from
Mar 5, 2015

Conversation

jedipunkz
Copy link
Contributor

I enable you to use knife-openstack on multi region OpenStack.

if you write knife.rb such as ...

knife[:openstack_region] = "region-b.geo-1"

you can specify region name.
I tested on Helion OpenStack.

Thanks from Tokyo.

@jjasghar
Copy link
Contributor

jjasghar commented Nov 1, 2014

I have to admit, this is pretty cool. I need to test it out but #139 was asking for this.

On the flip side though you leveraged this with HP's helion? You know we have knife-hp right? It might be closer to what you're looking for.

Though if we have feature parity with knife-openstack/knife-hp, then we might start looking into depreciating knife-hp 👍

@jedipunkz
Copy link
Contributor Author

yes, I know knife-hp and I am using. There are several reason, I have to use knife-openstack on Helion. :)

and F.Y.I.

I am fog user and I am using fog/openstack and fog/hp on HP Helion OpenStack. so maybe you can have feature with knife-openstack/knife-hp.

Thanks !

@jjasghar
Copy link
Contributor

jjasghar commented Mar 5, 2015

I'm good with this, but can you add this to the README also? We need to document this option.

This link line 96 looks like it confirms this.

@jjasghar
Copy link
Contributor

jjasghar commented Mar 5, 2015

Scratch this, it works.

10:10:20 knife-openstack > (jedipunkz-master) knife openstack server list -VV
INFO: Using configuration from /Users/jasghar/.chef/knife.rb
DEBUG: openstack_username jjasghar
DEBUG: openstack_auth_url https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
DEBUG: openstack_tenant 10917180154984-Project
DEBUG: openstack_endpoint_type publicURL
DEBUG: openstack_insecure
DEBUG: Using fog version: 1.27.0
Name  Instance ID  Public IP  Private IP  Flavor  Image  Keypair  State  Availability Zone
10:11:04 knife-openstack > (jedipunkz-master)

I'll add it to the README.

jjasghar pushed a commit that referenced this pull request Mar 5, 2015
@jjasghar jjasghar merged commit 9977ee8 into chef:master Mar 5, 2015
@tas50 tas50 changed the title support multi region. Support multiple regions Dec 12, 2016
@tas50 tas50 added Type: Enhancement Adds new functionality. and removed Enhancement labels Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants