Page MenuHomePhabricator
Paste P54470

Example log from provision server netbox script
ActivePublic

Authored by cmooney on Dec 15 2023, 12:12 PM.
Tags
None
Referenced Files
F41601629: Example log from provision server netbox script
Dec 15 2023, 12:20 PM
F41601625: Example log from provision server netbox script
Dec 15 2023, 12:12 PM
Subscribers
None
[info] Called with parameters: {'device': <Device: ganeti2009 (WMF6742)>, 'z_port': 9, 'phy_type': '1000base-t', 'cable_id': '123445'}
[info] ganeti2009: Found network profile for device type 'ganeti'
[info] ganeti2009: Found vlan 'private1-c-codfw' from template private1-<location>-<site>
[info] ganeti2009: Found vlan 'public1-c-codfw' from template public1-<location>-<site>
[warning] ganeti2009: Failed to find vlan from template 'analytics1-<location>-<site>' in CODFW rack C1
[info] ganeti2009: Found vlan 'public1-c-codfw' from template public1-<location>-<site>
[warning] ganeti2009: Failed to find vlan from template 'analytics1-<location>-<site>' in CODFW rack C1
[info] ganeti2009: Interface name ge-1/0/9 found based on physical port 9
[success] ganeti2009: created interface mgmt
[default] ganeti2009: selecting mgmt address from prefix 10.193.0.0/16
[success] ganeti2009: assigned IPv4 10.193.2.4/16 to interface mgmt with DNS name 'ganeti2009.mgmt.codfw.wmnet'.
[success] ganeti2009: created interface ##PRIMARY##
[success] ganeti2009: created interface vlan2003
[info] ganeti2009: selecting address from prefix 10.192.32.0/22 (private1-c-codfw)
[success] ganeti2009: assigned IPv4 10.192.32.138/22 to interface ##PRIMARY## with DNS name 'ganeti2009.codfw.wmnet'.
[success] ganeti2009: marked IPv4 address 10.192.32.138/22 as primary IPv4 for device.
[success] ganeti2009: assigned IPv4 10.192.32.238/22 to interface ##PRIMARY## with DNS name 'ganeti2009-a.codfw.wmnet'.
[success] ganeti2009: assigned IPv4 10.192.32.239/22 to interface ##PRIMARY## with DNS name 'ganeti2009-b.codfw.wmnet'.
[success] ganeti2009: assigned IPv4 10.192.32.240/22 to interface ##PRIMARY## with DNS name 'ganeti2009-c.codfw.wmnet'.
[success] ganeti2009: assigned IPv4 10.192.32.241/22 to interface ##PRIMARY## with DNS name 'ganeti2009-d.codfw.wmnet'.
[success] ganeti2009: assigned IPv6 2620:0:860:103:10:192:32:138/64 to interface ##PRIMARY## with DNS name 'ganeti2009.codfw.wmnet'.
[success] ganeti2009: marked IPv6 address 2620:0:860:103:10:192:32:138/64 as primary IPv6.
[info] ganeti2009: Skipping IP assignment on vlan2003 (public1-c-codfw) as per device network profile
[success] asw-c1-codfw (WMF6032):ge-1/0/9 configured vlans
[success] ganeti2009: created cable 123445
[warning] ganeti2009: assuming Blue cat5e because 1000base-t
[info] ganeti2009: Found vlan 'private1-c-codfw' from template private1-<location>-<site>
[info] ganeti2009: Found vlan 'public1-c-codfw' from template public1-<location>-<site>
[warning] ganeti2009: Failed to find vlan from template 'analytics1-<location>-<site>' in CODFW rack C1
[success] ganeti2009: Added bridge device private
[success] ganeti2009: set interface ##PRIMARY## master device to bridge private
[success] ganeti2009: moved IP 10.192.32.138/22 from ##PRIMARY## to private
[success] ganeti2009: moved IP 10.192.32.238/22 from ##PRIMARY## to private
[success] ganeti2009: moved IP 10.192.32.239/22 from ##PRIMARY## to private
[success] ganeti2009: moved IP 10.192.32.240/22 from ##PRIMARY## to private
[success] ganeti2009: moved IP 10.192.32.241/22 from ##PRIMARY## to private
[success] ganeti2009: moved IP 2620:0:860:103:10:192:32:138/64 from ##PRIMARY## to private
[success] ganeti2009: Added bridge device public
[success] ganeti2009: set interface vlan2003 master device to bridge public
[success] ganeti2009: Added bridge device analytics
[warning] ganeti2009: Removed bridge device analytics as config rendered no members