35 Commits

Author SHA1 Message Date
Munoz, Obed N
075c748ee7 Fix styling
Signed-off-by: Munoz, Obed N <obed.n.munoz@intel.com>
2016-04-05 11:58:01 -05:00
Munoz, Obed N
aae4471051 Add DEPRECATED Notice
Signed-off-by: Munoz, Obed N <obed.n.munoz@intel.com>
2016-04-05 11:35:21 -05:00
Obed N Munoz
b5cede7e97 Merge pull request #5 from mrkz/improve_rabbitmq_errors
Improve rabbimq-server module start.
2016-02-11 11:41:10 -06:00
Simental Magana, Marcos
4088968bf1 Improve rabbimq-server module start.
Check the status of the rabbitmq-server service
before trying to start it, providing more useful logs when
errors are found when using the --debug flag.

Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-02-08 16:45:38 -06:00
Obed N Munoz
cd399f0265 Merge pull request #4 from mrkz/fix_tox
Fix tox issues
2016-02-04 11:47:40 -06:00
Simental Magana, Marcos
59a794f697 Fix pep8 error (line too long)
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-02-04 11:36:56 -06:00
Simental Magana, Marcos
56d5ce1170 Fix broken debug messages
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-02-04 11:36:06 -06:00
Simental Magana, Marcos
c3b0cbabba Fix W503 flake8 issue.
W503 line break before binary operator

Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-02-04 11:16:19 -06:00
Alberto Murillo
fea1008196 Merge pull request #3 from mrkz/improve_utils
Add systemd/Network port checking functions
2016-02-04 10:23:20 -06:00
Simental Magana, Marcos
a4526e7488 Add function to check if systemd unit service is enabled
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-02-03 18:12:03 -06:00
Simental Magana, Marcos
750ebed4c0 Add function to check status of a given systemd service.
Returns 'active', 'failed' or 'inactive' strings, depending of
the systemd service status
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-02-03 18:12:03 -06:00
Simental Magana, Marcos
7f5f6019b2 Add function to check if a given port is open
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-02-03 18:12:03 -06:00
Simental Magana, Marcos
8597a74b03 Improve debug messages for the Orchestration service (Heat) setup
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-01-29 16:32:09 -06:00
Simental Magana, Marcos
95704d61e8 Improve debug messages for the Object storage service (Swift) setup
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-01-29 16:32:09 -06:00
Simental Magana, Marcos
0a12922b50 Improve debug messages for the Networking service (Neutron) setup
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-01-29 16:32:09 -06:00
Simental Magana, Marcos
b9c1499590 Improve debug messages for the Compute service (Nova) setup
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-01-29 16:32:09 -06:00
Simental Magana, Marcos
a998115efc Improve debug messages for the Image service (Glance) setup
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-01-29 16:32:09 -06:00
Simental Magana, Marcos
14a9188440 Improve debug messages for the Identity service (Keystone) setup
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-01-29 16:32:09 -06:00
Simental Magana, Marcos
9c042befc1 Improve debug messages for the mariadb setup
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-01-29 16:32:09 -06:00
Simental Magana, Marcos
a9cdc41794 Improve debug messages for the rabbitmq setup
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-01-29 16:31:59 -06:00
Alberto Murillo
c917497510 update version from 1.1.6 to 1.1.7 v1.1.7 2016-01-18 10:30:25 -06:00
Alberto Murillo
a743466c78 Do not translate ip address to hostname
- Sometimes when translating ip address to hostname, the hostnames
  do not resolve back to the original ip.
2016-01-18 10:15:32 -06:00
Alberto Murillo
6f1e672d20 Automatically find the network interface assosiated to an ip address 2016-01-13 14:54:51 -06:00
Alberto Murillo
7c6cca5062 update version from 1.1.5 to 1.1.6 v1.1.6 2016-01-08 17:01:18 -06:00
Alberto Murillo
e34b03c539 Grant access to keystone,glance,nova,etc databases from other hosts
- In the case mariadb is installed on a separated server, it should
  accept incoming connections from the controller and compute hosts.
2016-01-08 17:01:15 -06:00
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