mealal / vault-atlas-plugin

Hashicorp Vault Atlas Plugin
4 stars 4 forks source link

Issue will run 'dep ensure' #1

Closed shahar-airsoft closed 5 years ago

shahar-airsoft commented 5 years ago

I have tried to compile the plugin but seems that something broken with the dependents

dep: WARNING: Unknown field in manifest: prune ensure Solve(): No versions of github.com/hashicorp/vault met constraints: v1.1.3: Could not introduce github.com/hashicorp/vault@v1.1.3, as it is not allowed by constraint master from project vault-atlas-plugin. v1.1.2: Could not introduce github.com/hashicorp/vault@v1.1.2, as it is not allowed by constraint master from project vault-atlas-plugin. v1.1.1: Could not introduce github.com/hashicorp/vault@v1.1.1, as it is not allowed by constraint master from project vault-atlas-plugin. v1.1.0: Could not introduce github.com/hashicorp/vault@v1.1.0, as it is not allowed by constraint master from project vault-atlas-plugin. v1.0.3: Could not introduce github.com/hashicorp/vault@v1.0.3, as it is not allowed by constraint master from project vault-atlas-plugin. v1.0.2: Could not introduce github.com/hashicorp/vault@v1.0.2, as it is not allowed by constraint master from project vault-atlas-plugin. v1.0.1: Could not introduce github.com/hashicorp/vault@v1.0.1, as it is not allowed by constraint master from project vault-atlas-plugin. v1.0.0: Could not introduce github.com/hashicorp/vault@v1.0.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.11.6: Could not introduce github.com/hashicorp/vault@v0.11.6, as it is not allowed by constraint master from project vault-atlas-plugin. v0.11.5: Could not introduce github.com/hashicorp/vault@v0.11.5, as it is not allowed by constraint master from project vault-atlas-plugin. v0.11.4: Could not introduce github.com/hashicorp/vault@v0.11.4, as it is not allowed by constraint master from project vault-atlas-plugin. v0.11.3: Could not introduce github.com/hashicorp/vault@v0.11.3, as it is not allowed by constraint master from project vault-atlas-plugin. v0.11.2: Could not introduce github.com/hashicorp/vault@v0.11.2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.11.1: Could not introduce github.com/hashicorp/vault@v0.11.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.11.0: Could not introduce github.com/hashicorp/vault@v0.11.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.10.4: Could not introduce github.com/hashicorp/vault@v0.10.4, as it is not allowed by constraint master from project vault-atlas-plugin. v0.10.3: Could not introduce github.com/hashicorp/vault@v0.10.3, as it is not allowed by constraint master from project vault-atlas-plugin. v0.10.2: Could not introduce github.com/hashicorp/vault@v0.10.2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.10.1: Could not introduce github.com/hashicorp/vault@v0.10.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.10.0: Could not introduce github.com/hashicorp/vault@v0.10.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.9.6: Could not introduce github.com/hashicorp/vault@v0.9.6, as it is not allowed by constraint master from project vault-atlas-plugin. v0.9.5: Could not introduce github.com/hashicorp/vault@v0.9.5, as it is not allowed by constraint master from project vault-atlas-plugin. v0.9.4: Could not introduce github.com/hashicorp/vault@v0.9.4, as it is not allowed by constraint master from project vault-atlas-plugin. v0.9.3: Could not introduce github.com/hashicorp/vault@v0.9.3, as it is not allowed by constraint master from project vault-atlas-plugin. v0.9.2: Could not introduce github.com/hashicorp/vault@v0.9.2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.9.1: Could not introduce github.com/hashicorp/vault@v0.9.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.9.0: Could not introduce github.com/hashicorp/vault@v0.9.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.8.3: Could not introduce github.com/hashicorp/vault@v0.8.3, as it is not allowed by constraint master from project vault-atlas-plugin. v0.8.2: Could not introduce github.com/hashicorp/vault@v0.8.2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.8.1: Could not introduce github.com/hashicorp/vault@v0.8.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.8.0: Could not introduce github.com/hashicorp/vault@v0.8.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.7.3: Could not introduce github.com/hashicorp/vault@v0.7.3, as it is not allowed by constraint master from project vault-atlas-plugin. v0.7.2: Could not introduce github.com/hashicorp/vault@v0.7.2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.7.1: Could not introduce github.com/hashicorp/vault@v0.7.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.7.0: Could not introduce github.com/hashicorp/vault@v0.7.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.5: Could not introduce github.com/hashicorp/vault@v0.6.5, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.4: Could not introduce github.com/hashicorp/vault@v0.6.4, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.3: Could not introduce github.com/hashicorp/vault@v0.6.3, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.2: Could not introduce github.com/hashicorp/vault@v0.6.2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.1: Could not introduce github.com/hashicorp/vault@v0.6.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.0: Could not introduce github.com/hashicorp/vault@v0.6.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.5.3: Could not introduce github.com/hashicorp/vault@v0.5.3, as it is not allowed by constraint master from project vault-atlas-plugin. v0.5.2: Could not introduce github.com/hashicorp/vault@v0.5.2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.5.1: Could not introduce github.com/hashicorp/vault@v0.5.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.5.0: Could not introduce github.com/hashicorp/vault@v0.5.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.4.1: Could not introduce github.com/hashicorp/vault@v0.4.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.4.0: Could not introduce github.com/hashicorp/vault@v0.4.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.3.1: Could not introduce github.com/hashicorp/vault@v0.3.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.3.0: Could not introduce github.com/hashicorp/vault@v0.3.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.2.0: Could not introduce github.com/hashicorp/vault@v0.2.0, as it is not allowed by constraint master from project vault-atlas-plugin. v0.1.2: Could not introduce github.com/hashicorp/vault@v0.1.2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.1.1: Could not introduce github.com/hashicorp/vault@v0.1.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.1.0: Could not introduce github.com/hashicorp/vault@v0.1.0, as it is not allowed by constraint master from project vault-atlas-plugin. v1.2.0-beta1: Could not introduce github.com/hashicorp/vault@v1.2.0-beta1, as it is not allowed by constraint master from project vault-atlas-plugin. v1.1.0-beta2: Could not introduce github.com/hashicorp/vault@v1.1.0-beta2, as it is not allowed by constraint master from project vault-atlas-plugin. v1.1.0-beta1: Could not introduce github.com/hashicorp/vault@v1.1.0-beta1, as it is not allowed by constraint master from project vault-atlas-plugin. v1.0.0-rc1: Could not introduce github.com/hashicorp/vault@v1.0.0-rc1, as it is not allowed by constraint master from project vault-atlas-plugin. v1.0.0-beta2: Could not introduce github.com/hashicorp/vault@v1.0.0-beta2, as it is not allowed by constraint master from project vault-atlas-plugin. v1.0.0-beta1: Could not introduce github.com/hashicorp/vault@v1.0.0-beta1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.11.0-beta1: Could not introduce github.com/hashicorp/vault@v0.11.0-beta1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.10.0-rc1: Could not introduce github.com/hashicorp/vault@v0.10.0-rc1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.8.0-rc1: Could not introduce github.com/hashicorp/vault@v0.8.0-rc1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.8.0-beta1: Could not introduce github.com/hashicorp/vault@v0.8.0-beta1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.7.0-beta1: Could not introduce github.com/hashicorp/vault@v0.7.0-beta1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.1-rc3: Could not introduce github.com/hashicorp/vault@v0.6.1-rc3, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.1-rc2: Could not introduce github.com/hashicorp/vault@v0.6.1-rc2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.1-rc1: Could not introduce github.com/hashicorp/vault@v0.6.1-rc1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.0-rebuild: Could not introduce github.com/hashicorp/vault@v0.6.0-rebuild, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.0-rc1: Could not introduce github.com/hashicorp/vault@v0.6.0-rc1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.0-beta2: Could not introduce github.com/hashicorp/vault@v0.6.0-beta2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.6.0-beta1: Could not introduce github.com/hashicorp/vault@v0.6.0-beta1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.5.0-rc2: Could not introduce github.com/hashicorp/vault@v0.5.0-rc2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.5.0-rc1.2: Could not introduce github.com/hashicorp/vault@v0.5.0-rc1.2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.5.0-rc1.1: Could not introduce github.com/hashicorp/vault@v0.5.0-rc1.1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.5.0-rc1: Could not introduce github.com/hashicorp/vault@v0.5.0-rc1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.4.0-rc2: Could not introduce github.com/hashicorp/vault@v0.4.0-rc2, as it is not allowed by constraint master from project vault-atlas-plugin. v0.4.0-rc1: Could not introduce github.com/hashicorp/vault@v0.4.0-rc1, as it is not allowed by constraint master from project vault-atlas-plugin. v0.3.0-rc: Could not introduce github.com/hashicorp/vault@v0.3.0-rc, as it is not allowed by constraint master from project vault-atlas-plugin. master: Could not introduce github.com/hashicorp/vault@master due to multiple problematic subpackages: Subpackage github.com/hashicorp/vault/plugins/helper/database/credsutil is missing. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.) Subpackage github.com/hashicorp/vault/plugins/helper/database/dbutil is missing. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.) Subpackage github.com/hashicorp/vault/plugins does not contain usable Go code (*build.NoGoError).. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.) 0.10.2-extra-db-debug: Could not introduce github.com/hashicorp/vault@0.10.2-extra-db-debug, as it is not allowed by constraint master from project vault-atlas-plugin. 0.11-upgrade-notes: Could not introduce github.com/hashicorp/vault@0.11-upgrade-notes, as it is not allowed by constraint master from project vault-atlas-plugin. 0.11.5: Could not introduce github.com/hashicorp/vault@0.11.5, as it is not allowed by constraint master from project vault-atlas-plugin. 0.11.6: Could not introduce github.com/hashicorp/vault@0.11.6, as it is not allowed by constraint master from project vault-atlas-plugin. 011-news-update: Could not introduce github.com/hashicorp/vault@011-news-update, as it is not allowed by constraint master from project vault-atlas-plugin. 1.1-beta: Could not introduce github.com/hashicorp/vault@1.1-beta, as it is not allowed by constraint master from project vault-atlas-plugin. 1.1.2: Could not introduce github.com/hashicorp/vault@1.1.2, as it is not allowed by constraint master from project vault-atlas-plugin. 1.1.3: Could not introduce github.com/hashicorp/vault@1.1.3, as it is not allowed by constraint master from project vault-atlas-plugin. 1.1.4: Could not introduce github.com/hashicorp/vault@1.1.4, as it is not allowed by constraint master from project vault-atlas-plugin. OIDC_dev_tests: Could not introduce github.com/hashicorp/vault@OIDC_dev_tests, as it is not allowed by constraint master from project vault-atlas-plugin. add-license-callback: Could not introduce github.com/hashicorp/vault@add-license-callback, as it is not allowed by constraint master from project vault-atlas-plugin. add-response-warnings-to-audit: Could not introduce github.com/hashicorp/vault@add-response-warnings-to-audit, as it is not allowed by constraint master from project vault-atlas-plugin. add_ha_info_to_status: Could not introduce github.com/hashicorp/vault@add_ha_info_to_status, as it is not allowed by constraint master from project vault-atlas-plugin. agent-cache-auto-auth: Could not introduce github.com/hashicorp/vault@agent-cache-auto-auth, as it is not allowed by constraint master from project vault-atlas-plugin. agent_namespace_config: Could not introduce github.com/hashicorp/vault@agent_namespace_config, as it is not allowed by constraint master from project vault-atlas-plugin. alex/add_num_uses_to_tokenhelper_v2: Could not introduce github.com/hashicorp/vault@alex/add_num_uses_to_tokenhelper_v2, as it is not allowed by constraint master from project vault-atlas-plugin. alex/fix_circle_ci_go-mod-vendor-check: Could not introduce github.com/hashicorp/vault@alex/fix_circle_ci_go-mod-vendor-check, as it is not allowed by constraint master from project vault-atlas-plugin. alex/pollVaultAgentSinkForVaultToken: Could not introduce github.com/hashicorp/vault@alex/pollVaultAgentSinkForVaultToken, as it is not allowed by constraint master from project vault-atlas-plugin. allow-uppercase-consul-service-tags: Could not introduce github.com/hashicorp/vault@allow-uppercase-consul-service-tags, as it is not allowed by constraint master from project vault-atlas-plugin. api-comma-string-cleanup: Could not introduce github.com/hashicorp/vault@api-comma-string-cleanup, as it is not allowed by constraint master from project vault-atlas-plugin. apidoc: Could not introduce github.com/hashicorp/vault@apidoc, as it is not allowed by constraint master from project vault-atlas-plugin. audit-hmac: Could not introduce github.com/hashicorp/vault@audit-hmac, as it is not allowed by constraint master from project vault-atlas-plugin. audit-wrapping-token: Could not introduce github.com/hashicorp/vault@audit-wrapping-token, as it is not allowed by constraint master from project vault-atlas-plugin. auth-polish: Could not introduce github.com/hashicorp/vault@auth-polish, as it is not allowed by constraint master from project vault-atlas-plugin. aws-upgrade-role-entries: Could not introduce github.com/hashicorp/vault@aws-upgrade-role-entries, as it is not allowed by constraint master from project vault-atlas-plugin. base64-barrier-config: Could not introduce github.com/hashicorp/vault@base64-barrier-config, as it is not allowed by constraint master from project vault-atlas-plugin. bootstrap-pki: Could not introduce github.com/hashicorp/vault@bootstrap-pki, as it is not allowed by constraint master from project vault-atlas-plugin. casandra-tests: Could not introduce github.com/hashicorp/vault@casandra-tests, as it is not allowed by constraint master from project vault-atlas-plugin. catsby-patch-1: Could not introduce github.com/hashicorp/vault@catsby-patch-1, as it is not allowed by constraint master from project vault-atlas-plugin. cdcr: Could not introduce github.com/hashicorp/vault@cdcr, as it is not allowed by constraint master from project vault-atlas-plugin. cdcr-backend-grpc: Could not introduce github.com/hashicorp/vault@cdcr-backend-grpc, as it is not allowed by constraint master from project vault-atlas-plugin. cdcr-mysql: Could not introduce github.com/hashicorp/vault@cdcr-mysql, as it is not allowed by constraint master from project vault-atlas-plugin. cdcr-priority-queue: Could not introduce github.com/hashicorp/vault@cdcr-priority-queue, as it is not allowed by constraint master from project vault-atlas-plugin. cdcr-rotation: Could not introduce github.com/hashicorp/vault@cdcr-rotation, as it is not allowed by constraint master from project vault-atlas-plugin. cgriggs01-vip-guide: Could not introduce github.com/hashicorp/vault@cgriggs01-vip-guide, as it is not allowed by constraint master from project vault-atlas-plugin. ci/custom-github-statuses: Could not introduce github.com/hashicorp/vault@ci/custom-github-statuses, as it is not allowed by constraint master from project vault-atlas-plugin. ci/debug-test-timeouts: Could not introduce github.com/hashicorp/vault@ci/debug-test-timeouts, as it is not allowed by constraint master from project vault-atlas-plugin. ci/pre-flight-checks: Could not introduce github.com/hashicorp/vault@ci/pre-flight-checks, as it is not allowed by constraint master from project vault-atlas-plugin. ci/refactor-go-mod-cache-perms: Could not introduce github.com/hashicorp/vault@ci/refactor-go-mod-cache-perms, as it is not allowed by constraint master from project vault-atlas-plugin. ci/testsample: Could not introduce github.com/hashicorp/vault@ci/testsample, as it is not allowed by constraint master from project vault-atlas-plugin. combined-database-cred-rotation: Could not introduce github.com/hashicorp/vault@combined-database-cred-rotation, as it is not allowed by constraint master from project vault-atlas-plugin. combined-db: Could not introduce github.com/hashicorp/vault@combined-db, as it is not allowed by constraint master from project vault-atlas-plugin. context-aware-backends: Could not introduce github.com/hashicorp/vault@context-aware-backends, as it is not allowed by constraint master from project vault-atlas-plugin. cubbyhole-upgrade-debug: Could not introduce github.com/hashicorp/vault@cubbyhole-upgrade-debug, as it is not allowed by constraint master from project vault-atlas-plugin. cubbyhole-upgrade-debug-0.6.5: Could not introduce github.com/hashicorp/vault@cubbyhole-upgrade-debug-0.6.5, as it is not allowed by constraint master from project vault-atlas-plugin. data-version: Could not introduce github.com/hashicorp/vault@data-version, as it is not allowed by constraint master from project vault-atlas-plugin. database-grpc-plugins: Could not introduce github.com/hashicorp/vault@database-grpc-plugins, as it is not allowed by constraint master from project vault-atlas-plugin. db-cockroachdb: Could not introduce github.com/hashicorp/vault@db-cockroachdb, as it is not allowed by constraint master from project vault-atlas-plugin. db-config-hashed-pwd: Could not introduce github.com/hashicorp/vault@db-config-hashed-pwd, as it is not allowed by constraint master from project vault-atlas-plugin. db-roll-creds: Could not introduce github.com/hashicorp/vault@db-roll-creds, as it is not allowed by constraint master from project vault-atlas-plugin. demo-vagrant: Could not introduce github.com/hashicorp/vault@demo-vagrant, as it is not allowed by constraint master from project vault-atlas-plugin. derived-logging: Could not introduce github.com/hashicorp/vault@derived-logging, as it is not allowed by constraint master from project vault-atlas-plugin. doc-jwt-leeway: Could not introduce github.com/hashicorp/vault@doc-jwt-leeway, as it is not allowed by constraint master from project vault-atlas-plugin. docs-ad-secrets-api: Could not introduce github.com/hashicorp/vault@docs-ad-secrets-api, as it is not allowed by constraint master from project vault-atlas-plugin. docs-api-approle: Could not introduce github.com/hashicorp/vault@docs-api-approle, as it is not allowed by constraint master from project vault-atlas-plugin. docs-audit-devices: Could not introduce github.com/hashicorp/vault@docs-audit-devices, as it is not allowed by constraint master from project vault-atlas-plugin. docs-aws-sts-updates: Could not introduce github.com/hashicorp/vault@docs-aws-sts-updates, as it is not allowed by constraint master from project vault-atlas-plugin. docs-basic-concepts-tokens: Could not introduce github.com/hashicorp/vault@docs-basic-concepts-tokens, as it is not allowed by constraint master from project vault-atlas-plugin. docs-hsm-reqs: Could not introduce github.com/hashicorp/vault@docs-hsm-reqs, as it is not allowed by constraint master from project vault-atlas-plugin. docs-mssql-sidebar: Could not introduce github.com/hashicorp/vault@docs-mssql-sidebar, as it is not allowed by constraint master from project vault-atlas-plugin. docs-namespaces-concepts: Could not introduce github.com/hashicorp/vault@docs-namespaces-concepts, as it is not allowed by constraint master from project vault-atlas-plugin. docs-openapi-path-help: Could not introduce github.com/hashicorp/vault@docs-openapi-path-help, as it is not allowed by constraint master from project vault-atlas-plugin. docs-ref-architecture: Could not introduce github.com/hashicorp/vault@docs-ref-architecture, as it is not allowed by constraint master from project vault-atlas-plugin. dump-goroutines-nondestructively: Could not introduce github.com/hashicorp/vault@dump-goroutines-nondestructively, as it is not allowed by constraint master from project vault-atlas-plugin. dynamo: Could not introduce github.com/hashicorp/vault@dynamo, as it is not allowed by constraint master from project vault-atlas-plugin. encrypted-key-storage: Could not introduce github.com/hashicorp/vault@encrypted-key-storage, as it is not allowed by constraint master from project vault-atlas-plugin. exp-router-middleware: Could not introduce github.com/hashicorp/vault@exp-router-middleware, as it is not allowed by constraint master from project vault-atlas-plugin. expose-accessor-error: Could not introduce github.com/hashicorp/vault@expose-accessor-error, as it is not allowed by constraint master from project vault-atlas-plugin. f-cdcr-remove-create-delete: Could not introduce github.com/hashicorp/vault@f-cdcr-remove-create-delete, as it is not allowed by constraint master from project vault-atlas-plugin. f-flat-revoke: Could not introduce github.com/hashicorp/vault@f-flat-revoke, as it is not allowed by constraint master from project vault-atlas-plugin. f-mysql-static: Could not introduce github.com/hashicorp/vault@f-mysql-static, as it is not allowed by constraint master from project vault-atlas-plugin. f-pq-upgrade: Could not introduce github.com/hashicorp/vault@f-pq-upgrade, as it is not allowed by constraint master from project vault-atlas-plugin. f-response-err: Could not introduce github.com/hashicorp/vault@f-response-err, as it is not allowed by constraint master from project vault-atlas-plugin. f-std-logs: Could not introduce github.com/hashicorp/vault@f-std-logs, as it is not allowed by constraint master from project vault-atlas-plugin. field-comment: Could not introduce github.com/hashicorp/vault@field-comment, as it is not allowed by constraint master from project vault-atlas-plugin. fix-2080: Could not introduce github.com/hashicorp/vault@fix-2080, as it is not allowed by constraint master from project vault-atlas-plugin. fix-api-response-error-formating: Could not introduce github.com/hashicorp/vault@fix-api-response-error-formating, as it is not allowed by constraint master from project vault-atlas-plugin. fix-auditing-counter-requests: Could not introduce github.com/hashicorp/vault@fix-auditing-counter-requests, as it is not allowed by constraint master from project vault-atlas-plugin. fix-broken-link: Could not introduce github.com/hashicorp/vault@fix-broken-link, as it is not allowed by constraint master from project vault-atlas-plugin. fix-max-request-duration: Could not introduce github.com/hashicorp/vault@fix-max-request-duration, as it is not allowed by constraint master from project vault-atlas-plugin. fix-pg-test-deadlock: Could not introduce github.com/hashicorp/vault@fix-pg-test-deadlock, as it is not allowed by constraint master from project vault-atlas-plugin. fixpartnerdocs: Could not introduce github.com/hashicorp/vault@fixpartnerdocs, as it is not allowed by constraint master from project vault-atlas-plugin. frequency_to_period: Could not introduce github.com/hashicorp/vault@frequency_to_period, as it is not allowed by constraint master from project vault-atlas-plugin. gojay: Could not introduce github.com/hashicorp/vault@gojay, as it is not allowed by constraint master from project vault-atlas-plugin. hclog-refactor: Could not introduce github.com/hashicorp/vault@hclog-refactor, as it is not allowed by constraint master from project vault-atlas-plugin. http-request-volume/add-barchart: Could not introduce github.com/hashicorp/vault@http-request-volume/add-barchart, as it is not allowed by constraint master from project vault-atlas-plugin. identity-list-data: Could not introduce github.com/hashicorp/vault@identity-list-data, as it is not allowed by constraint master from project vault-atlas-plugin. init-cubbyhole: Could not introduce github.com/hashicorp/vault@init-cubbyhole, as it is not allowed by constraint master from project vault-atlas-plugin. inparse: Could not introduce github.com/hashicorp/vault@inparse, as it is not allowed by constraint master from project vault-atlas-plugin. intro-redirect: Could not introduce github.com/hashicorp/vault@intro-redirect, as it is not allowed by constraint master from project vault-atlas-plugin. issue-4957: Could not introduce github.com/hashicorp/vault@issue-4957, as it is not allowed by constraint master from project vault-atlas-plugin. issue-6487: Could not introduce github.com/hashicorp/vault@issue-6487, as it is not allowed by constraint master from project vault-atlas-plugin. issue-6783: Could not introduce github.com/hashicorp/vault@issue-6783, as it is not allowed by constraint master from project vault-atlas-plugin. issue-6796: Could not introduce github.com/hashicorp/vault@issue-6796, as it is not allowed by constraint master from project vault-atlas-plugin. jbardin/panic-at-the-hashstructure: Could not introduce github.com/hashicorp/vault@jbardin/panic-at-the-hashstructure, as it is not allowed by constraint master from project vault-atlas-plugin. je.dep-updates: Could not introduce github.com/hashicorp/vault@je.dep-updates, as it is not allowed by constraint master from project vault-atlas-plugin. je.netlify-deploy: Could not introduce github.com/hashicorp/vault@je.netlify-deploy, as it is not allowed by constraint master from project vault-atlas-plugin. je.new-docs: Could not introduce github.com/hashicorp/vault@je.new-docs, as it is not allowed by constraint master from project vault-atlas-plugin. je.temporary-website-rollback: Could not introduce github.com/hashicorp/vault@je.temporary-website-rollback, as it is not allowed by constraint master from project vault-atlas-plugin. jwt-on-ice: Could not introduce github.com/hashicorp/vault@jwt-on-ice, as it is not allowed by constraint master from project vault-atlas-plugin. jwt-update: Could not introduce github.com/hashicorp/vault@jwt-update, as it is not allowed by constraint master from project vault-atlas-plugin. kmip-docs: Could not introduce github.com/hashicorp/vault@kmip-docs, as it is not allowed by constraint master from project vault-atlas-plugin. kv-mount-versioning-init: Could not introduce github.com/hashicorp/vault@kv-mount-versioning-init, as it is not allowed by constraint master from project vault-atlas-plugin. ldap-alias-fix: Could not introduce github.com/hashicorp/vault@ldap-alias-fix, as it is not allowed by constraint master from project vault-atlas-plugin. ldap-testing: Could not introduce github.com/hashicorp/vault@ldap-testing, as it is not allowed by constraint master from project vault-atlas-plugin. leaseoptions-namespace: Could not introduce github.com/hashicorp/vault@leaseoptions-namespace, as it is not allowed by constraint master from project vault-atlas-plugin. llupdates: Could not introduce github.com/hashicorp/vault@llupdates, as it is not allowed by constraint master from project vault-atlas-plugin. locksutil-uses-slice: Could not introduce github.com/hashicorp/vault@locksutil-uses-slice, as it is not allowed by constraint master from project vault-atlas-plugin. matt-debug: Could not introduce github.com/hashicorp/vault@matt-debug, as it is not allowed by constraint master from project vault-atlas-plugin. mgaffney/kv-delete-version-after: Could not introduce github.com/hashicorp/vault@mgaffney/kv-delete-version-after, as it is not allowed by constraint master from project vault-atlas-plugin. mgaffney/remove-validate-from-handle-request: Could not introduce github.com/hashicorp/vault@mgaffney/remove-validate-from-handle-request, as it is not allowed by constraint master from project vault-atlas-plugin. mgg-spv2: Could not introduce github.com/hashicorp/vault@mgg-spv2, as it is not allowed by constraint master from project vault-atlas-plugin. mgg-spv2-working: Could not introduce github.com/hashicorp/vault@mgg-spv2-working, as it is not allowed by constraint master from project vault-atlas-plugin. move-identity-docs: Could not introduce github.com/hashicorp/vault@move-identity-docs, as it is not allowed by constraint master from project vault-atlas-plugin. mrktfix: Could not introduce github.com/hashicorp/vault@mrktfix, as it is not allowed by constraint master from project vault-atlas-plugin. namespace-docs-updates: Could not introduce github.com/hashicorp/vault@namespace-docs-updates, as it is not allowed by constraint master from project vault-atlas-plugin. namespace-edit: Could not introduce github.com/hashicorp/vault@namespace-edit, as it is not allowed by constraint master from project vault-atlas-plugin. namespaces-docs: Could not introduce github.com/hashicorp/vault@namespaces-docs, as it is not allowed by constraint master from project vault-atlas-plugin. ncabatoff/agent-changes: Could not introduce github.com/hashicorp/vault@ncabatoff/agent-changes, as it is not allowed by constraint master from project vault-atlas-plugin. nomad-token-length: Could not introduce github.com/hashicorp/vault@nomad-token-length, as it is not allowed by constraint master from project vault-atlas-plugin. ns-lease-token-renew-revoke: Could not introduce github.com/hashicorp/vault@ns-lease-token-renew-revoke, as it is not allowed by constraint master from project vault-atlas-plugin. ns-only-msg: Could not introduce github.com/hashicorp/vault@ns-only-msg, as it is not allowed by constraint master from project vault-atlas-plugin. oas-path-help: Could not introduce github.com/hashicorp/vault@oas-path-help, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-cache-jwks: Could not introduce github.com/hashicorp/vault@oidc-cache-jwks, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-cli-helper: Could not introduce github.com/hashicorp/vault@oidc-cli-helper, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-dev-templates: Could not introduce github.com/hashicorp/vault@oidc-dev-templates, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-token-demo: Could not introduce github.com/hashicorp/vault@oidc-token-demo, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-tokens-dev-beta2: Could not introduce github.com/hashicorp/vault@oidc-tokens-dev-beta2, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-tokens-documentation: Could not introduce github.com/hashicorp/vault@oidc-tokens-documentation, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-tokens-help-entries: Could not introduce github.com/hashicorp/vault@oidc-tokens-help-entries, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-tokens-test-coverage: Could not introduce github.com/hashicorp/vault@oidc-tokens-test-coverage, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-tokens-test2: Could not introduce github.com/hashicorp/vault@oidc-tokens-test2, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-tokens-tests: Could not introduce github.com/hashicorp/vault@oidc-tokens-tests, as it is not allowed by constraint master from project vault-atlas-plugin. oidc-tokens_increase_test_coverage: Could not introduce github.com/hashicorp/vault@oidc-tokens_increase_test_coverage, as it is not allowed by constraint master from project vault-atlas-plugin. openapi-models: Could not introduce github.com/hashicorp/vault@openapi-models, as it is not allowed by constraint master from project vault-atlas-plugin. openapi-path-updates: Could not introduce github.com/hashicorp/vault@openapi-path-updates, as it is not allowed by constraint master from project vault-atlas-plugin. oss-identity-port: Could not introduce github.com/hashicorp/vault@oss-identity-port, as it is not allowed by constraint master from project vault-atlas-plugin. paddy_command_config: Could not introduce github.com/hashicorp/vault@paddy_command_config, as it is not allowed by constraint master from project vault-atlas-plugin. partnerships-docs: Could not introduce github.com/hashicorp/vault@partnerships-docs, as it is not allowed by constraint master from project vault-atlas-plugin. partnerships-patch: Could not introduce github.com/hashicorp/vault@partnerships-patch, as it is not allowed by constraint master from project vault-atlas-plugin. pcf-auth-rfc: Could not introduce github.com/hashicorp/vault@pcf-auth-rfc, as it is not allowed by constraint master from project vault-atlas-plugin. pcf-auto-auth: Could not introduce github.com/hashicorp/vault@pcf-auto-auth, as it is not allowed by constraint master from project vault-atlas-plugin. plugin-env-test: Could not introduce github.com/hashicorp/vault@plugin-env-test, as it is not allowed by constraint master from project vault-atlas-plugin. profile-0.10.3: Could not introduce github.com/hashicorp/vault@profile-0.10.3, as it is not allowed by constraint master from project vault-atlas-plugin. proto-updates: Could not introduce github.com/hashicorp/vault@proto-updates, as it is not allowed by constraint master from project vault-atlas-plugin. raft-config-fix: Could not introduce github.com/hashicorp/vault@raft-config-fix, as it is not allowed by constraint master from project vault-atlas-plugin. raft-docs: Could not introduce github.com/hashicorp/vault@raft-docs, as it is not allowed by constraint master from project vault-atlas-plugin. raft-storage: Could not introduce github.com/hashicorp/vault@raft-storage, as it is not allowed by constraint master from project vault-atlas-plugin. rel-0.9.3: Could not introduce github.com/hashicorp/vault@rel-0.9.3, as it is not allowed by constraint master from project vault-atlas-plugin. replication: Could not introduce github.com/hashicorp/vault@replication, as it is not allowed by constraint master from project vault-atlas-plugin. revert-5415-partnership-broken-links: Could not introduce github.com/hashicorp/vault@revert-5415-partnership-broken-links, as it is not allowed by constraint master from project vault-atlas-plugin. roooms-patch-1: Could not introduce github.com/hashicorp/vault@roooms-patch-1, as it is not allowed by constraint master from project vault-atlas-plugin. seal-key-upgrade: Could not introduce github.com/hashicorp/vault@seal-key-upgrade, as it is not allowed by constraint master from project vault-atlas-plugin. seal-transit-unit-test: Could not introduce github.com/hashicorp/vault@seal-transit-unit-test, as it is not allowed by constraint master from project vault-atlas-plugin. sethvargo/context-doc: Could not introduce github.com/hashicorp/vault@sethvargo/context-doc, as it is not allowed by constraint master from project vault-atlas-plugin. sidebar-links: Could not introduce github.com/hashicorp/vault@sidebar-links, as it is not allowed by constraint master from project vault-atlas-plugin. spv2-sdk: Could not introduce github.com/hashicorp/vault@spv2-sdk, as it is not allowed by constraint master from project vault-atlas-plugin. stable-website: Could not introduce github.com/hashicorp/vault@stable-website, as it is not allowed by constraint master from project vault-atlas-plugin. storagepacker_sharding: Could not introduce github.com/hashicorp/vault@storagepacker_sharding, as it is not allowed by constraint master from project vault-atlas-plugin. storagepacker_v2: Could not introduce github.com/hashicorp/vault@storagepacker_v2, as it is not allowed by constraint master from project vault-atlas-plugin. synthesized-config: Could not introduce github.com/hashicorp/vault@synthesized-config, as it is not allowed by constraint master from project vault-atlas-plugin. testrace-circleci: Could not introduce github.com/hashicorp/vault@testrace-circleci, as it is not allowed by constraint master from project vault-atlas-plugin. timarenz-patch-1: Could not introduce github.com/hashicorp/vault@timarenz-patch-1, as it is not allowed by constraint master from project vault-atlas-plugin. token-store-cleanup: Could not introduce github.com/hashicorp/vault@token-store-cleanup, as it is not allowed by constraint master from project vault-atlas-plugin. token_identity_support: Could not introduce github.com/hashicorp/vault@token_identity_support, as it is not allowed by constraint master from project vault-atlas-plugin. tokenhelper: Could not introduce github.com/hashicorp/vault@tokenhelper, as it is not allowed by constraint master from project vault-atlas-plugin. ts-memdb: Could not introduce github.com/hashicorp/vault@ts-memdb, as it is not allowed by constraint master from project vault-atlas-plugin. tune-up: Could not introduce github.com/hashicorp/vault@tune-up, as it is not allowed by constraint master from project vault-atlas-plugin. type-enhancements: Could not introduce github.com/hashicorp/vault@type-enhancements, as it is not allowed by constraint master from project vault-atlas-plugin. ui-filtered-path: Could not introduce github.com/hashicorp/vault@ui-filtered-path, as it is not allowed by constraint master from project vault-atlas-plugin. ui-gen-crud-cleanup: Could not introduce github.com/hashicorp/vault@ui-gen-crud-cleanup, as it is not allowed by constraint master from project vault-atlas-plugin. ui-kmip-ca: Could not introduce github.com/hashicorp/vault@ui-kmip-ca, as it is not allowed by constraint master from project vault-atlas-plugin. ui-no-babel-polyfill: Could not introduce github.com/hashicorp/vault@ui-no-babel-polyfill, as it is not allowed by constraint master from project vault-atlas-plugin. ui-no-jquery: Could not introduce github.com/hashicorp/vault@ui-no-jquery, as it is not allowed by constraint master from project vault-atlas-plugin. ui-oidc-default: Could not introduce github.com/hashicorp/vault@ui-oidc-default, as it is not allowed by constraint master from project vault-atlas-plugin. ui-oidc-no-path: Could not introduce github.com/hashicorp/vault@ui-oidc-no-path, as it is not allowed by constraint master from project vault-atlas-plugin. ui-replication-use-features: Could not introduce github.com/hashicorp/vault@ui-replication-use-features, as it is not allowed by constraint master from project vault-atlas-plugin. ui-story: Could not introduce github.com/hashicorp/vault@ui-story, as it is not allowed by constraint master from project vault-atlas-plugin. ui-util-feedback: Could not introduce github.com/hashicorp/vault@ui-util-feedback, as it is not allowed by constraint master from project vault-atlas-plugin. ui-wizard-secrets-pause: Could not introduce github.com/hashicorp/vault@ui-wizard-secrets-pause, as it is not allowed by constraint master from project vault-atlas-plugin. ui-wizards-machines: Could not introduce github.com/hashicorp/vault@ui-wizards-machines, as it is not allowed by constraint master from project vault-atlas-plugin. ui/http-metrics: Could not introduce github.com/hashicorp/vault@ui/http-metrics, as it is not allowed by constraint master from project vault-atlas-plugin. ui/http-request-volume: Could not introduce github.com/hashicorp/vault@ui/http-request-volume, as it is not allowed by constraint master from project vault-atlas-plugin. ui/mask-ldap-config: Could not introduce github.com/hashicorp/vault@ui/mask-ldap-config, as it is not allowed by constraint master from project vault-atlas-plugin. ui/storybook/add-components: Could not introduce github.com/hashicorp/vault@ui/storybook/add-components, as it is not allowed by constraint master from project vault-atlas-plugin. unseal-keys-uuid: Could not introduce github.com/hashicorp/vault@unseal-keys-uuid, as it is not allowed by constraint master from project vault-atlas-plugin. update-aws-deps: Could not introduce github.com/hashicorp/vault@update-aws-deps, as it is not allowed by constraint master from project vault-atlas-plugin. update-aws-deps-lite: Could not introduce github.com/hashicorp/vault@update-aws-deps-lite, as it is not allowed by constraint master from project vault-atlas-plugin. updates-against-tested-plugin: Could not introduce github.com/hashicorp/vault@updates-against-tested-plugin, as it is not allowed by constraint master from project vault-atlas-plugin. upgrade-1.1.1: Could not introduce github.com/hashicorp/vault@upgrade-1.1.1, as it is not allowed by constraint master from project vault-atlas-plugin. urlencoded-params: Could not introduce github.com/hashicorp/vault@urlencoded-params, as it is not allowed by constraint master from project vault-atlas-plugin. userpass-tokenutil: Could not introduce github.com/hashicorp/vault@userpass-tokenutil, as it is not allowed by constraint master from project vault-atlas-plugin. vlt191-use-csr-sans-othernames: Could not introduce github.com/hashicorp/vault@vlt191-use-csr-sans-othernames, as it is not allowed by constraint master from project vault-atlas-plugin. wizard-secrets-auth: Could not introduce github.com/hashicorp/vault@wizard-secrets-auth, as it is not allowed by constraint master from project vault-atlas-plugin. api/v1.0.1: Could not introduce github.com/hashicorp/vault@api/v1.0.1, as it is not allowed by constraint master from project vault-atlas-plugin. api/v1.0.2: Could not introduce github.com/hashicorp/vault@api/v1.0.2, as it is not allowed by constraint master from project vault-atlas-plugin. sdk/v0.1.10: Could not introduce github.com/hashicorp/vault@sdk/v0.1.10, as it is not allowed by constraint master from project vault-atlas-plugin. sdk/v0.1.11: Could not introduce github.com/hashicorp/vault@sdk/v0.1.11, as it is not allowed by constraint master from project vault-atlas-plugin. sdk/v0.1.8: Could not introduce github.com/hashicorp/vault@sdk/v0.1.8, as it is not allowed by constraint master from project vault-atlas-plugin. sdk/v0.1.9: Could not introduce github.com/hashicorp/vault@sdk/v0.1.9, as it is not allowed by constraint master from project vault-atlas-plugin. v0.2.0.rc1: Could not introduce github.com/hashicorp/vault@v0.2.0.rc1, as it is not allowed by constraint master from project vault-atlas-plugin.

JnMik commented 5 years ago

Same here and when trying to depend on the Vault latest tag (2.1.0-beta2) instead of master branch, I have issue with subpackages

v0.6.4: Could not introduce github.com/hashicorp/vault@v0.6.4, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.6.3: Could not introduce github.com/hashicorp/vault@v0.6.3, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.6.2: Could not introduce github.com/hashicorp/vault@v0.6.2, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.6.1: Could not introduce github.com/hashicorp/vault@v0.6.1, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.6.0: Could not introduce github.com/hashicorp/vault@v0.6.0, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.5.3: Could not introduce github.com/hashicorp/vault@v0.5.3, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.5.2: Could not introduce github.com/hashicorp/vault@v0.5.2, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.5.1: Could not introduce github.com/hashicorp/vault@v0.5.1, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.5.0: Could not introduce github.com/hashicorp/vault@v0.5.0, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.4.1: Could not introduce github.com/hashicorp/vault@v0.4.1, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.4.0: Could not introduce github.com/hashicorp/vault@v0.4.0, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.3.1: Could not introduce github.com/hashicorp/vault@v0.3.1, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.3.0: Could not introduce github.com/hashicorp/vault@v0.3.0, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.2.0: Could not introduce github.com/hashicorp/vault@v0.2.0, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.1.2: Could not introduce github.com/hashicorp/vault@v0.1.2, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.1.1: Could not introduce github.com/hashicorp/vault@v0.1.1, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v0.1.0: Could not introduce github.com/hashicorp/vault@v0.1.0, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v1.2.0-beta2: Could not introduce github.com/hashicorp/vault@v1.2.0-beta2 due to multiple problematic subpackages:
    Subpackage github.com/hashicorp/vault/plugins does not contain usable Go code (*build.NoGoError).. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.)   Subpackage github.com/hashicorp/vault/plugins/helper/database/credsutil is missing. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.)  Subpackage github.com/hashicorp/vault/plugins/helper/database/dbutil is missing. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.)
    v1.2.0-beta1: Could not introduce github.com/hashicorp/vault@v1.2.0-beta1, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v1.1.0-beta2: Could not introduce github.com/hashicorp/vault@v1.1.0-beta2, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
    v1.1.0-beta1: Could not introduce github.com/hashicorp/vault@v1.1.0-beta1, as it is not allowed by constraint ^1.2.0-beta2 from project vault-atlas-plugin.
JnMik commented 5 years ago

1.1.3 not working either

Solving failure: No versions of github.com/hashicorp/vault met constraints:
    v1.1.3: Could not introduce github.com/hashicorp/vault@v1.1.3 due to multiple problematic subpackages:
    Subpackage github.com/hashicorp/vault/sdk/database/dbplugin is missing. (Package is required by (root).)    Subpackage github.com/hashicorp/vault/sdk/database/helper/credsutil is missing. (Package is required by (root).)    Subpackage github.com/hashicorp/vault/sdk/database/helper/dbutil is missing. (Package is required by (root).)

with vault@v1.2.0-beta1

    v1.2.0-beta1: Could not introduce github.com/hashicorp/vault@v1.2.0-beta1 due to multiple problematic subpackages:
    Subpackage github.com/hashicorp/vault/plugins does not contain usable Go code (*build.NoGoError).. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.)   Subpackage github.com/hashicorp/vault/plugins/helper/database/credsutil is missing. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.)  Subpackage github.com/hashicorp/vault/plugins/helper/database/dbutil is missing. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.)
JnMik commented 5 years ago

SO, plugin seems to have a dependency on ./sdk folder and on ./plugins/helpers folder

helpers folder has been removed in 2.1.0-beta1, but SDK folder only available in 1.1.3. Seems we need a in-between version that never existed ? 0_o

