-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
It's not very clear what exactly should be private vs. public IPs, so I chose localhost as private and the IP that agents would use for connection as the public IP.
Using the community edition pre-built RPM
cloudify-manager-install-17.12.14-community.x86_64.rpm
Operating System information is Red Hat Enterprise Linux Server release 7.4 (Maipo)
Firewall is disabled
$ sudo systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Sun 2017-12-10 22:27:19 EST; 8min ago
SELinux is permissive
$ sudo sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
Here's the install log + error message
$ cfy_manager install --private-ip 127.0.0.1 --public-ip 10.11.49.14
2017-12-10 22:31:08,994 - [MAIN] - NOTICE - Installing Cloudify Manager...
2017-12-10 22:31:08,994 - [VALIDATIONS] - NOTICE - Validating local machine...
2017-12-10 22:31:08,994 - [VALIDATIONS] - INFO - Validating Python version...
2017-12-10 22:31:08,995 - [VALIDATIONS] - INFO - Validating supported distributions...
2017-12-10 22:31:08,995 - [VALIDATIONS] - INFO - Validating memory requirement...
2017-12-10 22:31:08,995 - [VALIDATIONS] - INFO - Validating disk space requirement...
2017-12-10 22:31:08,998 - [VALIDATIONS] - INFO - Validating OpenSSL version...
2017-12-10 22:31:09,024 - [VALIDATIONS] - INFO - Validating package prerequisites...
2017-12-10 22:31:09,114 - [VALIDATIONS] - INFO - Validating user `jcornutt-ctr` has sudo permissions...
2017-12-10 22:31:09,153 - [VALIDATIONS] - NOTICE - All validations passed successfully!
2017-12-10 22:31:09,153 - [GLOBALS] - INFO - SSL is disabled, setting rest port to 80 and rest protocols to http...
2017-12-10 22:31:09,153 - [GLOBALS] - INFO - Generated password: cE6P0xtkPgyY
2017-12-10 22:31:09,153 - [MANAGER] - NOTICE - Installing Cloudify Manager resources...
2017-12-10 22:31:09,153 - [MANAGER] - INFO - Copying agent packages...
2017-12-10 22:31:09,894 - [USERS] - INFO - Creating group cfyuser
2017-12-10 22:31:09,952 - [USERS] - INFO - Creating user cfyuser, home: /etc/cloudify...
2017-12-10 22:31:10,517 - [MANAGER] - NOTICE - Cloudify Manager resources successfully installed
2017-12-10 22:31:10,518 - [MANAGER-IP-SETTER] - NOTICE - Installing Manager IP Setter...
2017-12-10 22:31:10,772 - [SUDOERS] - INFO - Allowing user `cfyuser` to run `/opt/cloudify/manager-ip-setter/update-provider-context.py`
2017-12-10 22:31:11,130 - [SUDOERS] - INFO - Allowing user `cfyuser` to run `/opt/cloudify/manager-ip-setter/manager-ip-setter.sh`
2017-12-10 22:31:11,382 - [MANAGER-IP-SETTER] - INFO - Set manager ip on boot is disabled.
2017-12-10 22:31:11,383 - [MANAGER-IP-SETTER] - NOTICE - Manager IP Setter successfully installed
2017-12-10 22:31:11,383 - [NGINX] - NOTICE - Installing NGINX...
2017-12-10 22:31:11,515 - [YUM] - INFO - Installing nginx...
2017-12-10 22:31:13,417 - [NGINX] - INFO - Handling CA certificate...
2017-12-10 22:31:13,418 - [NGINX] - INFO - Generating CA certificate...
2017-12-10 22:31:13,766 - [NGINX] - INFO - Handling internal certificate...
2017-12-10 22:31:13,766 - [NGINX] - INFO - Generating internal certificate...
2017-12-10 22:31:14,429 - [NGINX] - INFO - Handling external certificate...
2017-12-10 22:31:14,429 - [NGINX] - INFO - Generating external certificate...
2017-12-10 22:31:15,060 - [NGINX] - INFO - Deploying Nginx configuration files...
2017-12-10 22:31:16,496 - [NGINX] - INFO - Starting NGINX service...
2017-12-10 22:31:16,772 - [NGINX] - NOTICE - NGINX successfully installed
2017-12-10 22:31:16,772 - [PYTHON] - NOTICE - Installing Python dependencies...
2017-12-10 22:31:16,897 - [PYTHON] - INFO - Validating pip installation...
2017-12-10 22:31:17,144 - [PYTHON] - NOTICE - Python dependencies successfully installed
2017-12-10 22:31:17,145 - [POSTGRESQL] - NOTICE - Installing PostgreSQL...
2017-12-10 22:31:17,366 - [YUM] - INFO - Installing postgresql95-libs...
2017-12-10 22:31:18,603 - [YUM] - INFO - Installing postgresql95...
2017-12-10 22:31:20,160 - [YUM] - INFO - Installing postgresql95-contrib...
2017-12-10 22:31:21,510 - [YUM] - INFO - Installing postgresql95-server...
2017-12-10 22:31:23,701 - [YUM] - INFO - Installing postgresql95-devel...
2017-12-10 22:31:25,551 - [YUM] - INFO - Installing python-psycopg2...
2017-12-10 22:31:30,085 - [POSTGRESQL] - INFO - Starting PostgreSQL service...
2017-12-10 22:31:32,271 - [POSTGRESQL] - INFO - Updating PostgreSQL configuration...
2017-12-10 22:31:35,025 - [POSTGRESQL] - INFO - Creating default PostgreSQL DB: cloudify_db...
2017-12-10 22:31:36,301 - [POSTGRESQL] - NOTICE - PostgreSQL successfully installed
2017-12-10 22:31:36,302 - [RABBITMQ] - NOTICE - Installing RabbitMQ...
2017-12-10 22:31:36,415 - [YUM] - INFO - Installing erlang...
2017-12-10 22:31:38,540 - [YUM] - INFO - Installing rabbitmq-server...
2017-12-10 22:31:41,089 - [RABBITMQ] - INFO - Initializing RabbitMQ...
2017-12-10 22:31:42,666 - [NETWORK] - INFO - Waiting for localhost:5672 to become available...
2017-12-10 22:31:42,670 - [NETWORK] - INFO - localhost:5672 is open!
2017-12-10 22:31:42,713 - [RABBITMQ] - INFO - Enabling RabbitMQ Plugins...
2017-12-10 22:31:44,177 - [RABBITMQ] - INFO - Disabling RabbitMQ guest user...
2017-12-10 22:31:45,002 - [RABBITMQ] - INFO - Creating new user and setting permissions...
2017-12-10 22:31:45,880 - [RABBITMQ] - INFO - Starting RabbitMQ Service...
2017-12-10 22:31:50,197 - [NETWORK] - INFO - Waiting for localhost:5671 to become available...
2017-12-10 22:31:50,199 - [NETWORK] - INFO - localhost:5671 is open!
2017-12-10 22:31:50,199 - [RABBITMQ] - INFO - Setting RabbitMQ Policies...
2017-12-10 22:31:51,213 - [MAIN] - ERROR - BootstrapError: Failed running command: sudo rabbitmqctl set_policy logs_queue_message_policy ^cloudify-logs$ {"message-ttl": 60000, "max-length": 1000000} --apply-to queues (Error: unable to connect to node 'cloudify-manager@localhost': nodedown
DIAGNOSTICS
===========
attempted to contact: ['cloudify-manager@localhost']
cloudify-manager@localhost:
* connected to epmd (port 4369) on localhost
* epmd reports: node 'cloudify-manager' not running at all
other nodes on localhost: ['rabbitmq-cli-8730']
* suggestion: start the node
current node details:
- node name: 'rabbitmq-cli-8730@cfy-mgr-01'
- home dir: /var/lib/rabbitmq
- cookie hash: m60BDBAf1wQU2+K+REAySg==
).
Metadata
Metadata
Assignees
Labels
No labels