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

Use correct tag for launcher image #247

Merged
merged 1 commit into from
Jun 13, 2017
Merged

Conversation

rmohr
Copy link
Member

@rmohr rmohr commented Jun 8, 2017

Use the launcher image and tag, as specified on the commandline, instead
of a hardcoded launcher image.

Fixes #245

@rmohr
Copy link
Member Author

rmohr commented Jun 8, 2017

Functional tests are passing.

@davidvossel
Copy link
Member

Regression tests are failing because not all references to NewTemplateService have not been updated to take multiple arguments.

NewTemplateService is referenced quite a few places.

grep -r -n "NewTemplateService" .
./cmd/virt-controller/virt-controller.go:52:	templateService, err := services.NewTemplateService(*launcherImage)
./pkg/virt-controller/watch/migration_test.go:81:		templateService, _ := services.NewTemplateService("kubevirt/virt-launcher")
./pkg/virt-controller/watch/migration_test.go:114:		templateService, err := services.NewTemplateService("whatever")
./pkg/virt-controller/watch/migration_test.go:781:	temlateService, err := services.NewTemplateService("whatever")
./pkg/virt-controller/watch/vm_test.go:63:		templateService, _ := services.NewTemplateService("kubevirt/virt-launcher")
./pkg/virt-controller/watch/vm_test.go:96:			temlateService, err := services.NewTemplateService("whatever")
./pkg/virt-controller/watch/vm_test.go:150:			temlateService, err := services.NewTemplateService("whatever")
./pkg/virt-controller/services/vm_test.go:56:		templateService, _ := NewTemplateService("kubevirt/virt-launcher")
./pkg/virt-controller/services/template.go:144:func NewTemplateService(launcherImage string) (TemplateService, error) {
./pkg/virt-controller/services/template_test.go:37:	svc, err := NewTemplateService("kubevirt/virt-launcher")

@davidvossel
Copy link
Member

Is this patch a stop gap to moving the migration script into a separate container? It seems a bit weird to be overloading the virt-handler container with this logic, but it's possible there is some context to this I'm missing.

@rmohr
Copy link
Member Author

rmohr commented Jun 13, 2017

@davidvossel There is no real reason. I think splitting it makes sense.

Use the launcher image and tag, as specified on the commandline, instead
of a hardcoded launcher image.
@davidvossel
Copy link
Member

this looks good to me. we can address splitting out migrations into a separate container later.

@admiyo admiyo merged commit b687ac5 into kubevirt:master Jun 13, 2017
kubevirt-bot pushed a commit to kubevirt-bot/kubevirt that referenced this pull request Nov 6, 2020
mzzgaopeng pushed a commit to mzzgaopeng/kubevirt that referenced this pull request Mar 8, 2021
SPEC: introduce "args" field and new error code
kubevirt-bot pushed a commit to kubevirt-bot/kubevirt that referenced this pull request Dec 7, 2021
Also:
- Incrase cluster-up workers memory
- Use OVNKubernetes as networking type
- Free cached/buffer memory before cluster-up and provision

Signed-off-by: Quique Llorente <ellorent@redhat.com>
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

Successfully merging this pull request may close these issues.

None yet

3 participants