-
Notifications
You must be signed in to change notification settings - Fork 49
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
Comments and Documentation not sufficient for implementing new cloud environments. #251
Comments
Hello... yes, this documentation is a work in progress, certainly! Question: do you intend to add this adapters through libcloud or with a native python client? |
Native python. I am trying to guess on what some of the functions do. And also what should be set and what you should expect to be passed in. |
Alright, I have started populating the short description in https://github.com/ibmcb/cbtool/wiki/FAQ-D with a little bit more detail, regarding the different methods. I was busy with other projects the past week, but should be free to quickly answer any questions that you have this coming week. |
Awesome, I just back to work from Surgery so I will be in and out for the week. I will take a look and let you know if I have any questions. |
I have started a blank template here. The only question I have is how do you know what will is required/optional in obj_attr_list? Also, how do you know what to set in it as well? Also, is there any documentation on the config/templates? I am not 100% sure on what some of the properties mean. |
What is required and what is optional on the obj_attr_list is cloud-dependent. This dictionary gets populated in https://github.com/ibmcb/cbtool/blob/master/lib/operations/base_operations.py#L925, with the values that it reads from the |
So I "think" I have everything filled in but it is complaining with this,
Do you know what this is and where it comes from? I saw similar configuration type files under configs/regression but I don't see any for the current Azure configuration. |
Hmmm... just making sure that you have a sane configuration. So, taking SoftLayer as an example... https://github.ibm.com/marcios/cloudbench/blob/master/configs/templates/_slr.txt... every attribute that has a value of For reference, here is the example private configuration file for a SoftLayer cloud: https://github.ibm.com/marcios/cloudbench/blob/master/configs/cloud_definitions.txt#L94 Does it help? |
I can't access those links. |
Argh, my apologies, I used the links from our internal repo! Here it goes again, with the correct links: So, taking SoftLayer as an example... https://github.com/ibmcb/cbtool/blob/master/configs/templates/_slr.txt ... every attribute that has a value of need_to_be_configured_by_user (e.g. https://github.com/ibmcb/cbtool/blob/master/configs/templates/_slr.txt#L7) needs to be present on your private configuration file while trying to attach a cloud... For reference, here is the example private configuration file for a SoftLayer cloud: https://github.com/ibmcb/cbtool/blob/master/configs/cloud_definitions.txt#L85 Does it help? |
I filled those in for AzureStack [link]. Where does CLOUDOPTION_TESTAZSCLOUD come from? |
That comes from https://github.com/deathly809/cbtool/blob/8ef87595f3ce9631e8a4d736c3d18c5607392288/configs/cloud_definitions.txt#L24 Also, make sure that the |
I am trying to convert the sizes in the Azure text file to more modern values, but I don't know what size:1gb is, in fact I can't find any reference to it in LibCloud. |
A mistake (from my part, when I copied from Digital Ocean).... please use "Large".... |
Will make the change. Also, there are a few functions that are required but not listed in the Appendix as required.
EDIT: Also, when I create a VM how can I tell if I should use a private vs. public IP address? I don't think I can create a public IP address for every VM it might want to create. Or does CBTool on create a single VM for each benchmarch? |
Hello again. Thanks will add all 3 functions to the list of mandatory functions. Regarding the public vs private IPs, please let me know if this answers your question: https://github.com/ibmcb/cbtool/wiki/FAQ-S#sq6 I must also point out that, for the current libcloud-based Azure adapter, the behavior seems to be, when the first instance is created, a new Public IP gets allocated, and subsequent instances are SSH-accessible through a different port using the same Public IP. (e.g., https://github.com/ibmcb/cbtool/blob/master/lib/clouds/libcloud_common.py#L710) |
Thanks, I will take a look. Does CBTOOL know to use the different ports? How would I report that information to CBTOOL? I have some other questions on things that are not clear.
|
CBTOOL will know use whatever port in is specified on Regarding the other question, here are my answers:
|
We want to add support for AzureStack, Microsoft's hybrid cloud. However the documentation in the Wiki on doing this is not clear. Also, all the comments are TBD for each cloud operation.
The text was updated successfully, but these errors were encountered: