cloud - Chef-vault - not creating vaults with create command, but creating simple data bags -


i trying create chef-vault store password using below command:

knife vault create revrecsecrets revrecpass -a "revrec-validator,node1,node2,node3" -j data_bags/revrecpass.json -m client 

where revrecpass.json contains:

{ "oracle_pass":"welcome1", "ora_db_passwd":"welcome1", "weblogic_pass":"welcome1"} 

i have 3 clients :

#knife client list node1 node2 node3 revrec-validator 

but while trying access vault, saying no vault:

# knife vault list 

returns nothing.

and :

trying refresh : (says vault doesnot exists)

# knife vault refresh revrecsecrets revrecpass error: chefvault::exceptions::itemnotfound: revrecsecrets/revrecpass not exist, use 'knife vault create' create. 

trying recreate :(saying exists)

# knife vault create revrecsecrets revrecpass -a "revrec-validator,node1,node2,node3" -j data_bags/revrecpass.json -m client error: chefvault::exceptions::itemalreadyexists: revrecsecrets/revrecpass exists, use 'knife vault remove' 'knife vault update' or 'knife vault edit' make changes. 

i not able figure out, issue here ? have faced similar issue or suggestion thankful.

ruby --version ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux] knife --version chef: 12.4.1 /opt/chef/embedded/bin/gem list chef-vault  *** local gems ***  chef-vault (2.9.0) 


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -