So you tried editing /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/system/aws_metadata.py and changing:
self.is_aws = self._check_connection(meta_data_baseurl)
to:
self.is_aws = False
And re-run dr_install.sh, and same error appears?
Otherwise, I've used this to get vertica to fail the AWS check:
Block AWS IP:
iptables -A OUTPUT -p tcp -d 169.254.169.254 -j DROP
iptables -A OUTPUT -p udp -d 169.254.169.254 -j DROP
iptables -A OUTPUT -p icmp -d 169.254.169.254 -j DROP
Run the dr_install.sh.
Then remove the blocks:
iptables -D OUTPUT -p tcp -d 169.254.169.254 -j DROP
iptables -D OUTPUT -p udp -d 169.254.169.254 -j DROP
iptables -D OUTPUT -p icmp -d 169.254.169.254 -j DROP
Are you doing a brand new install? If so, I might also suggest you download 21.2.5. It installs vertica 10.1.1. Plus Portal 21.2.5 has a fix so it uses more than 2 connections from PC to DA for reporting (uses up to 40 as it did before 21.2.1).
Original Message:
Sent: 12-03-2021 11:35 AM
From: Eshwar K
Subject: Unable to install vertica database for data repository
Hello folks,
I have tried to install Data repository 21.2 in RHEL 7.8. I have done data repository and validation successfully but while installing vertica database getting below error.
Vertica installation package install ....................................[ OK ]
===============================================================================
Invoking install_vertica...
===============================================================================
Vertica Analytic Database 9.1.x.x Installation Tool
Error: 'NoneType' object has no attribute 'split'
Traceback (most recent call last):
File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/install/__init__.py", line 1342, in run_install
options = option_parser()
File "/opt/vertica/share/eggs/vertica/install/__main__.py", line 255, in _parse_options
_include_ami_customization(parser, options)
File "/opt/vertica/share/eggs/vertica/install/__main__.py", line 264, in _include_ami_customization
cfg_checker.load()
File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/install/ami_install_config.py", line 18, in load
self._meta_data.load(base_url)
File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/system/aws_metadata.py", line 77, in load
self._harvest_metadata(meta_data_baseurl)
File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/system/aws_metadata.py", line 94, in _harvest_metadata
meta_data_baseurl)
File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/system/aws_metadata.py", line 205, in _get_macs
raw_macs = raw_macs.split()
AttributeError: 'NoneType' object has no attribute 'split'
Installation FAILED with errors.
Installation stopped before any changes were made.
Vertica installation ....................................................[FAIL]
The installation will now exit.
I have followed below articles but no luck.. Please help me out.
Data Repository install fail with Vertica Error: 'NoneType' object has no attribute 'split'Broadcom | remove preview |
| Data Repository install fail with Vertica Error: 'NoneType' object has no attribute 'split' | When installing Data Repository component, Vertica may fail with these messages: Vertica installation package install ....................................[ OK | View this on Broadcom > |
|
|
https://forum.vertica.com/discussion/235490/vertica-install-on-centos
------------------------------
Regards,
Eshwar
------------------------------