Bug 1119443
Summary: | Packstack is 'hard-coded' on eth1 (fails on a CentOs7 vanilla installation | ||
---|---|---|---|
Product: | [Community] RDO | Reporter: | Yaniv Kaul <mykaul> |
Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> |
Status: | CLOSED NOTABUG | QA Contact: | Ami Jeain <ajeain> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | aortega, derekh, lars, mykaul, rbowen, yeylon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-03 13:56:49 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1206867 |
Description
Yaniv Kaul
2014-07-14 19:32:09 UTC
I'm not sure what would be a good interface to choose from. In my case, either enp4s0f0 or enp4s0f1 would have been good. For whatever it's worth, I'm getting the same error, and ... : [rbowen@localhost ~]$ sudo ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 link/ether f0:de:f1:dc:2a:08 brd ff:ff:ff:ff:ff:ff 3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 10:0b:a9:c7:05:60 brd ff:ff:ff:ff:ff:ff inet 192.168.0.176/24 brd 192.168.0.255 scope global dynamic wlp3s0 valid_lft 85484sec preferred_lft 85484sec inet6 fe80::120b:a9ff:fec7:560/64 scope link valid_lft forever preferred_lft forever So it looks like, in this case, I'd want wlp3s0. This is a fresh CentOS7 install. Perhaps packstack needs to be a little smarter than just having default interface names? Looks possibly related to the discussion at https://openstack.redhat.com/forum/discussion/500/rdo-install-issues-on-f19-eth1-django14/p1 If "packstack --allinone" is failing, that is an actual problem and we should try to correct it. But if you are encountering this error on a multi-node install, I'm not sure that there's any sane way for packstack to select among multiple interfaces. The solution in this latter case is to run "packstack --gen-answer-file answers.txt" and then edit the answers file appropriately before running packstack. Can you confirm whether or not this was a --allinone install? I was not using an allinone. But I think a reasonable hidden assumption is that it should be the correct value of the node I'm running packstack on. If you're not performing an all-in-one install you are already explicitly setting a number of configuration options. Furthermore, in a system with multiple interfaces -- as in your example, or in rbowen's example -- there is *no way* for Packstack to intelligently select which of the available interfaces should be used for this option. I think it makes sense that we require CONFIG_NOVA_NETWORK_PRIVIF to be set explicitly. |