F5 module doesn't account for partition when checking resources
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- ruby
- 領域
- devops, infrastructure
調査の方向性
BIG-IP パーティションと route domain を使って問題を再現し、報告された puppet resource コマンドを繰り返し実行して、source と destination_address に付く %3 サフィックスを確認します。F5 virtual server リソースによるこれらのアドレス値の処理を追跡します。設定で route domain サフィックスを必要とせず、パーティション分割されたアドレスが Puppet の実行間で安定していれば完了です。
索引モデルが issue の本文から書いたものです。
説明
==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==
- Setup your F5 big IP with different partitions and route domains
- Create puppet code to put a virtual server in one of those partitions
- 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 はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
f5devcentral/f5-puppet のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
f5devcentral/f5-puppet#74 ·
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
f5devcentral/f5-puppet#37 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
f5devcentral/f5-puppet#83 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
f5devcentral/f5-puppet#82 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
f5devcentral/f5-puppet#81 ·
f5devcentral/f5-puppet の issue をすべて見る
似ている issue
-
[Bug] Chatwoot v4.19.0 – Super Admin returns 500 due to missing superadmin.scss Vite manifest entryオープンBug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
internal
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Kong/developer.konghq.com#7716 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100