Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
WIP: Implement OpenStack Nova (Compute) AZs #30757
Conversation
googlebot
added
the
cla: yes
label
Aug 17, 2016
k8s-bot
commented
Aug 17, 2016
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
k8s-bot
commented
Aug 17, 2016
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
k8s-bot
commented
Aug 17, 2016
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
k8s-bot
commented
Aug 17, 2016
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
k8s-bot
commented
Aug 17, 2016
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
k8s-bot
commented
Aug 17, 2016
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
k8s-bot
commented
Aug 17, 2016
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
k8s-merge-robot
assigned
mikedanese
Aug 17, 2016
k8s-merge-robot
added
size/M
release-note-label-needed
labels
Aug 17, 2016
|
Patch has now been tested against OpenStack Liberty, where the az happened to be the default of "nova" in a "region1" region:
|
|
@kubernetes/sig-openstack |
|
adding @anguslees |
|
I like the patch, but I think we should hold off until we can read metadata from config-drive too. Specifically, I'm concerned that removing the bit that reads instanceID from /var/lib/cloud will break a bunch of things for deployments that don't provide metadata server, and that breakage will be worse than not providing az info. I have some old code for config-drive support that I've been meaning to rebase for a while, let me accelerate that.. |
|
For completeness, another alternative for az info would be to pull OS-EXT-AZ:availability_zone info from a nova lookup (possibly remotely). I think this requires the extension to be added to gophercloud first however. |
harlowja
commented
Aug 26, 2016
•
|
Just a late comment,
Since The thing most people don't know I think is that Just seems like what's needed is a better helper-tool to extract that data for usage here? |
|
@harlowja - ah. I actually spent a good 30 mins trying to find out what I could expect from that file, but without a defined format, I felt I was barking up the private no guarantee over backwards compatibility tree! Is that considered a stable cloud-init interface? |
harlowja
commented
Aug 26, 2016
|
As for a stable interface, hmmm, I wouldn't say the file itself is, but it could be, or a tool that extracts info from it could be IMHO. |
|
@harlowja a tool to handle the data (or - a directory structure on disk mirroring the API's you have crawled?) would certainly be useful. |
It would also require that each instance has API credentials for the OpenStack APIs, which would be rather annoying given OpenStack's pretty basic authorization policies. Most clouds have "user" or "cloud wide admin" and nothing else. |
k8s-bot
commented
Aug 29, 2016
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. |
harlowja
commented
Aug 29, 2016
•
|
Right, scott (one of the other cloud-init authors) and I have wanted that for a while; maybe this can be the motivating factor ;) |
|
@anguslees don't mind at all, will test out your PR ASAP |
k8s-bot
commented
Sep 1, 2016
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. |
|
Closed in favor of #31671 |
kiall commentedAug 17, 2016
•
Edited 1 time
-
kiall
Aug 17, 2016
WIP - Looking for feedback.
to call the metadata service anyway to get the availability zone.
Q: I'd love to see this backported to 1.3, but I suspect this removal might prevent that.
both ID and AZ.
Q: The OpenStack provider is missing more data, e.g. instance type. These feel like they should be updated and implemented similarly to AWS's selfAwsInstance struct. But, again, as we would very much like to see a 1.3 backport, I've held off. If a 1.3 backport is off the table, I make the switch.
We do not yet implement Cinder (Block Storage) AZs, as OpenStack does
not enforce AZ affinity of Compute and Block Storage. Additionally,
many OpenStack deployments use a single block storage AZ, where the
backing storage driver itself implements this failure domain. Any
Block Storage AZ support must take this quirk into account.
This change is