Git Product home page Git Product logo

f5-bigip-cookbook's People

Contributors

dcparker88 avatar jmccann avatar sunruh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

f5-bigip-cookbook's Issues

Final review

@pmotch

According to DCP's email, he's good. Can we flip the switch to make F5 a public repo?

how do i get "current connections" value from node ?

During deployment : After putting node into disable stat we want to make sure all current connections with that node drain out and then we want to stop webapp.
and start deployment of new version.

is there any way to check this via this chef cookbook ?

Feature to clean/purge nodes from a pool

If I understand the readme, setting the members property of f5_ltm_pool will only add members.

I'd like to be able to set the members using this prop.

Proposing adding an additional bool, purge, defaulting to false, which would remove any nodes not in the pool.

Additionally, I'd like the option to delete the node record itself, but I'm not sure if that should just be another property (delete_node_during_purge?) or if there's a better idea.

Wanted to invite discussion before I work towards a solution.

ChefVault::Exceptions::KeysNotFound: f5/creds_keys could not be found

I was running cookbooks for run list: ["f5-bigip", "f5-bigip::ltm_node"]
and recipe ltm_node is just to create a node:

f5_ltm_node 'test-node.test.com' do
address '10.10.10.10'
f5 '10.192.74.111'
enabled true
end

it generates the following error:

Starting Chef Client, version 12.15.19
resolving cookbooks for run list: ["f5-bigip", "f5-bigip::ltm_node"]
Synchronizing Cookbooks:

  • chef-vault (2.1.1)
  • f5-bigip (0.6.6)
    Installing Cookbook Gems:
    Compiling Cookbooks...
    Recipe: chef-vault::default
  • chef_gem[chef-vault] action install (up to date)
    Recipe: f5-bigip::default

  • chef_gem[soap4r-spox] action install (up to date)

  • cookbook_file[/var/chef/cache/f5-icontrol.gem] action create (up to date)

  • chef_gem[f5-icontrol] action install (up to date)
    Converging 5 resources
    Recipe: chef-vault::default

  • chef_gem[chef-vault] action install (up to date)
    Recipe: f5-bigip::default

  • chef_gem[soap4r-spox] action install (up to date)

  • cookbook_file[/var/chef/cache/f5-icontrol.gem] action create (up to date)

  • chef_gem[f5-icontrol] action install (up to date)
    Recipe: f5-bigip::ltm_node

  • f5_ltm_node[test-node.test.com] action create

    ================================================================================
    Error executing action create on resource 'f5_ltm_node[test-node.test.com]'

    ChefVault::Exceptions::KeysNotFound

    f5/creds_keys could not be found

    Cookbook Trace:

    /var/chef/cache/cookbooks/f5-bigip/libraries/helpers.rb:38:in chef_vault_item' /var/chef/cache/cookbooks/f5-bigip/libraries/loader.rb:94:in create_icontrol'
    /var/chef/cache/cookbooks/f5-bigip/libraries/loader.rb:82:in add_lb' /var/chef/cache/cookbooks/f5-bigip/libraries/loader.rb:71:in load_balancer'
    /var/chef/cache/cookbooks/f5-bigip/libraries/provider_ltm_node.rb:40:in `load_current_resource'

    Resource Declaration:

    In /var/chef/cache/cookbooks/f5-bigip/recipes/ltm_node.rb

    1: f5_ltm_node 'test-node.test.com' do
    2: address '10.10.10.10'
    3: f5 '10.192.74.111'
    4: enabled true
    5: end

    Compiled Resource:

    Declared in /var/chef/cache/cookbooks/f5-bigip/recipes/ltm_node.rb:1:in `from_file'

    f5_ltm_node("test-node.test.com") do
    provider Chef::Provider::F5LtmNode
    action :create
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    node_name "test-node.test.com"
    enabled true
    declared_type :f5_ltm_node
    cookbook_name "f5-bigip"
    recipe_name "ltm_node"
    address "10.10.10.10"
    f5 "10.192.74.111"
    end

    Platform:

    x86_64-linux

Running handlers:
[2017-04-06T15:30:15-07:00] ERROR: Running exception handlers
Running handlers complete
[2017-04-06T15:30:15-07:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 06 seconds
[2017-04-06T15:30:15-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2017-04-06T15:30:15-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2017-04-06T15:30:15-07:00] ERROR: f5_ltm_node[test-node.test.com] (f5-bigip::ltm_node line 1) had an error: ChefVault::Exceptions::KeysNotFound: f5/creds_keys could not be found
[2017-04-06T15:30:15-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Pulling out status of nodes in f5

I have a scenario in which the node status in f5 needs to be checked if it is enabled or disabled and then to deploy the node. Does f5-bigip-cookbook has a feature to test this?

Are provisioner nodes required?

This cookbook looks great. Trying to get started using it, but I'm not sure how is it supposed to be used.

Should every node/vip/pool be defined in a recipe in a wrapper cookbook, and then that cookbook applied to a provisioner node?

Or does it support self updating resources. e.g. use a lwrp in my web-server cookbook, so every web server can register itself with the f5?

ChefVault::Exceptions::KeysNotFound: f5/creds_keys could not be found

Hi
I am trying to run this cookbook ,but always got the error below :
ERROR: f5_ltm_node[10.10.10.10-11.11.11.11] had an error: ChefVault::Exceptions::KeysNotFound: f5/creds_keys could not be found

I have created the data_bags/f5/creds.json, which is exactly as the same as https://github.com/target/f5-bigip-cookbook/blob/master/test/integration/data_bags/f5/creds.json

And my attributes are as below:

Databag where creds are stored
default['f5-bigip']['credentials']['databag'] = 'f5'
default['f5-bigip']['credentials']['item'] = 'creds'
default['f5-bigip']['credentials']['key'] =''
default['f5-bigip']['credentials']['host_is_key'] = false
default['f5-bigip']['provisioner']['databag'] = 'f5-provisioner'

Could anyone help me with that ? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.