| Summary: | [RFE] Retrieve list of interface names as they appear under the OS for each flavor | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jason Montleon <jmontleo> |
| Component: | openstack-ironic | Assignee: | Lucas Alvares Gomes <lmartins> |
| Status: | CLOSED WONTFIX | QA Contact: | Toure Dunnon <tdunnon> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 (Kilo) | CC: | kbasil, mburns, rhel-osp-director-maint, srevivo |
| Target Milestone: | --- | Keywords: | FutureFeature, ZStream |
| Target Release: | 8.0 (Liberty) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-01 13:28:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Description of problem: Within RHCI, we automate the install of CFME on top of OSP (or RHEV) after taking some input from the user. Because we potentially deploy CFME on top of OSP we have need to configure networking for OSP during the deployment. One of the pieces of information we need from the user is which interface to use for the neutron public interface for the controllers. This is currently taken from the user in a free form manner as eth0, em1, p1p1, or pretty much anything they enter. It would be helpful if we can get a list of interfaces for a given flavor so we can provide a drop down to help minimize the possibility of choosing a non-existent interface which breaks the deployment. Currently, from the information on nodes and ports in ironic I see nothing that provides this information: [root@undercloud ~]# ironic node-show 15f411f7-1541-43d0-b0fa-cf8dba768daf +------------------------+-----------------------------------------------------------------------+ | Property | Value | +------------------------+-----------------------------------------------------------------------+ | target_power_state | None | | extra | {u'newly_discovered': u'true', u'block_devices': {u'serials': | | | [u'QM00005']}, u'hardware_swift_object': u'extra_hardware- | | | 15f411f7-1541-43d0-b0fa-cf8dba768daf'} | | last_error | None | | updated_at | 2016-01-20T19:46:23+00:00 | | maintenance_reason | None | | provision_state | available | | uuid | 15f411f7-1541-43d0-b0fa-cf8dba768daf | | console_enabled | False | | target_provision_state | None | | maintenance | False | | inspection_started_at | None | | inspection_finished_at | None | | power_state | power off | | driver | pxe_ssh | | reservation | None | | properties | {u'memory_mb': u'16384', u'cpu_arch': u'x86_64', u'local_gb': u'100', | | | u'cpus': u'16', u'capabilities': u'boot_option:local'} | | instance_uuid | None | | name | None | | driver_info | {u'ssh_username': u'root', u'deploy_kernel': | | | u'77b0a3d0-4778-4357-ac31-5588f1805c18', u'deploy_ramdisk': | | | u'a8a98ef7-76b9-4910-8462-dcbce69e5a9a', u'ssh_password': u'******', | | | u'ssh_virt_type': u'virsh', u'ssh_address': u'192.0.2.253'} | | created_at | 2016-01-20T13:40:52+00:00 | | driver_internal_info | {u'clean_steps': None} | | chassis_uuid | | | instance_info | {} | +------------------------+-----------------------------------------------------------------------+ [root@undercloud ~]# ironic port-list +--------------------------------------+-------------------+ | UUID | Address | +--------------------------------------+-------------------+ | 3147322e-27f5-4024-8d2c-a42d1dd7b1cb | 52:54:00:aa:98:b0 | | af648555-f720-4d99-9068-bf92a1587c4f | 52:54:00:94:86:f9 | | 6fbef8d5-6539-4df6-b99d-6a8672f0f6e8 | 52:54:00:60:ca:a4 | | 4179c664-2f72-40fe-bbe1-5cba58647962 | 52:54:00:bb:e4:22 | | 958536bd-0693-459b-bccb-bb4750f222aa | 52:54:00:18:1b:1f | +--------------------------------------+-------------------+