Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

F5 module doesn't account for partition when checking resources

オープン
#6 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ruby

調査の方向性

BIG-IP パーティションと route domain を使って問題を再現し、報告された puppet resource コマンドを繰り返し実行して、source と destination_address に付く %3 サフィックスを確認します。F5 virtual server リソースによるこれらのアドレス値の処理を追跡します。設定で route domain サフィックスを必要とせず、パーティション分割されたアドレスが Puppet の実行間で安定していれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

==ISSUE==
When setting up an F5 virtual server, puppet doesn't query the destination_address nor source_address correctly when in a partition other than common.

For instance, creating a partition named "LB_Preview_App" and setting the source IP to 0.0.0.0 and the destination IP to 9.8.7.6 results in the following when running the 'puppet resource' command to see what is configured.

f5_virtualserver { '/LB_Preview_App/Preview_TEST':
ensure => 'present',
address_status => 'yes',
address_translation => 'enabled',
authentication_profiles => ['none'],
auto_last_hop => 'default',
connection_limit => '0',
connection_mirroring => 'disabled',
connection_rate_limit => 'disabled',
connection_rate_limit_destination_mask => '0',
connection_rate_limit_mode => 'per_virtual_server',
connection_rate_limit_source_mask => '0',
default_persistence_profile => 'none',
default_pool => 'none',
destination_address => '9.8.7.6%3',
destination_mask => '255.255.255.255',
diameter_profile => 'none',
dns_profile => 'none',
fallback_persistence_profile => 'none',
fix_profile => 'none',
ftp_profile => 'none',
html_profile => 'none',
http_compression_profile => 'none',
http_profile => 'none',
ipother_profile => 'none',
irules => ['none'],
last_hop_pool => 'none',
nat64 => 'disabled',
ntlm_conn_pool => 'none',
oneconnect_profile => 'none',
port_translation => 'enabled',
protocol => 'tcp',
protocol_profile_client => '/Common/tcp',
protocol_profile_server => '/Common/tcp',
rate_class => 'none',
request_adapt_profile => 'none',
request_logging_profile => 'none',
response_adapt_profile => 'none',
rewrite_profile => 'none',
rtsp_profile => 'none',
service_port => '443',
sip_profile => 'none',
socks_profile => 'none',
source => '0.0.0.0%3/0',
source_address_translation => 'none',
source_port => 'preserve',
spdy_profile => 'none',
ssl_profile_client => ['none'],
ssl_profile_server => ['none'],
state => 'enabled',
statistics_profile => 'none',
stream_profile => 'none',
vlan_and_tunnel_traffic => 'all',
vs_score => '0',
web_acceleration_profile => 'none',
xml_profile => 'none',
}

Note the %3 that is appended to both "source" and "destination_address". Further testing shows that %# changes depending on which partition I put the virtual server in and disappears completely if I put it in the common partition. It also seems to correspond to the "Partition Default Route Domain" number set for the partition (see screenshot)

==WHY THIS IS A PROBLEM==
When setting just the IP address for either source or destination_address, puppet believes there is a change every puppet run (specifically, it sees that the IP address is set to "9.8.7.6%3" and tries to change it to "9.8.7.6". Adding the %# to the puppet config makes it no longer show up as a change, however then the virtual server doesn't work.

==STEPS TO RECREATE==

  1. Setup your F5 big IP with different partitions and route domains
  2. Create puppet code to put a virtual server in one of those partitions
  3. Run puppet multiple times, note the source and destination_addresses query with a %# attached instead of just the IP address.
主要言語
Ruby
スター
13
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

f5devcentral/f5-puppet のほかの issue

f5devcentral/f5-puppet の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。