Forum Discussion
puppet f5 device config : Partition '' doesn't exist
puppet (v3.2.2) master + agent on single server (Ubuntu 12.04.2 LTS) with agent serving as f5_proxy
I have defined no partitions other than default Common partition.
Following the instructions at `http://forge.puppetlabs.com/puppetlabs/f5` :
node.pp
node my_f5_proxy {
include f5
f5::config { "f5.test.mydomain.com":
username => 'admin',
password => 'admin',
url => 'f5.test.mydomain.com',
target => '/etc/puppet/device/f5.test.mydomain.com.conf'
}
}
device.conf
[f5.test.mydomain.com]
type f5
url https://admin:admin@f5.test.mydomain.com/
Running `puppet device` gives error :
Error: Can't load f5 for f5.test.mydomain.com: Exception caught in Management::urn:iControl:Management/Partition::set_active_partition()
Exception: Common::OperationFailed
primary_error_code : 16908289 (0x01020001)
secondary_error_code : 0
error_string : Partition '' doesn't exist
/usr/lib/ruby/vendor_ruby/puppet/util/network_device.rb:10:in `init'
/usr/lib/ruby/vendor_ruby/puppet/application/device.rb:190:in `main'
/usr/lib/ruby/vendor_ruby/puppet/application/device.rb:176:in `each_value'
/usr/lib/ruby/vendor_ruby/puppet/application/device.rb:176:in `main'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:372:in `run_command'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:456:in `plugin_hook'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:504:in `exit_on_fail'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:132:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:86:in `execute'
/usr/bin/puppet:4
2 Replies
I haven't used the puppet interfaces, but from their docs, they say they support partitions in the device.conf url. It seems the BIG-IP is returning an error when setting the active parition to "". Try explicitly adding "/Common" to the end of the url in the device conf
[f5.test.mydomain.com] type f5 url https://admin:admin@f5.test.mydomain.com/CommonNot sure if that will work, but it's worth a try.
-Joe
According to Puppet Labs support, this error is due to pupppetlabs-f5 module not supported beyond 2.7.22 ( I was using v3 when I encountered the error ).
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com