-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(3.8.0 - 3.9.3) ParallelCluster Build Image Failing during Installation of Minitar Ruby Gem Dependency #6405
Comments
I also got bit by this yesterday I followed the wiki page and was unable to complete the workarounds listed in Option 2 First of all,
is not correct. In all versions, the line is
When building the image, I get an error
At this point, the image build fails I tried modifying the lines to be
and a number of different combinations to the above but with no avail; I still get the same error How did you manage to get this to build? |
I just tried to build a new AMI recently (I'm on PCluster 3.8) and I hit the same error.
I took a look at the suggested mitigation options. Option 1 (Upgrade). I'd prefer not to upgrade to 3.10 as I have several clusters being managed by 3.8 and I don't feel comfortable jeopardizing my otherwise working installation of PCluster3 (3.8) as I typically have my users create clusters for discrete purposes rather than have a single cluster that everyone uses. keeping PCLusterUI working is desirable. Option 2 (hack the yaml). I don't understand how this option relates to my installation. When I installed PCluster3, I opted for the PCluster UI via CloudFormation Template (https://parallelcluster-ui-release-artifacts-us-east-1.s3.us-east-1.amazonaws.com/parallelcluster-ui.yaml). So, I have no idea what relationship the CFT has to the Help? I'm presently seeing if I can hack the image build steps to patch the file in a manner similar to the mitigation step? |
Having the same issue on 3.9.2 + rhel8 |
The issue
During
pcluster build-image
, ParallelCluster installs Berkshelf gems for dependency management.Minitar
is a dependency of Berkshelf. On Tuesday, August 6, Minitar released 2 different versions, v1.0.0 and last version of minitar v0.12 with the deprecated archive-tar-minitar v0.12.The latest minitar v1.0.0 removed the
Archive::Tar
namespace andarchive/tar
path as they have been deprecated since 2017. And moved the executable in a separateminitar-cli
package. These changes inminitar
v 1.0.0+ causes failure in Berkshelf installation and hence the ParallelCluster Build Image fails.Reference to Berkshelf Installation Failure chef/berkshelf#26
Error details
ParallelCluster fails to build images. The error surfaced by ParallelCluster Build Image is:
And, below is the snippet of the failure in ParallelCluster Build Image Logs which you can capture using pcluster export-image-logs - AWS ParallelCluster
Affected versions
This issue impacts ParallelCluster versions from 3.8.0 to 3.9.3, across all OSes, schedulers.
Mitigation
You can find a detailed explanation and the mitigation of the problem in Wiki here
The text was updated successfully, but these errors were encountered: