[MCOL-663] Restarting installation fails if installed on secondary interface Created: 2017-04-14 Updated: 2017-09-18 Resolved: 2017-09-18 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | installation |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | David Thompson (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2017-18 |
| Description |
|
I needed to stop installation aand was unable to start afterwards (I used empty CentOS7 VM's we normally use for trainings): I think this has to do with my VM's having 2 network interfaces and I used the secondary for the installation. |
| Comments |
| Comment by David Thompson (Inactive) [ 2017-04-24 ] |
|
Any known issues / gotchas with multiple nic interfaces? |
| Comment by David Hill (Inactive) [ 2017-04-24 ] |
|
This sounds like its related to the Enhancement that was made for https://jira.mariadb.org/browse/MCOL-547 (enforce limitation of postCfg needing to be run on pm1) It was coded to handle multiple configured IP addresses, but seems to be an issue here like its only reading the first interface and them comparing to the configured IP address. Will need to investigate further inhouse. A work-around for now would be to reinstall using the first interface, if possible. |
| Comment by David Hill (Inactive) [ 2017-06-02 ] |
|
I couldn't reproduce on my local vm with 2 Ethernet interfaces when I configured to use the second one. The code is doing a match between the configured pm1 Ip address and the available Ip addresses on the server using the getifaddrs() API. So maybe on your system, the ip addresses detected by this API, for whatever reason.. if possible, could you provide the following info by running these commands:
Thanks, David |
| Comment by David Hill (Inactive) [ 2017-06-05 ] |
|
I reproduced the issue when it was using the local ip address, looks different than the users. But this needs to be fixed Do you want to utilize the configuration data from the saved copy? [y,n] > n ERROR: postConfigure install can only be done on the PM1 System Network Configuration Module Name Module Description NIC ID Host Name IP Address |
| Comment by David Hill (Inactive) [ 2017-06-05 ] |
|
also it could be that the user specified an IP address that doesnt show up when we run the API to get the list of local Ethernet ports. So maybe be we need to allow the user to overide this check and continue. |
| Comment by David Hill (Inactive) [ 2017-06-05 ] |
|
Changed to prompt when the ip address doesnt match to allow the user to decide to continue or not. "The Configured PM1 IP Address of xxx.xxx.xxx.xxx does match any of the" commit b2468bc61cd8d6fde5028c1d713d8179bf4aa429 oamapps/postConfigure/postConfigure.cpp | 125 |
| Comment by David Thompson (Inactive) [ 2017-09-18 ] |
|
Verified, i can install on either NIC ip. |