just follwed this steps in documentation
wget https://downloads.morpheusdata.com/path/to/morpheus-appliance-5.5.0-1.rpm
wget https://downloads.morpheusdata.com/files/morpheus-appliance-supplemental-5.5.1-1.noarch.rpm
sha256sum morpheus-appliance-5.5.0-1.rpm
sudo rpm -ihv morpheus-appliance-5.5.0-1.rpm
sudo morpheus-ctl reconfigure
* directory[/opt/morpheus/sv/mysql] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql] created directory /opt/morpheus/sv/mysql
- create new directory /opt/morpheus/sv/mysql[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql] mode changed to 755
- change mode from '' to '0755'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* template[/opt/morpheus/sv/mysql/run] action create[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] created file /opt/morpheus/sv/mysql/run
- create new file /opt/morpheus/sv/mysql/run[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] updated file contents /opt/morpheus/sv/mysql/run
- update content in file /opt/morpheus/sv/mysql/run from none to a57fbc
--- /opt/morpheus/sv/mysql/run 2022-11-02 15:32:22.373479165 +0200
+++ /opt/morpheus/sv/mysql/.chef-run20221102-37002-1efqeaq 2022-11-02 15:32:22.372479106 +0200
@@ -1 +1,4 @@
+#!/bin/sh
+exec 2>&1
+exec /opt/morpheus/embedded/mysql/bin/mysqld_safe --defaults-file=/opt/morpheus/embedded/mysql/my.cnf --console --user=mysql-morpheus --explicit_defaults_for_timestamp[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] mode changed to 755
- change mode from '' to '0755'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* directory[/opt/morpheus/sv/mysql/log] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log] created directory /opt/morpheus/sv/mysql/log
- create new directory /opt/morpheus/sv/mysql/log[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log] mode changed to 755
- change mode from '' to '0755'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* directory[/opt/morpheus/sv/mysql/log/main] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log/main] created directory /opt/morpheus/sv/mysql/log/main
- create new directory /opt/morpheus/sv/mysql/log/main[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log/main] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log/main] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log/main] mode changed to 755
- change mode from '' to '0755'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* template[/opt/morpheus/sv/mysql/log/run] action create[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] created file /opt/morpheus/sv/mysql/log/run
- create new file /opt/morpheus/sv/mysql/log/run[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] updated file contents /opt/morpheus/sv/mysql/log/run
- update content in file /opt/morpheus/sv/mysql/log/run from none to 41ca98
--- /opt/morpheus/sv/mysql/log/run 2022-11-02 15:32:22.436482898 +0200
+++ /opt/morpheus/sv/mysql/log/.chef-run20221102-37002-ihf34p 2022-11-02 15:32:22.435482838 +0200
@@ -1 +1,3 @@
+#!/bin/sh
+exec /opt/morpheus/embedded/bin/svlogd -tt /var/log/morpheus/mysql[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] mode changed to 755
- change mode from '' to '0755'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* template[/var/log/morpheus/mysql/config] action create[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] created file /var/log/morpheus/mysql/config
- create new file /var/log/morpheus/mysql/config[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] updated file contents /var/log/morpheus/mysql/config
- update content in file /var/log/morpheus/mysql/config from none to 623c00
--- /var/log/morpheus/mysql/config 2022-11-02 15:32:22.460484319 +0200
+++ /var/log/morpheus/mysql/.chef-config20221102-37002-est4np 2022-11-02 15:32:22.459484260 +0200
@@ -1 +1,7 @@
+s209715200
+n30
+t86400
+!gzip
+
+[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] mode changed to 644
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* directory[/opt/morpheus/sv/mysql/env] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/env] created directory /opt/morpheus/sv/mysql/env
- create new directory /opt/morpheus/sv/mysql/env[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/env] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/env] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/env] mode changed to 755
- change mode from '' to '0755'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* ruby_block[Delete unmanaged env files for mysql service] action run (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/check] action create (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/finish] action create (skipped due to only_if)
* directory[/opt/morpheus/sv/mysql/control] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/control] created directory /opt/morpheus/sv/mysql/control
- create new directory /opt/morpheus/sv/mysql/control[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/control] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/control] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/control] mode changed to 755
- change mode from '' to '0755'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* template[/opt/morpheus/sv/mysql/control/t] action create[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] created file /opt/morpheus/sv/mysql/control/t
- create new file /opt/morpheus/sv/mysql/control/t[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] updated file contents /opt/morpheus/sv/mysql/control/t
- update content in file /opt/morpheus/sv/mysql/control/t from none to fbd2d7
--- /opt/morpheus/sv/mysql/control/t 2022-11-02 15:32:22.541489118 +0200
+++ /opt/morpheus/sv/mysql/control/.chef-t20221102-37002-1kabu1h 2022-11-02 15:32:22.541489118 +0200
@@ -1 +1,4 @@
+#!/bin/sh
+echo "received TERM from runit, using mysqldmin shutdown to stop mysql"
+/opt/morpheus/embedded/mysql/bin/mysqladmin --defaults-file=/opt/morpheus/embedded/mysql/ops-my.cnf shutdown[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] mode changed to 755
- change mode from '' to '0755'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* template[/opt/morpheus/sv/mysql/control/u] action create[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] created file /opt/morpheus/sv/mysql/control/u
- create new file /opt/morpheus/sv/mysql/control/u[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] updated file contents /opt/morpheus/sv/mysql/control/u
- update content in file /opt/morpheus/sv/mysql/control/u from none to 745710
--- /opt/morpheus/sv/mysql/control/u 2022-11-02 15:32:22.567490659 +0200
+++ /opt/morpheus/sv/mysql/control/.chef-u20221102-37002-18rtr1k 2022-11-02 15:32:22.567490659 +0200
@@ -1 +1,4 @@
+#!/bin/sh
+[ -d /var/run/morpheus/mysqld ] || install -m 755 -o mysql-morpheus -g mysql-morpheus -d /var/run/morpheus/mysqld
+[ -d /var/run/morpheus/mysqld ] || install -m 755 -o mysql-morpheus -g mysql-morpheus -d /var/run/morpheus/mysqld[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] owner changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] mode changed to 755
- change mode from '' to '0755'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* link[/opt/morpheus/init/mysql] action create[2022-11-02T15:32:22+02:00] INFO: link[/opt/morpheus/init/mysql] created
- create symlink at /opt/morpheus/init/mysql to /opt/morpheus/embedded/bin/sv
* file[/opt/morpheus/sv/mysql/down] action delete (up to date)
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] sending run action to ruby_block[restart_service] (delayed)
* ruby_block[restart_service] action run (skipped due to only_if)
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] sending create action to ruby_block[restart_log_service] (delayed)
* ruby_block[restart_log_service] action create
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/morpheus/sv/mysql] action create (up to date)
* template[/opt/morpheus/sv/mysql/run] action create (up to date)
* directory[/opt/morpheus/sv/mysql/log] action create (up to date)
* directory[/opt/morpheus/sv/mysql/log/main] action create (up to date)
* template[/opt/morpheus/sv/mysql/log/run] action create (up to date)
* template[/var/log/morpheus/mysql/config] action create (up to date)
* directory[/opt/morpheus/sv/mysql/env] action create (up to date)
* ruby_block[Delete unmanaged env files for mysql service] action run (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/check] action create (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/finish] action create (skipped due to only_if)
* directory[/opt/morpheus/sv/mysql/control] action create (up to date)
* template[/opt/morpheus/sv/mysql/control/t] action create (up to date)
* template[/opt/morpheus/sv/mysql/control/u] action create (up to date)
* link[/opt/morpheus/init/mysql] action create (up to date)
* file[/opt/morpheus/sv/mysql/down] action delete (up to date)
* directory[/opt/morpheus/service] action create (up to date)
* link[/opt/morpheus/service/mysql] action create[2022-11-02T15:32:22+02:00] INFO: link[/opt/morpheus/service/mysql] created
- create symlink at /opt/morpheus/service/mysql to /opt/morpheus/sv/mysql
* ruby_block[wait for mysql service socket] action run[2022-11-02T15:32:23+02:00] INFO: ruby_block[wait for mysql service socket] called
- execute the ruby block wait for mysql service socket
[2022-11-02T15:32:23+02:00] INFO: ruby_block[restart_log_service] called
- execute the ruby block restart_log_service
[2022-11-02T15:32:23+02:00] INFO: template[/var/log/morpheus/mysql/config] sending create action to ruby_block[reload_log_service] (delayed)
* ruby_block[reload_log_service] action create
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/morpheus/sv/mysql] action create (up to date)
* template[/opt/morpheus/sv/mysql/run] action create (up to date)
* directory[/opt/morpheus/sv/mysql/log] action create (up to date)
* directory[/opt/morpheus/sv/mysql/log/main] action create (up to date)
* template[/opt/morpheus/sv/mysql/log/run] action create (up to date)
* template[/var/log/morpheus/mysql/config] action create (up to date)
* directory[/opt/morpheus/sv/mysql/env] action create (up to date)
* ruby_block[Delete unmanaged env files for mysql service] action run (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/check] action create (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/finish] action create (skipped due to only_if)
* directory[/opt/morpheus/sv/mysql/control] action create (up to date)
* template[/opt/morpheus/sv/mysql/control/t] action create (up to date)
* template[/opt/morpheus/sv/mysql/control/u] action create (up to date)
* link[/opt/morpheus/init/mysql] action create (up to date)
* file[/opt/morpheus/sv/mysql/down] action delete (up to date)
* directory[/opt/morpheus/service] action create (up to date)
* link[/opt/morpheus/service/mysql] action create (up to date)
* ruby_block[wait for mysql service socket] action run (skipped due to not_if)
[2022-11-02T15:32:23+02:00] INFO: ruby_block[reload_log_service] called
- execute the ruby block reload_log_service
* directory[/opt/morpheus/service] action create (up to date)
* link[/opt/morpheus/service/mysql] action create (up to date)
* ruby_block[wait for mysql service socket] action run (skipped due to not_if)
-
ruby_block[mysql_sleep] action run[2022-11-02T15:32:24+02:00] INFO: ruby_block[mysql_sleep] called
- execute the ruby block mysql_sleep
-
mysql_database[morpheus] action create
- Creating schema ‘morpheus’
-
mysql_database_user[morpheus] action grant[2022-11-02T15:32:24+02:00] INFO: mysql_database_user[morpheus]: granting access with statement [GRANT all ON morpheus.* TO ‘morpheus’@‘localhost’ IDENTIFIED BY ‘7d328d655cf969c78620fcc3’]
- Granting privs for ‘morpheus’@‘localhost’
-
mysql_database_user[morpheus] action grant[2022-11-02T15:32:24+02:00] INFO: mysql_database_user[morpheus]: granting access with statement [GRANT SELECT,SHOW DATABASES,SUPER,PROCESS ON . TO ‘morpheus’@‘localhost’ IDENTIFIED BY ‘7d328d655cf969c78620fcc3’]
- Granting privs for ‘morpheus’@‘localhost’
-
file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] action create[2022-11-02T15:32:24+02:00] INFO: file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] created file /var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done
-
create new file /var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done[2022-11-02T15:32:24+02:00] INFO: file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] owner changed to 0
[2022-11-02T15:32:24+02:00] INFO: file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] group changed to 0
[2022-11-02T15:32:24+02:00] INFO: file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] mode changed to 600 -
change mode from ‘’ to ‘0600’
-
change owner from ‘’ to ‘root’
-
change group from ‘’ to ‘root’
-
restore selinux security context
Recipe: morpheus-solo::elasticsearch
-
-
dnf_package[unzip] action install
================================================================================
Error executing actioninstall
on resource ‘dnf_package[unzip]’RuntimeError
dnf-helper.py had stderr output:
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/dnf/repo.py”, line 574, in load
ret = self._repo.load()
File “/usr/lib64/python3.6/site-packages/libdnf/repo.py”, line 397, in load
return _repo.Repo_load(self)
libdnf._error.Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlistDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 106, in
query(command)
File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 52, in query
sack = get_sack()
File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 32, in get_sack
base.fill_sack(load_system_repo=‘auto’)
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 394, in fill_sack
self._add_repo_to_sack(r)
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 137, in _add_repo_to_sack
repo.load()
File “/usr/lib/python3.6/site-packages/dnf/repo.py”, line 581, in load
raise dnf.exceptions.RepoError(str(e))
dnf.exceptions.RepoError: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlistResource Declaration:
In /opt/morpheus/embedded/cookbooks/cache/cookbooks/morpheus-solo/recipes/elasticsearch.rb
28: package ‘unzip’
29:Compiled Resource:
Declared in /opt/morpheus/embedded/cookbooks/cache/cookbooks/morpheus-solo/recipes/elasticsearch.rb:28:in `from_file’
dnf_package(“unzip”) do
package_name “unzip”
action [:install]
default_guard_interpreter :default
declared_type :package
cookbook_name “morpheus-solo”
recipe_name “elasticsearch”
endSystem Info:
chef_version=14.14.29
platform=centos
platform_version=8.4.2105
ruby=ruby 2.6.10p210 (2022-04-12 revision 67958) [x86_64-linux]
program_name=/opt/morpheus/embedded/bin/chef-client
executable=/opt/morpheus/embedded/bin/chef-client
[2022-11-02T15:32:36+02:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2022-11-02T15:32:36+02:00] ERROR: Running exception handlers
Running handlers complete
[2022-11-02T15:32:36+02:00] ERROR: Exception handlers complete
Chef Client failed. 53 resources updated in 24 seconds
[2022-11-02T15:32:36+02:00] FATAL: Stacktrace dumped to /opt/morpheus/embedded/cookbooks/cache/chef-stacktrace.out
[2022-11-02T15:32:36+02:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2022-11-02T15:32:36+02:00] FATAL: RuntimeError: dnf_package[unzip] (morpheus-solo::elasticsearch line 28) had an error: RuntimeError: dnf-helper.py had stderr output:
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/dnf/repo.py”, line 574, in load
ret = self._repo.load()
File “/usr/lib64/python3.6/site-packages/libdnf/repo.py”, line 397, in load
return _repo.Repo_load(self)
libdnf._error.Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 106, in
query(command)
File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 52, in query
sack = get_sack()
File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 32, in get_sack
base.fill_sack(load_system_repo=‘auto’)
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 394, in fill_sack
self._add_repo_to_sack(r)
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 137, in _add_repo_to_sack
repo.load()
File “/usr/lib/python3.6/site-packages/dnf/repo.py”, line 581, in load
raise dnf.exceptions.RepoError(str(e))
dnf.exceptions.RepoError: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist
[root@localhost ~]#