Bug 1663273
Summary: | Interfaces name get replacement '-' to '_' and fail at 'VM CONFIGURATION' | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Arano-kai <captcha.is.evil> | ||||
Component: | Network | Assignee: | Simone Tiraboschi <stirabos> | ||||
Status: | CLOSED CANTFIX | QA Contact: | meital avital <mavital> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 2.2.24 | CC: | bugs, captcha.is.evil | ||||
Target Milestone: | ovirt-4.3.2 | Flags: | rule-engine:
ovirt-4.3+
|
||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-02-27 08:50:54 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Moving to 4.3.2 not being identified as blocker for 4.3.1. We can only work with vlan.number so there's not much we can do for working on vlan with this naming schema. Closing cantfix. |
Created attachment 1518159 [details] patch for `get_network_interfaces.yml` and logs from different runs Description of problem: Interfaces like 'vlan-4' will detected as 'vlan_4' at 'HOST NETWORK CONFIGURATION' stage and fail with "Failed to execute stage 'Environment customization': Command '/sbin/ip' failed to execute" at 'VM CONFIGURATION' stage. Version-Release number of selected component (if applicable): ovirt-hosted-engine-setup-2.2.32-1.el7.noarch How reproducible: Always Steps to Reproduce: 1. Create some vlan with '-' in name (ex.: "vlan-4"). 2. Run 'hosted-engine --deploy' up to 'HOST NETWORK CONFIGURATION' stage. 3. Make sure that created interface get replacement from '-' to '_' in that name (ex.: "vlan_4"). 4. Try to use correct name (ex.: "vlan-4") and fail to do so. 5. Use proposed name and get fail at 'VM CONFIGURATION' stage. Actual results: [ ERROR ] Failed to execute stage 'Environment customization': Command '/sbin/ip' failed to execute Expected results: Proceed to the next stage Additional info: Problem is in 'ovirt-hosted-engine-setup/ansible/get_network_interfaces.yml', which replaces '-' to '_' to get valid var name. Patch to address this issue in attachment, but this fixup raise another problem: "[ ERROR ] Failed to execute stage 'Environment customization': Cannot acquire nic/bridge address" in 'VM CONFIGURATION'. Traces lead me to 'ovirt-hosted-engine-setup/plugins/gr-he-common/vm/cloud_init.py' (line 118-144) that I can't debug further. Trace get by `strace -fe trace=process hosted-engine --deploy`. Interface names in trace: vl-23, vl-24, lacp1 Attached archive content: get_network_interfaces.yml.patch trace.log - trace from current run, POI at 1188 trace_patched.log - trace after patch applied, POI at 1201 ovirt-hosted-engine-setup_logs - setup logs from current run ovirt-hosted-engine-setup_logs_patched - setup logs after patch applied