JnMik commented 5 years ago

@mealal I'm still having issue running the ./build.sh on master I have vault 1.2.2

Here's the log I have

./build.sh 
Solving failure: No versions of github.com/hashicorp/vault met constraints:
    v1.2.2: Could not introduce github.com/hashicorp/vault@v1.2.2 due to multiple problematic subpackages:
    Subpackage github.com/hashicorp/vault/plugins does not contain usable Go code (*build.NoGoError).. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.)   Subpackage github.com/hashicorp/vault/plugins/helper/database/credsutil is missing. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.)  Subpackage github.com/hashicorp/vault/plugins/helper/database/dbutil is missing. (Package is required by github.com/mealal/vault-atlas-plugin@1.0.)
    v1.2.1: Could not introduce github.com/hashicorp/vault@v1.2.1, as it is not allowed by constraint ^1.2.2 from project vault-atlas-plugin.
    v1.2.0: Could not introduce github.com/hashicorp/vault@v1.2.0, as it is not allowed by constraint ^1.2.2 from project vault-atlas-plugin.
    v1.1.5: Could not introduce github.com/hashicorp/vault@v1.1.5, as it is not allowed by constraint ^1.2.2 from project vault-atlas-plugin.
    v1.1.4: Could not introduce github.com/hashicorp/vault@v1.1.4, as it is not allowed by constraint ^1.2.2 from project vault-atlas-plugin.

and so on.

Any hints what could cause this ?

mealal commented 5 years ago

Can you try to use new Docker build script? It's building the plugin in clear Docker container and automatically downloads all dependencies.

Also, I just added ability to test the plugin in the local Docker based vault.

JnMik commented 5 years ago

So I generated the binary on my machine with docker, it does work.

I injected it in my vault server, (via packer file provisionner).

When I try to add it to vault I get this :

SHASUM=$(shasum -a 256 "./atlas" | cut -d " " -f1)

vault write sys/plugins/catalog/database/atlas sha_256="$SHASUM" command="atlas"

vault write database/config/mongodb plugin_name="atlas" allowed_roles="a-bunch-of-roles" apiID="myid@myemail.com" apiKey="my-api-key" groupID="my-project-id"
Error writing data to database/config/mongodb: Error making API request.

URL: PUT https://127.0.0.1:8200/v1/database/config/mongodb
Code: 400. Errors:

* error creating database object: Unrecognized remote plugin message: 

This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol.

Any hints ? I tried the 4 executables.

vault --version
Vault v1.2.2

thanks man !

mealal commented 5 years ago
  1. More details could be provided in the vault logs/output.
  2. Make sure you enabled memlock for the plugin file if you are using it (setcap cap_ipc_lock=+ep /path/to/atlas/plugin)