Actions
Bug #23498
closedFeatures::Mongo::server_version doesnt work with mongo3.4
Difficulty:
Triaged:
Description
D, [2018-05-04 10:27:48+0200 #10165] DEBUG -- : Running command mongo --host localhost --port 27017 --eval 'ping:1' pulp_database with stdin nil D, [2018-05-04 10:27:48+0200 #10165] DEBUG -- : output of the command: sh: mongo: command not found
server_version runs /usr/bin/mongo which is not installed anymore (remove mongo 2.6)
https://github.com/theforeman/foreman-packaging/pull/2343/files#diff-524a56c89a7dd0e9dbe2443042774384
def server_version(config = configuration) # do not use any core methods as we need this prior the core is created version = execute(base_command('mongo', config, "--eval 'db.version()' #{config['name']}"), :hidden_patterns => [config['password']].compact)
Updated by The Foreman Bot almost 6 years ago
- Assignee set to Martin Bacovsky
- Pull request https://github.com/theforeman/foreman_maintain/pull/179 added
Updated by Martin Bacovsky almost 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_maintain|3b7d325fd97eecb4bdb58d2b83126f29d2d7faa4.
Actions