Bug 2176787
| Summary: | Headless service functionality loss for OCP-V VMs on live migration | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Antonio Cardace <acardace> |
| Component: | Virtualization | Assignee: | lpivarc |
| Status: | CLOSED ERRATA | QA Contact: | zhe peng <zpeng> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.11.2 | CC: | acardace, danken, kbidarka, lpivarc, pvilayat |
| Target Milestone: | --- | ||
| Target Release: | 4.11.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2166510 | Environment: | |
| Last Closed: | 2023-05-30 15:37:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2166510 | ||
| Bug Blocks: | 2176785 | ||
|
Description
Antonio Cardace
2023-03-09 10:05:24 UTC
Can this move to ON_QA? Why wasn't it automatic? I believe that from past conversations the ON_QE is responsibility of QE. This can be safely moved to ON_QE if I my memory failed me. verify with build: CNV-v4.11.4-113
step:
1: Created a headless service.
apiVersion: v1
kind: Service
metadata:
name: subdomain
spec:
clusterIP: None
selector:
app: test-app
ports:
- protocol: TCP
port: 80
targetPort: 3000
2: create a vm with:
...
spec:
hostname: "myvmi"
subdomain: "mysubdomain"
domain:
...
3: start vm and check virt-launcher
$ oc get pods virt-launcher-fedora-stiff-tyrannosaurus-4pxfd -o yaml | egrep 'hostname|subdomain'
hostname: myvmi
subdomain: mysubdomain
4: do livemigration
$ oc get pods
NAME READY STATUS RESTARTS AGE
virt-launcher-fedora-stiff-tyrannosaurus-4pxfd 0/1 Completed 0 107s
virt-launcher-fedora-stiff-tyrannosaurus-v7xjb 1/1 Running 0 23s
after migration, check target launcher
$ oc get pods virt-launcher-fedora-stiff-tyrannosaurus-v7xjb -o yaml | egrep 'hostname|subdomain'
...
hostname: myvmi
subdomain: mysubdomain
move to verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Virtualization 4.11.4 Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2023:3352 |