Skip to content
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

[BUG] Same rpm different dependencies raise Collection does not exist. Currently in strict mode #406

Open
cesarjorgemartinez opened this issue Oct 25, 2016 · 0 comments
Assignees

Comments

@cesarjorgemartinez
Copy link
Collaborator

The subscription STH has failed with 500 exception error.
Log trace example (When exist the collection sth_/simulatorTest):
msg=Error
when getting the raw data collection for storing:MongoError: Collection sth_/simulatorTests does not exist. Currently in strict mode

The npm dependencies can be changed over time. We need to control the exact dependencies for at least me most important dependencies.
We need to fix in master and release/1.1.0 and higher.

STH dependency failed (OLD):
fiware-sth-comet@1.1.1 /root/backup_sth_bug_col_not_exist_strict_mode/sth
├── async@2.0.1
├─┬ boom@2.10.1
│ └── hoek@2.16.3
├── bytes-counter@1.0.0
├─┬ commander@2.9.0
│ └── graceful-readlink@1.0.1
├─┬ csv-parser@1.11.0
│ ├── generate-function@1.1.0
│ ├─┬ generate-object-property@1.2.0
│ │ └── is-property@1.0.2
│ ├── inherits@2.0.1
│ ├── minimist@1.2.0
│ └─┬ ndjson@1.4.3
│ ├── split2@0.2.1
│ └─┬ through2@0.6.5
│ ├─┬ readable-stream@1.0.34
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@0.0.1
│ │ └── string_decoder@0.10.31
│ └── xtend@4.0.1
├─┬ hapi@8.8.1
│ ├── accept@1.0.0
│ ├── ammo@1.0.0
│ ├── boom@2.7.2
│ ├── call@2.0.1
│ ├── catbox@4.3.0
│ ├── catbox-memory@1.1.1
│ ├── cryptiles@2.0.4
│ ├─┬ h2o2@4.0.1
│ │ └── wreck@5.6.1
│ ├─┬ heavy@3.0.0
│ │ └─┬ joi@5.1.0
│ │ ├── isemail@1.2.0
│ │ └── moment@2.14.1
│ ├── hoek@2.14.0
│ ├─┬ inert@2.1.6
│ │ └── lru-cache@2.6.5
│ ├── iron@2.1.2
│ ├── items@1.1.0
│ ├─┬ joi@6.4.1
│ │ ├── isemail@1.1.1
│ │ └── moment@2.10.3
│ ├── kilt@1.1.1
│ ├─┬ mimos@2.0.2
│ │ └── mime-db@1.14.0
│ ├── peekaboo@1.0.0
│ ├── qs@4.0.0
│ ├── shot@1.5.3
│ ├── statehood@2.1.1
│ ├─┬ subtext@1.1.1
│ │ ├── content@1.0.1
│ │ └─┬ pez@1.0.0
│ │ ├── b64@2.0.0
│ │ └─┬ nigel@1.0.1
│ │ └── vise@1.0.0
│ ├── topo@1.0.3
│ ├── vision@2.0.1
│ └── wreck@6.0.0
├─┬ joi@5.1.0
│ ├── hoek@2.16.3
│ ├── isemail@1.2.0
│ ├── moment@2.14.1
│ └── topo@1.1.0
├─┬ json-csv@1.3.0
│ ├─┬ concat-stream@1.5.2
│ │ ├── inherits@2.0.1
│ │ ├─┬ readable-stream@2.0.6
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── isarray@1.0.0
│ │ │ ├── process-nextick-args@1.0.7
│ │ │ ├── string_decoder@0.10.31
│ │ │ └── util-deprecate@1.0.2
│ │ └── typedarray@0.0.6
│ └─┬ event-stream@3.3.4
│ ├── duplexer@0.1.1
│ ├── from@0.1.3
│ ├── map-stream@0.1.0
│ ├── pause-stream@0.0.11
│ ├── split@0.3.3
│ ├── stream-combiner@0.0.4
│ └── through@2.3.8
├── lodash@4.15.0
├─┬ logops@1.0.6
│ ├── colors@1.1.2
│ ├── json-stringify-safe@5.0.1
│ └── serr@1.0.0
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ mongodb@2.2.9
│ ├── es6-promise@3.2.1
│ ├─┬ mongodb-core@2.0.11
│ │ ├── bson@0.5.4
│ │ └─┬ require_optional@1.0.0
│ │ ├── resolve-from@2.0.0
│ │ └── semver@5.3.0
│ └─┬ readable-stream@2.1.5
│ ├── buffer-shims@1.0.0
│ ├── core-util-is@1.0.2
│ ├── inherits@2.0.1
│ ├── isarray@1.0.0
│ ├── process-nextick-args@1.0.7
│ ├── string_decoder@0.10.31
│ └── util-deprecate@1.0.2
├── object-assign@4.1.0
├── progress@1.1.8
└── uuid@2.0.2

