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

Zones #5

Closed
selvivg opened this issue May 4, 2014 · 5 comments
Closed

Zones #5

selvivg opened this issue May 4, 2014 · 5 comments

Comments

@selvivg
Copy link

selvivg commented May 4, 2014

how to list zones.I am not able to list it using getAvailabilityZone...but it doesn't seems to work

@gondor
Copy link
Member

gondor commented May 5, 2014

Could you provide a little more information, for example:

What is the output of the call?
Do you have zones configured (ie. multiple compute nodes setup, etc)?

Any other details that can help me understand your current setup would be useful.

@selvivg
Copy link
Author

selvivg commented May 6, 2014

i have deployed openstack using devstack.And i am trying to list the zones as a part of virtual machine template.The output which i am getting is null for zones.i have not configured the zones.
NovaServerCreate.builder().build().getAvailabilityZone();is what i am using

@gondor
Copy link
Member

gondor commented May 7, 2014

Well based on the code above you have simply created the object which needs to be executed in a boot. Have you tried booting it and then viewing the AvailabiltyZones on the return object from booting the server?

Also typically availability zones aren't defined unless you have explicitly set openstack up with multiple compute nodes and have zoned it in the configuration

@selvivg
Copy link
Author

selvivg commented Jun 26, 2014

is setting up openstack with multiple compute node a necessity.Because when i create the instance i can view the dashboard that instance availability zone is nova...But the problem that i am facing is that i am not getting how to get the zone while creating template.I am not getting a proper function to fetch the availability zone For example for getting list of flavors we have List flavors = os.compute().flavors().list().Do we have any functions or other way other than i have used to get the zone .

@gondor gondor added this to the 1.0.2 Release milestone Sep 25, 2014
@gondor
Copy link
Member

gondor commented Sep 25, 2014

Added by @octupszhang recently. Usage:

AvailabilityZones zones = os.compute().zones().getAvailabilityZones();

@gondor gondor closed this as completed Sep 25, 2014
gondor pushed a commit that referenced this issue Jun 1, 2016
emjburns pushed a commit to emjburns/openstack4j that referenced this issue Jul 26, 2016
test coverage for loadbalancersv2, listeners, healthmonitorsv2
ashleycutalo added a commit to ashleycutalo/openstack4j that referenced this issue Jul 27, 2016
test coverage for loadbalancersv2, listeners, healthmonitorsv2
auhlig pushed a commit that referenced this issue Dec 22, 2016
mtraynham referenced this issue in pureport/openstack4j Sep 19, 2019
This is a rebase & squash of the 3.1.1-pureport-1.1 tag (6e71d50) onto
ContainX/openstack4j/master (44c7ae1).
- All Java code changes have been excluded (these are PR branches)
- POM files are updated with the Pureport versions
- Jenkinsfile has been added
- Tests have been disabled

The rebase log looks like:
pick d3036c5 [PE-344] Changes to support automated releases:
fixup 7a90335 [PE-344] Add QoS Policy ID to port
drop 4475be5 Feature/pe 344 support listing qos policies (#4)
drop c95b907 [PE-334] Add ability to set a fixed IP on a network port. (#5)
squash 8424914 [PE-423] Switch to newer gitflow plugin which supports releasing from detached HEAD which is how Jenkins checks out the code from git. (#7)
squash 0594ad6 Set GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL environment variables so that shell git can properly.
squash fab9705 Attempt to use credentials plugin and ssh-agent to configure the key for git.
squash 211d0a0 Update versions for release
squash ce0c5f6 Update for next development version
squash b6a779e Use sonatype-nexus-releases repository for releases with the Maven Release plugin. Revert back to 1.0-SNAPSHOT. Don't skip the deploy process during the release.
squash e0d7a84 Reverting back to 1.0-SNAPSHOT
squash 3cdb675 Run deploy post release goal.
squash f884c50 Update versions for release
squash 8aef10e Update for next development version
squash 3763da0 Changing dev version to 3.1.1-pureport-1.1-SNAPSHOT
drop f0b5eca [PE-626] Make Network MTU writable assuming that the net-mtu-writable extension is enabled.
squash 85f7dfb Update versions for release
mtraynham referenced this issue in pureport/openstack4j Sep 19, 2019
This is a rebase & squash of the 3.1.1-pureport-1.1 tag (6e71d50) onto
ContainX/openstack4j/master (44c7ae1).
- All Java code changes have been excluded (these are PR branches)
- POM files are updated with the Pureport versions
- Jenkinsfile has been added
- Tests have been disabled

The rebase log looks like:
pick d3036c5 [PE-344] Changes to support automated releases:
drop 7a90335 [PE-344] Add QoS Policy ID to port
fixup 4475be5 Feature/pe 344 support listing qos policies (#4)
drop c95b907 [PE-334] Add ability to set a fixed IP on a network port. (#5)
squash 8424914 [PE-423] Switch to newer gitflow plugin which supports releasing from detached HEAD which is how Jenkins checks out the code from git. (#7)
squash 0594ad6 Set GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL environment variables so that shell git can properly.
squash fab9705 Attempt to use credentials plugin and ssh-agent to configure the key for git.
squash 211d0a0 Update versions for release
squash ce0c5f6 Update for next development version
squash b6a779e Use sonatype-nexus-releases repository for releases with the Maven Release plugin. Revert back to 1.0-SNAPSHOT. Don't skip the deploy process during the release.
squash e0d7a84 Reverting back to 1.0-SNAPSHOT
squash 3cdb675 Run deploy post release goal.
squash f884c50 Update versions for release
squash 8aef10e Update for next development version
squash 3763da0 Changing dev version to 3.1.1-pureport-1.1-SNAPSHOT
drop f0b5eca [PE-626] Make Network MTU writable assuming that the net-mtu-writable extension is enabled.
squash 85f7dfb Update versions for release

The dropped commits have been created into PRs and will subsequently be merged:
Old: 7a90335 & 4475be5 -> New: 1e007b1 - ContainX#1260
Old: f0b5eca -> New: 37bff3d - ContainX#1261
Old: c95b907 -> New: 09feaac - ContainX#1262
jsaroja66 pushed a commit to jsaroja66/openstack4j that referenced this issue Mar 13, 2020
jsaroja66 pushed a commit to jsaroja66/openstack4j that referenced this issue Mar 13, 2020
Fix ContainX#5: Move to timestamped betamax snapshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants