Coder Social home page Coder Social logo

Comments (8)

uskf avatar uskf commented on June 21, 2024 2

I have confirmed same "CorruptIndexException" log with chef-server 15.3.2 on Ubuntu 20.04.
Perhaps this problem is caused by zlib v1.2.12 and resolved by zlib v1.2.13.
madler/zlib#613

Replacing libz.so.1.2.12 to libz.so.1.2.13 resolved this problem.

$ tar zxf zlib-1.2.13.tar.gz
$ cd zlib-1.2.13
$ ./configure
$ make
$ sudo cp libz.so.1.2.13 /opt/opscode/embedded/lib/
$ cd /opt/opscode/embedded/lib/
$ sudo ln -sf libz.so.1.2.13 libz.so
$ sudo ln -sf libz.so.1.2.13 libz.so.1

from chef-server.

uskf avatar uskf commented on June 21, 2024 1

@dkowis Yes!

AFAIK, this problem occurs on cpu that does not support SSE 4.2.
If the physical cpu supports SSE 4.2, enabling SSE 4.2 on the virtual cpu resolves this problem.

from chef-server.

dkowis avatar dkowis commented on June 21, 2024

I have tested this on a KVM based VM on my desktop, which has NVMe Backed storage, and it worked fine.

Perhaps there's some race condition during the setup that is causing the opensearch/elasticsearch to become corrupt after 14.14.x ?

I have confirmed I have no other data corruption problems on my server hardware, and the iSCSI disks.

from chef-server.

dkowis avatar dkowis commented on June 21, 2024

Replacing libz.so.1.2.12 to libz.so.1.2.13 resolved this problem.

To get the order of operations correct:

  1. Install from package
  2. update zlib as you described, installing it into the opscode embedded
  3. chef-server-ctl reconfigure so that it installs

Yes?

from chef-server.

dkowis avatar dkowis commented on June 21, 2024

Ah yeah that'd do it, these CPUs are slightly too old for that: https://ark.intel.com/content/www/us/en/ark/products/75277/intel-xeon-processor-e52680-v2-25m-cache-2-80-ghz.html

Thanks for finding this! I hope the chef team updates it!

from chef-server.

dkowis avatar dkowis commented on June 21, 2024

Ah yeah that'd do it, these CPUs are slightly too old for that: https://ark.intel.com/content/www/us/en/ark/products/75277/intel-xeon-processor-e52680-v2-25m-cache-2-80-ghz.html

Actually, I think this CPU should support SSE4.2 It's supposedly Sandy Bridge era, which, in theory, supports SSE 4.2 HRMMM

from chef-server.

dkowis avatar dkowis commented on June 21, 2024

Yeah, I don't see it passed through in proxmox, so I've gotta figure that part out!

from chef-server.

uskf avatar uskf commented on June 21, 2024

probably same problem #3451

from chef-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.