Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.5.0
-
Security Level: Public
-
None
-
CBG Sprint 22, CBG Sprint 23, CBG Sprint 24, CBG Sprint 25
-
5
Description
I think this is a build/packaging issue but I'm having a very hard time tracking it down.
For context, I maintain our automated demo environments through RightScale which in turn launches instances in AWS. I recently upgraded these scripts to SG 2.5 and am now running into an issue when trying to install it. The weirdest part so far is that the installation only fails when the server first starts up and works fine a little later.
I'm working on finding a workaround for myself, but thought you might have an idea of where the issue is and/or that it might be affecting others:
yum -y install couchbase-sync-gateway-enterprise_2.5.0_x86_64.rpm |
Error in PREIN scriptlet in rpm package couchbase-sync-gateway-2.5.0-271.x86_64 |
Loaded plugins: fastestmirror
|
Examining couchbase-sync-gateway-enterprise_2.5.0_x86_64.rpm: couchbase-sync-gateway-2.5.0-271.x86_64 |
Marking couchbase-sync-gateway-enterprise_2.5.0_x86_64.rpm to be installed |
Resolving Dependencies
|
--> Running transaction check
|
---> Package couchbase-sync-gateway.x86_64 0:2.5.0-271 will be installed |
--> Finished
|
Dependency Resolution
|
Dependencies Resolved ================================================================================
|
Package Arch Version Repository Size ================================================================================
|
Installing: couchbase-sync-gateway x86_64 2.5.0-271 /couchbase-sync-gateway-enterprise_2.5.0_x86_64 31 M Transaction Summary ================================================================================ |
Install 1 Package |
Total size: 31 M |
Installed size: 31 M |
Downloading packages:
|
Running transaction check
|
Running transaction test
|
Transaction test succeeded
|
Running transaction
|
useradd: cannot create directory /opt/couchbase-sync-gateway error: %pre(couchbase-sync-gateway-2.5.0-271.x86_64) scriptlet failed, exit status 1 |
Verifying : couchbase-sync-gateway-2.5.0-271.x86_64 1/1 |
Failed: couchbase-sync-gateway.x86_64 0:2.5.0-271 |
Complete!
|