STH npm dependency good (NEW):
fiware-sth-comet@1.1.1 /opt/sth
├── async@2.1.2
├─┬ boom@2.10.1
│ └── hoek@2.16.3
├── bytes-counter@1.0.0
├─┬ commander@2.9.0
│ └── graceful-readlink@1.0.1
├─┬ csv-parser@1.11.0
│ ├── generate-function@1.1.0
│ ├─┬ generate-object-property@1.2.0
│ │ └── is-property@1.0.2
│ ├── inherits@2.0.3
│ ├── minimist@1.2.0
│ └─┬ ndjson@1.4.3
│ ├── split2@0.2.1
│ └─┬ through2@0.6.5
│ ├─┬ readable-stream@1.0.34
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@0.0.1
│ │ └── string_decoder@0.10.31
│ └── xtend@4.0.1
├─┬ hapi@8.8.1
│ ├── accept@1.0.0
│ ├── ammo@1.0.0
│ ├── boom@2.7.2
│ ├── call@2.0.1
│ ├── catbox@4.3.0
│ ├── catbox-memory@1.1.1
│ ├── cryptiles@2.0.4
│ ├─┬ h2o2@4.0.1
│ │ └── wreck@5.6.1
│ ├─┬ heavy@3.0.0
│ │ └─┬ joi@5.1.0
│ │ ├── isemail@1.2.0
│ │ └── moment@2.15.2
│ ├── hoek@2.14.0
│ ├─┬ inert@2.1.6
│ │ └── lru-cache@2.6.5
│ ├── iron@2.1.2
│ ├── items@1.1.0
│ ├─┬ joi@6.4.1
│ │ ├── isemail@1.1.1
│ │ └── moment@2.10.3
│ ├── kilt@1.1.1
│ ├─┬ mimos@2.0.2
│ │ └── mime-db@1.14.0
│ ├── peekaboo@1.0.0
│ ├── qs@4.0.0
│ ├── shot@1.5.3
│ ├── statehood@2.1.1
│ ├─┬ subtext@1.1.1
│ │ ├── content@1.0.1
│ │ └─┬ pez@1.0.0
│ │ ├── b64@2.0.0
│ │ └─┬ nigel@1.0.1
│ │ └── vise@1.0.0
│ ├── topo@1.0.3
│ ├── vision@2.0.1
│ └── wreck@6.0.0
├─┬ joi@5.1.0
│ ├── hoek@2.16.3
│ ├── isemail@1.2.0
│ ├── moment@2.15.2
│ └── topo@1.1.0
├─┬ json-csv@1.3.0
│ ├─┬ concat-stream@1.5.2
│ │ ├── inherits@2.0.3
│ │ ├─┬ readable-stream@2.0.6
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── isarray@1.0.0
│ │ │ ├── process-nextick-args@1.0.7
│ │ │ ├── string_decoder@0.10.31
│ │ │ └── util-deprecate@1.0.2
│ │ └── typedarray@0.0.6
│ └─┬ event-stream@3.3.4
│ ├── duplexer@0.1.1
│ ├── from@0.1.3
│ ├── map-stream@0.1.0
│ ├── pause-stream@0.0.11
│ ├── split@0.3.3
│ ├── stream-combiner@0.0.4
│ └── through@2.3.8
├── lodash@4.16.4
├─┬ logops@1.0.7
│ ├── colors@1.1.2
│ ├── json-stringify-safe@5.0.1
│ └── serr@1.0.1
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ mongodb@2.2.11
│ ├── es6-promise@3.2.1
│ ├─┬ mongodb-core@2.0.13
│ │ ├── bson@0.5.6
│ │ └─┬ require_optional@1.0.0
│ │ ├── resolve-from@2.0.0
│ │ └── semver@5.3.0
│ └─┬ readable-stream@2.1.5
│ ├── buffer-shims@1.0.0
│ ├── core-util-is@1.0.2
│ ├── inherits@2.0.3
│ ├── isarray@1.0.0
│ ├── process-nextick-args@1.0.7
│ ├── string_decoder@0.10.31
│ └── util-deprecate@1.0.2
├── object-assign@4.1.0
├── progress@1.1.8
└── uuid@2.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants