Error with installing luna devel

Hi all, i am trying install luna devel on my VM
On VM i run this:

git clone https://github.com/theforeman/forklift.git
cd forklift/
ansible-galaxy collection install -r requirements.yml
cp vagrant/boxes.d/99-local.yaml.example vagrant/boxes.d/99-local.yaml
sed -i.bak "s/<REPLACE ME>/maccelf/g" vagrant/boxes.d/99-local.yaml
useradd vagrant
echo "vagrant   ALL=(ALL)   NOPASSWD: ALL" >> /etc/sudoers
ansible-playbook --private-key=~/.ssh/id_rsa --user root --inventory inventories/localhost --extra-vars katello_devel_github_username=katello playbooks/luna-devel.yml

But i have a error:

TASK [foreman_installer : Run installer] ***********************************************************************************
fatal: [localhost]: FAILED! => changed=true 
  cmd: |-
    foreman-installer -v --no-colors --disable-system-checks --scenario katello-devel --katello-devel-extra-plugins theforeman/foreman_discovery --katello-devel-extra-plugins theforeman/foreman_ansible --katello-devel-extra-plugins theforeman/foreman-tasks --katello-devel-extra-plugins theforeman/foreman_bootdisk --katello-devel-extra-plugins theforeman/foreman_openscap --katello-devel-extra-plugins theforeman/foreman_templates --katello-devel-extra-plugins theforeman/foreman_hooks --katello-devel-scl-ruby=rh-ruby27 --katello-devel-admin-password changeme --katello-devel-github-username=katello --katello-devel-extra-plugins theforeman/foreman_remote_execution
  delta: '0:07:57.230155'
  end: '2021-08-27 08:47:36.819894'
  msg: non-zero return code
  rc: 6
  start: '2021-08-27 08:39:39.589739'
  stderr: ''
  stderr_lines: <omitted>
  stdout: |-
    2021-08-27 08:39:50 [NOTICE] [root] Loading installer configuration. This will take some time.
    2021-08-27 08:40:00 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
    2021-08-27 08:40:00 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
    2021-08-27 08:40:03 [WARN  ] [pre] Skipping system checks.
    2021-08-27 08:40:03 [WARN  ] [pre] Skipping system checks.
    2021-08-27 08:40:04 [NOTICE] [configure] Starting system configuration.
    2021-08-27 08:40:33 [NOTICE] [configure] 250 configuration steps out of 1590 steps complete.
    2021-08-27 08:40:44 [NOTICE] [configure] 500 configuration steps out of 1594 steps complete.
    2021-08-27 08:40:48 [NOTICE] [configure] 750 configuration steps out of 1597 steps complete.
    2021-08-27 08:40:48 [NOTICE] [configure] 1000 configuration steps out of 1600 steps complete.
    2021-08-27 08:40:51 [NOTICE] [configure] 1250 configuration steps out of 1604 steps complete.
    2021-08-27 08:46:57 [ERROR ] [configure] 'scl enable rh-ruby27 rh-nodejs12 rh-postgresql12 'bundle exec rails s -d'' returned 1 instead of one of [0]
    2021-08-27 08:46:57 [ERROR ] [configure] /Stage[main]/Katello_devel::Setup/Katello_devel::Bundle[exec rails s -d]/Exec[bundle-exec rails s -d]/returns: change from 'notrun' to ['0'] failed: 'scl enable rh-ruby27 rh-nodejs12 rh-postgresql12 'bundle exec rails s -d'' returned 1 instead of one of [0]
    2021-08-27 08:47:15 [ERROR ] [configure] /Stage[main]/Katello_devel::Setup/Katello_devel::Bundle[exec rails s -d]/Exec[bundle-exec rails s -d]: Failed to call refresh: 'scl enable rh-ruby27 rh-nodejs12 rh-postgresql12 'bundle exec rails s -d'' returned 1 instead of one of [0]
    2021-08-27 08:47:15 [ERROR ] [configure] /Stage[main]/Katello_devel::Setup/Katello_devel::Bundle[exec rails s -d]/Exec[bundle-exec rails s -d]: 'scl enable rh-ruby27 rh-nodejs12 rh-postgresql12 'bundle exec rails s -d'' returned 1 instead of one of [0]
    2021-08-27 08:47:24 [NOTICE] [configure] 1500 configuration steps out of 1604 steps complete.
    2021-08-27 08:47:36 [NOTICE] [configure] System configuration has finished.
  
      There were errors detected during install.
      Please address the errors and re-run the installer to ensure the system is properly configured.
      Failing to do so is likely to result in broken functionality.
  
      The full log is at /var/log/foreman-installer/katello-devel.log
  stdout_lines: <omitted>

katello-devel.log (1.9 MB)

Anyone have any ideas?

Looking in the log, it seems that for some reason the install fails due to missing permissions that should have been seeded but weren’t. I’m at loss though as to why that would happen.

2021-08-27 08:46:57 [INFO  ] [configure] /Stage[main]/Katello_devel::Setup/Katello_devel::Bundle[exec rails s -d]/Exec[bundle-exec rails s -d]/returns: 2021-08-27T08:46:57 [W|app|] Could not create role 'Discovery Manager': ERF73-0602 [Foreman::PermissionMissingException]: some permissions were not found: ["view_architectures", "view_domains", "view_hostgroups", "view_hosts", "create_hosts", "edit_hosts", "build_hosts", "view_locations", "assign_locations", "view_media", "view_models", "view_operatingsystems", "view_organizations", "assign_organizations", "view_ptables", "view_provisioning_templates", "view_realms", "view_smart_proxies", "view_subnets", "view_discovered_hosts", "submit_discovered_hosts", "auto_provision_discovered_hosts", "provision_discovered_hosts", "edit_discovered_hosts", "destroy_discovered_hosts", "view_discovery_rules", "create_discovery_rules", "edit_discovery_rules", "execute_discovery_rules", "destroy_discovery_rules", :view_organizations, :view_locations, :view_hosts, :view_discovered_hosts, :view_discovery_rules, :create_hosts, :edit_hosts, :build_hosts, :assign_organizations, :assign_locations, :view_architectures, :view_domains, :view_environments, :view_hostgroups, :view_media, :view_models, :view_operatingsystems, :view_provisioning_templates, :view_ptables, :view_puppetclasses, :view_realms, :view_smart_proxies, :view_subnets, :submit_discovered_hosts, :provision_discovered_hosts, :auto_provision_discovered_hosts, :edit_discovered_hosts, :destroy_discovered_hosts, :create_discovery_rules, :execute_discovery_rules, :edit_discovery_rules, :destroy_discovery_rules]
2021-08-27 08:46:57 [INFO  ] [configure] /Stage[main]/Katello_devel::Setup/Katello_devel::Bundle[exec rails s -d]/Exec[bundle-exec rails s -d]/returns: 2021-08-27T08:46:57 [E|app|] Cannot continue because some permissions were not found, please run rake db:seed and retry
2021-08-27 08:46:57 [INFO  ] [configure] /Stage[main]/Katello_devel::Setup/Katello_devel::Bundle[exec rails s -d]/Exec[bundle-exec rails s -d]/returns: /home/vagrant/foreman/app/models/role.rb:335:in `permission_records': ERF73-0602 [Foreman::PermissionMissingException]: some permissions were not found: ["view_architectures", "view_domains", "view_hostgroups", "view_hosts", "create_hosts", "edit_hosts", "build_hosts", "view_locations", "assign_locations", "view_media", "view_models", "view_operatingsystems", "view_organizations", "assign_organizations", "view_ptables", "view_provisioning_templates", "view_realms", "view_smart_proxies", "view_subnets", "view_discovered_hosts", "submit_discovered_hosts", "auto_provision_discovered_hosts", "provision_discovered_hosts", "edit_discovered_hosts", "destroy_discovered_hosts", "view_discovery_rules", "create_discovery_rules", "edit_discovery_rules", "execute_discovery_rules", "destroy_discovery_rules", :view_organizations, :view_locations, :view_hosts, :view_discovered_hosts, :view_discovery_rules, :create_hosts, :edit_hosts, :build_hosts, :assign_organizations, :assign_locations, :view_architectures, :view_domains, :view_environments, :view_hostgroups, :view_media, :view_models, :view_operatingsystems, :view_provisioning_templates, :view_ptables, :view_puppetclasses, :view_realms, :view_smart_proxies, :view_subnets, :submit_discovered_hosts, :provision_discovered_hosts, :auto_provision_discovered_hosts, :edit_discovered_hosts, :destroy_discovered_hosts, :create_discovery_rules, :execute_discovery_rules, :edit_discovery_rules, :destroy_discovery_rules] (Foreman::PermissionMissingException)
1 Like