Created
April 7, 2015 17:53
-
-
Save MosesMendoza/a81baa725d85340c30f0 to your computer and use it in GitHub Desktop.
nc failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@el7 ~]# /opt/puppet/bin/nc_migrate import --input converted-dashboard-classification.json | |
Exception in thread "main" java.lang.IllegalArgumentException: No implementation of method: :get-groups of protocol: #'puppetlabs.classifier.storage/PrimitiveStorage found for class: clojure.lang.LazySeq | |
at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:555) | |
at puppetlabs.classifier.storage$fn__5310$G__5257__5315.invoke(storage.clj:11) | |
at puppetlabs.redrover.import$merge_hierarchy.invoke(import.clj:153) | |
at puppetlabs.redrover.import$import_BANG_.invoke(import.clj:172) | |
at puppetlabs.redrover.main$main_STAR_.doInvoke(main.clj:195) | |
at clojure.lang.RestFn.applyTo(RestFn.java:137) | |
at clojure.core$apply.invoke(core.clj:626) | |
at puppetlabs.redrover.main$_main$fn__10193.invoke(main.clj:207) | |
at puppetlabs.redrover.main$catch_and_quit.invoke(main.clj:201) | |
at puppetlabs.redrover.main$_main.doInvoke(main.clj:207) | |
at clojure.lang.RestFn.applyTo(RestFn.java:137) | |
at puppetlabs.redrover.main.main(Unknown Source) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@el7 ~]# cat converted-dashboard-classification.json | |
[ { | |
"rule" : [ "or", [ "=", "name", "el7" ] ], | |
"id" : "fba0827f-f482-4c93-8453-0cd445ba5037", | |
"name" : "Node: el7", | |
"description" : "", | |
"parent" : "00000000-0000-4000-8000-000000000000", | |
"environment" : "agent-specified", | |
"environment-trumps" : false, | |
"classes" : { | |
"pe_repo::platform::el_7_x86_64" : { }, | |
"pe_repo" : { }, | |
"puppet_enterprise::license" : { }, | |
"pe_puppetdb::pe" : { | |
"listen_port" : 8080, | |
"ssl_listen_address" : "el7", | |
"ssl_listen_port" : 8081, | |
"database_host" : "el7", | |
"database_port" : 5432, | |
"database_name" : "pe-puppetdb", | |
"database_username" : "pe-puppetdb", | |
"manage_database" : true | |
}, | |
"pe_puppetdb::master::config" : { | |
"puppetdb_server" : "el7", | |
"puppetdb_port" : 8081, | |
"manage_config" : true, | |
"manage_routes" : true, | |
"manage_storeconfigs" : true, | |
"manage_report_processor" : true, | |
"enable_reports" : true, | |
"strict_validation" : false | |
} | |
}, | |
"variables" : { } | |
}, { | |
"id" : "bb242ba7-5449-4058-aaa8-8e0bc1b47617", | |
"name" : "foogroup", | |
"description" : "", | |
"parent" : "6fd82083-09e7-41af-86dc-aad48974973a", | |
"environment" : "agent-specified", | |
"environment-trumps" : false, | |
"classes" : { }, | |
"variables" : { } | |
}, { | |
"id" : "6fd82083-09e7-41af-86dc-aad48974973a", | |
"name" : "parent0", | |
"description" : "", | |
"parent" : "00000000-0000-4000-8000-000000000000", | |
"environment" : "agent-specified", | |
"environment-trumps" : false, | |
"classes" : { }, | |
"variables" : { } | |
}, { | |
"id" : "1e692efe-664e-4bb6-ba37-c3c17b765dd8", | |
"name" : "parent1", | |
"description" : "", | |
"parent" : "00000000-0000-4000-8000-000000000000", | |
"environment" : "agent-specified", | |
"environment-trumps" : false, | |
"classes" : { }, | |
"variables" : { } | |
}, { | |
"id" : "00000000-0000-4000-8000-000000000000", | |
"name" : "default", | |
"parent" : "00000000-0000-4000-8000-000000000000", | |
"rule" : [ "~", "name", ".*" ], | |
"environment" : "production", | |
"environment-trumps" : false, | |
"classes" : { }, | |
"variables" : { } | |
} ][root@el7 ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment