chef / chef/chef-server

Unable to `chef-server-ctl reconfigure` a new 15.3.2 install on Ubuntu 22.04

Open
#3,511 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: move to jira Triage: Confirmed
Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

Chef Server Version

Chef-server standalone installation 15.3.2

Platform Details

Ubuntu 22.04
Installing on a ProxmoxVM, with iSCSI backed disks on a TrueNAS.
16GB ram, 50GB overall disk space

Configuration

Standalone, new install. Have also tried upgradding. The farthest I can upgrade to seems to be 14.14.1. If I try to upgrade to anything newer than that, I get all the index corrupt issues I'll paste below.

Scenario

I'm trying to run chef-server-ctl reconfigure after a fresh install. I have also done it after an upgrade and have failed.

opensearch log

opensearch-log.zip

Steps to Reproduce
  1. Create a VM on proxmox:
    image

  2. Install ubuntu 22.04 from the ubuntu server ISO.

  3. Download the chef-infra-server package from: https://www.chef.io/downloads/tools/infra-server?v=15.3.2

  4. apt install ./chef-server-core_15.3.2-1_amd64.deb

  5. chef-server-ctl reconfigure

Expected Result

I was expecting to have a working chef server that I could then try restoring backups to.

Actual Result

There's the open search log which happens at this phase of the chef-server-ctl reconfigure

* runit_service[opensearch] action reload_log
      - reload log service

Recipe: infra-server::opensearch
  * component_runit_service[opensearch] action start
  Recipe: <Dynamically Defined Resource>
    * service[opensearch] action nothing (skipped due to action :nothing)
    * runit_service[opensearch] action start (up to date)
     (up to date)
Recipe: infra-server::opensearch
  * chef_sleep[10] action sleep
    - sleep 10 seconds
  * execute[add internal user to opensearch security plugin] action run

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the fresh Chef Infra Server 15.3.2 installation on Ubuntu 22.04 using the listed VM setup and run chef-server-ctl reconfigure. Start with the attached opensearch-log.zip and the reconfigure output around the “add internal user to opensearch security plugin” step; done means reconfigure completes successfully and produces a working server.

Written by the indexing model from the issue text.

Assessment

Tech stack
ubuntu
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.