[SERVER-12574] Remove mongoadmin from packaging scripts Created: 03/Feb/14  Updated: 05/May/14  Resolved: 16/Feb/14

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.5.5
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Ernie Hershey Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: Linux
Participants:

 Description   

UPDATE: We're no longer going to include a separate mongoadmin tool. functionality is being moved to the shell for 2.6. This ticket is now to track unwinding any work we did in packaging to support mongoadmin.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

packager.py gives this error:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/tmpzvVkvX/rpmbuild/BUILDROOT/mongodb-org-unstable-2.5.5-mongodb_1.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/bin/mongoadmin
 
 
RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/bin/mongoadmin
Traceback (most recent call last):
  File "packager.py", line 638, in <module>
    main(sys.argv)
  File "packager.py", line 176, in main
    repos.append(make_package(distro, arch, spec, srcdir))
  File "packager.py", line 344, in make_package
    return distro.make_pkg(arch, spec, srcdir)
  File "packager.py", line 146, in make_pkg
    return make_rpm(self, arch, spec, srcdir)
  File "packager.py", line 606, in make_rpm
    sysassert(["rpmbuild", "-ba", "--target", distro_arch] + flags + ["%s/SPECS/mongodb%s.spec" % (topdir, suffix)])
  File "packager.py", line 241, in sysassert
    assert(subprocess.Popen(argv).wait()==0)
AssertionError



 Comments   
Comment by Ernie Hershey [ 16/Feb/14 ]

No work needed.

Generated at Thu Feb 08 03:28:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.