An aws-vpc-move-ip resource fails to start and logs a MemoryError traceback from PyInstaller in a Pacemaker cluster

Solution Unverified - Updated -

Issue

  • An ocf:heartbeat:aws-vpc-move-ip resource fails to start, logging errors like those shown below.
Oct 22 11:31:34 node1 aws-vpc-move-ip(vip_ers11)[4165]: INFO: EC2: Moving IP address 10.28.255.250 to this host by adjusting routing table rtb-34208b4b
Oct 22 11:31:34 node1 aws-vpc-move-ip(vip_ers11)[4165]: INFO: monitor: check routing table (API call) - rtb-34208b4b
Oct 22 11:31:34 node1 aws-vpc-move-ip(vip_ers11)[4165]: WARNING: not routed to this instance (i-022b172bb454eb810) but to instance <unknown> on rtb-34208b4b
Oct 22 11:31:35 node1 aws-vpc-move-ip(vip_ers11)[4165]: INFO: EC2: Adjusting routing table and locally configuring IP address
Oct 22 11:31:35 node1 aws-vpc-move-ip(vip_ers11)[4165]: WARNING: command failed, rc: 255
Oct 22 11:31:36 node1 aws-vpc-move-ip(vip_ers11)[4165]: ERROR: Received 1 from 'aws'
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [ [4393] Failed to execute script pyiboot01_bootstrap ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [ Traceback (most recent call last): ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "PyInstaller/loader/pyiboot01_bootstrap.py", line 127, in <module> ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "<frozen importlib._bootstrap>", line 983, in _find_and_load ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "/codebuild/output/src367604692/src/repos/awscli/.tox/exe/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "ctypes/__init__.py", line 543, in <module> ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "ctypes/__init__.py", line 273, in _reset_cache ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [ MemoryError ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [ [4597] Failed to execute script pyiboot01_bootstrap ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [ Traceback (most recent call last): ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "PyInstaller/loader/pyiboot01_bootstrap.py", line 127, in <module> ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "<frozen importlib._bootstrap>", line 983, in _find_and_load ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "/codebuild/output/src367604692/src/repos/awscli/.tox/exe/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "ctypes/__init__.py", line 543, in <module> ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [   File "ctypes/__init__.py", line 273, in _reset_cache ]
Oct 22 11:31:36 node1 pacemaker-execd[1581]: notice: vip_ers11_start_0:4165:stderr [ MemoryError ]
Oct 22 11:31:36 node1 pacemaker-controld[1587]: notice: Result of start operation for vip_ers11 on node1: 1 (error)

Environment

  • Red Hat Enterprise Linux 8 (with the High Availability Add-on)
  • Amazon Web Services (AWS) EC2 instance as a cluster member

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In