rubrikinc / rubrik_oracle_tools

Utilities for working with Rubrik RBS Oracle backups.
MIT License
7 stars 8 forks source link

CDM Node IP has not been provided (using latest master) #8

Closed Baptiewright closed 1 year ago

Baptiewright commented 1 year ago

Building a new Oracle server so going through our standard install of these tools. Everything goes fine, but I'm getting the following error when running any of the tools

File "/home/oracle/rubrik_oracle_tools/venv37/bin/rubrik_oracle_backup_info", line 8, in sys.exit(cli()) File "/home/oracle/rubrik_oracle_tools/venv37/lib/python3.7/site-packages/click/core.py", line 1157, in call return self.main(args, kwargs) File "/home/oracle/rubrik_oracle_tools/venv37/lib/python3.7/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/oracle/rubrik_oracle_tools/venv37/lib/python3.7/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) File "/home/oracle/rubrik_oracle_tools/venv37/lib/python3.7/site-packages/click/core.py", line 783, in invoke return __callback(args, **kwargs) File "/home/oracle/rubrik_oracle_tools/rubrik_oracle_backup_info.py", line 28, in cli rubrik = rbs_oracle_common.RubrikConnection() File "/home/oracle/rubrik_oracle_tools/rbs_oracle_common.py", line 93, in init self.connection = rubrik_cdm.Connect(self.config['rubrik_cdm_node_ip'], self.config['rubrik_cdm_username'], self.config['rubrik_cdm_password'], self.config['rubrik_cdm_token']) File "/home/oracle/rubrik_oracle_tools/venv37/lib/python3.7/site-packages/rubrik_cdm/rubrik_cdm.py", line 88, in init "The Rubrik CDM Node IP has not been provided.") rubrik_cdm.exceptions.InvalidParameterException: The Rubrik CDM Node IP has not been provided.

The config.json file is the same as it's always been for us, using an API token rather than a username/password. I copied the tools from another server for now and it works fine but I'd like to be able to stay current.

pcrouleur commented 1 year ago

I think this has been fixed. Found a typo that overwrote the IP config with the env variable. It's in master so if you could test with the latest release and let me know, I would appreciate it. Thanks!

Baptiewright commented 1 year ago

Works perfectly, thanks for the quick response!

pcrouleur commented 1 year ago

Issue resolved...