Ask Your Question
0

puppet f5 device config : Partition '' doesn't exist

asked 2013-07-10 21:55:34 -0500

BaltoStar gravatar image

updated 2013-07-16 18:53:33 -0500

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 --deviceconf=/etc/puppet/device.conf --debug --verbose --trace --evaltrace gives error :

Debug ...
(more)
edit retag flag offensive close merge delete

Comments

This is difficult to debug at this point, and I think access to the Puppet machine and the F5 configuration interface would be very helpful. Is there any chance of ...(more)

GregLarkin gravatar imageGregLarkin ( 2013-07-16 13:27:44 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-07-16 18:52:11 -0500

BaltoStar gravatar image

According to PuppetLabs Support , the puppetlabs-f5 module does not work for Puppet versions above 2.7.11. Currently PuppetLabs is investigating a patch.

edit flag offensive delete link more
0

answered 2013-07-16 10:47:28 -0500

GregLarkin gravatar image

updated 2013-07-16 12:17:01 -0500

Here are a couple of things to try:

  • Run puppet device like so:

    puppet device --deviceconf /etc/puppet/device.conf

  • Ensure that the iControl gem is installed on your master and proxy machines (same one for each?) Please check the installed gems with the command:

    gem list

  • Just to be paranoid, change the URL from:

    https://admin:admin@f5.test.mydomain.com/

    to:

    https://admin:admin@f5.test.mydomain.com/Common

Does any of that change the behavior of puppet? Please post any relevant log output, and also try running this command to get more output to post here:

puppet ... (more)

edit flag offensive delete link more

Comments

Hi Greg : actually already tried all that but log output is identical. Please note log right before exception : `Debug: Puppet::Device::F5: connecting to partition Common.' , so apparently Puppet is ...(more)

BaltoStar gravatar imageBaltoStar ( 2013-07-16 11:58:29 -0500 )edit

I don't see the "connecting to partition Common" message anywhere in the output you posted?

GregLarkin gravatar imageGregLarkin ( 2013-07-16 12:13:25 -0500 )edit

Ok I just added the debug lines right above the error lines. btw, when including code-sections in forums posts here, how to include a link so that it doesn't ...(more)

BaltoStar gravatar imageBaltoStar ( 2013-07-16 12:39:55 -0500 )edit

As far as I can tell, the askbot software automatically adds anchor tags to links, even when they are located in code/pre-formatted text.

GregLarkin gravatar imageGregLarkin ( 2013-07-16 13:14:28 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-07-10 21:55:34 -0500

Seen: 458 times

Last updated: Jul 16 '13