Authentication Manager 8.x Deployment on Cloud Platform Fails When Configuring Network Settings
5 months ago
Article Number
000073640
Applies To

8.x deployment on Microsoft Azure

8.x deployment on Google Cloud

Issue

When deploying the Authentication Manager on a cloud platform, the deployment fails with:

Configuring network settings...


'CursesUI' object has no attribute 'colors'
Traceback (most recent call last):
  File "/opt/rsa/am/utils/bin/appliance/initialNetworkConfig.py", line 15, in main
    network.states.execute(network.initialConfig(screen, networkSettingsManager, ovfEnvReader), network.states.NetworkSettings())
  File "/opt/rsa/am/utils/bin/appliance/network/states.py", line 16, in execute
    nextState = nextState(settings)
  File "/opt/rsa/am/utils/bin/appliance/network/states.py", line 118, in __call__
    transition = self.execute(state)
  File "/opt/rsa/am/utils/bin/appliance/network/states.py", line 213, in execute
    self.complain("The network settings you entered are invalid. Please fix the following errors:\n")
  File "/opt/rsa/am/utils/bin/appliance/network/states.py", line 133, in complain
    self.screen.println(msg, self.screen.colors.red, True)
AttributeError: 'CursesUI' object has no attribute 'colors'
None

An error occured while attempting to configure the network
Please restart and try again. 

Cause

This is caused by an incorrect subnet mask in the configuration.

The subnet mask does not allow for the configured IP address and Gateway. Example:

gateway=192.168.0.1
ip=192.168.17.221
netmask=255.255.255.0

This subnet mask will not allow for this gateway and IP configuration.

Resolution

Calculate allowed IP addresses for specified netmask