failed to get network profiles
Hi,
HP Vertica doesn't appear to allow creating a database when I have 2 private ip interfaces.
Steps to reproduce:
1. Server has 2 private interfaces: 10.0.0.100 and 10.10.0.100.
2. Install HP Vertica using: /opt/vertica/sbin/install_vertica --hosts 10.0.0.100 --rpm vertica-7.1.1-0.x86_64.RHEL5.rpm
3. Create database using: admintools -t create_db -s 10.0.0.100 -d testdb --password=testdb
This will fail with the following error messages:
Database with 1 or 2 nodes cannot be k-safe and it may lose data if it crashes
Distributing changes to cluster.
10.0.0.100 OK [vertica][(7, 1, 1)][000][x86_64]
Error: failed to get network profiles
Could not find a suitable network interface: 10.0.0.100
Error: Failed to get network profiles
If I disable the second private address (eg. ifdown eth0:0), then the database creation succeeds.
If in step 2 I used the loopback interface, then step 3's database creation also succeeds.
Is this user error or script error?
Best regards,
Bob.
HP Vertica doesn't appear to allow creating a database when I have 2 private ip interfaces.
Steps to reproduce:
1. Server has 2 private interfaces: 10.0.0.100 and 10.10.0.100.
2. Install HP Vertica using: /opt/vertica/sbin/install_vertica --hosts 10.0.0.100 --rpm vertica-7.1.1-0.x86_64.RHEL5.rpm
3. Create database using: admintools -t create_db -s 10.0.0.100 -d testdb --password=testdb
This will fail with the following error messages:
Database with 1 or 2 nodes cannot be k-safe and it may lose data if it crashes
Distributing changes to cluster.
10.0.0.100 OK [vertica][(7, 1, 1)][000][x86_64]
Error: failed to get network profiles
Could not find a suitable network interface: 10.0.0.100
Error: Failed to get network profiles
If I disable the second private address (eg. ifdown eth0:0), then the database creation succeeds.
If in step 2 I used the loopback interface, then step 3's database creation also succeeds.
Is this user error or script error?
Best regards,
Bob.
0
Comments
localhost
. The caveat being this will only be a single-node install.I _have_ used localhost during testing on a single server.
Now I am trying to test the next step which is to have 3 servers running. This requires using ips instead of loopbacks.
Any additonal feedback is welcomed.
Bob.
eth0 Link encap:Ethernet HWaddr C0:3F:D5:61:2E:11
eth0:0 Link encap:Ethernet HWaddr C0:3F:D5:61:2E:11
The two interfaces have the same MAC address.
eth0 Link encap:Ethernet HWaddr C0:3F:D5:61:2E:11
eth0:0 Link encap:Ethernet HWaddr C0:3F:D5:61:2E:11
The two interfaces have the same MAC address.
What is output of: Daniel
2: eth0 inet 10.0.0.95/24 brd 10.0.0.255 scope global eth0
2: eth0 inet 10.10.0.95/24 brd 10.10.0.255 scope global eth0:0
Everything looks ok, have no idea where is a problem. I have no configuration like yours so I can't test it by myself. If you can run a python debugger. Exception thrown from: (Vertica version 7.1.0-4)
PS
What the awful python programmers: Of cause its None! Awful programmers.
Is this community monitored by staff? It is difficult to believe I'm the only one experiencing this problem. NIC aliasing is a common practice.
>> I don't know python
Ok, I will try to emulate your configuration in VMWare (2 ips on same NIC) and will try to find a fix.
***
>> but I can't figure out what it does with that information and why it fails
From my observation: returns None.
***
If you want to install it now - so you can inject manually correct values to source code and don't wait for fix. and comment next lines: PS
I agree - its a standard configuration, but its non-standard installation for Vertica and I can't understand why Support do not interested in your issue.
(((
Norbert here - founder of www.vertica.tips (not owner, but founder! Why not CEO or CTO?) He will help you, he is better than me - im just an idiot.
Regards idiot.
This is, believe it or not, the first time I've personally heard of someone running into this particular issue. Maybe someone has that I haven't heard of; quite possible. And it does seem like a reasonable thing to do.
Yes, it will guarantee that your issue will be noticed, but not guarantee that will be solved.
To point on open bugs for more than 2 years? (ticket is open by EE customer):
https://community.vertica.com/vertica/topics/copy_issue_loading_enclosed_data_with_nulls
DATA
TABLE
COPY ERROR 2035: COPY: Input record 3 has been rejected (Invalid integer format '' for column 1 (row_id))
And it isn't a CSV format issue. And don't tell that Vertica supports for DSV and not for CSV because its same things except a delimiter.
http://en.wikipedia.org/wiki/Delimiter-separated_values
PS
Parser removed some chars in COPY statement, but COPY is correct.
I've submitted plenty of enhancement requests or raised strange behaviors. Just as with any software, there are some "bugs" that won't be fixed.
https://tools.ietf.org/html/rfc4180
I'm afraid the issue you linked to isn't a Support bug. It's a forum post :-) Support uses SalesForce for tracking customer cases; they're not tracked on the forums.
Regarding "bug": For our purposes, we consider something to be a "bug" when Vertica does not behave as specified. There are many classes of issues that don't meet this criteria but that are real problems for real users. (Often described as "Vertica doesn't behave like I want".) We certainly consider those as well, but they can get complicated for reasons that may not be easy to explain in a public forum post. But if our documentation says that we do X and we instead do Y, then either X or Y is clearly wrong, so we'll fix it.
This case is along those lines: We say we couldn't find a suitable network interface, but there clearly is a suitable network interface, so something's funny... Either our error message is wrong, or our detection code is wrong.
We know we can't make everyone 100% happy all the time. Not practical. If you think we're doing it wrong, come fix it; we're hiring :-) Also, Vertica is quite extensible; if a particular patch or extension becomes popular, we're certainly going to take a very close look.
BTW: You always knows better than me what Im talking about. How is it?
@adam
Ticket is opened - 100% (and opened by EE customer - I can't post a company name). One of Vertica Engineers from Israel also created a ticket and got a lot of garbage to mail with different workarounds(I saw it personally) - its means Vertica won't to fix it.
Yes I want to help with python especially and you already saw that Im not noob and I can add a value. Should I sign any agreement?
PS
I signed an agreement as contributor for GitHUB, sent signed agreement to Vertica... and nothing... silence. Vertica actually do not interested in users help, only idle talk...
@id10t: Haven't seen any github pull requests from you :-) You can see our history; we do accept them. We could try running your contributor agreement through gcc, but I don't think it'll compile...