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

Can "travis-worker" for openstack backend spin up VM instance using "volume" #612

Open
ghatwala opened this issue Oct 3, 2019 · 4 comments

Comments

@ghatwala
Copy link

ghatwala commented Oct 3, 2019

Hi All,

In an Openstack environment , would there be a worker support in spinning up VM instance using "volume" as "booting source" besides "image".

As seen from here - https://github.com/travis-ci/worker/blob/master/backend/openstack.go. It appears to me that feature support of "booting from volume" is not present. Seems this booting option is yet to be added from here - https://github.com/rackspace/gophercloud/tree/master/openstack/compute/v2/extensions/bootfromvolume

Please let me know if my understanding is correct and what are the plans if any to add below options for "openstack" backend.

  1. Select Boot Source --> "volume"
  2. Delete Volume on Instance Delete --> "yes" or "no" (options)
@ghatwala ghatwala changed the title Can "travis-worker" spin up an VM instance using "volume" Can "travis-worker" spin up VM instance using "volume" Oct 3, 2019
@ghatwala ghatwala changed the title Can "travis-worker" spin up VM instance using "volume" Can "travis-worker" for openstack backend spin up VM instance using "volume" Oct 15, 2019
@michal-at-travisci
Copy link

Hi @ghatwala

Could you elaborate on use case behind question?

@ghatwala
Copy link
Author

ghatwala commented Oct 16, 2019

Hi @michal-at-travisci - Giving some history here - This request originated from a Travis/power build slowness for "containerd" - containerd/containerd#3491 (comment).

Analysis proved that the power jobs were failing at OSU whereas passing at PDC ( We have two openstack based data centers ( PDC and OSU ) for supporting power builds at travis-ci.org )
Further analysis of OSU env pointed to HDD being the culprit , alternative suggested was to use SSD available there to spin with VMs via travis-worker hosted there for openstack backend.

As we know worker with openstack backend currently lacks the support to spin up VMs with "booting from volume" option , as that feature support was not added from here -
https://github.com/rackspace/gophercloud/tree/master/openstack/compute/v2/extensions/bootfromvolume

So wanted to know

Please let me know your opinion/thoughts ?

@clnperez
Copy link

Whatever happened to all this investigation? :D

@ghatwala
Copy link
Author

@clnperez - FYI , Above option was needed when Travis workers (for ppc64le) were running on a openstack backend , However post github universe , Travis officially supports LXD containers builds now( workers are at IBM cloud now). There is still the older legacy job queue active at Travis which caters to VM based jobs at "travis-ci.org" , however the plan is move everyone to new backend (LXD) as early as possible. There is a future plan to give option to user to deploy power jobs on LXD containers or VM will let @michal-at-travisci to add more .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants