Commit Graph

10 Commits

Author SHA1 Message Date
Alberto Murillo 23878ac32e Correctly find the current node ip based on the ips from answer file
Templates that need the nodes ips where using util.get_ip()
  which returns the IP assosiated with the default gateway but
  might not be the desired IP in nodes with multiple nics.

  This change introduces util.find_my_ip_from_config() which a template
  that is expected to run on a compute node can use to identify which
  of the nodes ip does match with one from CONFIG_COMPUTE_HOSTS
2016-01-08 12:49:36 -06:00
Alberto Murillo 5b54d3c87e Refactor and remove dead code
- Call ArgumentParser directly vs using a variable as an alias
 - Remove unused function: controller.remove_argument
 - Remove unused function: controller.remove_validators
 - Remove unused function: validators.true_or_false
 - Refactor utils
2016-01-05 08:57:36 -06:00
Alberto Murillo 177c860f87 Improve is_localhost function
Clearstack was treating ips other than the one with default gw
as non local ips.

 - add get_ips() function to return all addresses on the system
 - make is_localhost check if the ip is in the output of get_ips()
2016-01-04 17:48:14 -06:00
Alberto Murillo bd3e4661cf Remove -h option from mysql call
- mysql calls to create databases are run on the mariadb server
   which only accepts connections from localhost.
2016-01-04 17:05:05 -06:00
Alberto Murillo 0cb8d35a68 Merge pull request #1 from albertomurillo/remove-nova-network
Deprecate support for nova-network
2015-12-23 12:14:58 -06:00
Alberto Murillo d92067aab5 Deprecate support for nova-network 2015-12-23 11:20:58 -06:00
Julio Montes 69764f8de3 update version from 1.1.4 to 1.1.5 v1.1.5 2015-12-17 11:35:23 -06:00
Julio Montes cbfaeecad8 fix installation
remove ñ to avoid errors with pbr
2015-12-15 11:09:27 -06:00
Julio Montes 9aa500cb9d initial commit
add sources
v1.1.4
2015-12-14 11:29:34 -06:00
Julio Montes 16892cf6a4 Initial commit 2015-12-14 11:21:36 -06:00