Page MenuHomeDevCentral

Install netbox on new WindRiver
ClosedPublic

Authored by DorianWinty on Sep 27 2024, 22:18.
Tags
None
Referenced Files
F12347910: D3469.id9569.diff
Mon, Oct 27, 11:10
F12347855: D3469.id9569.diff
Mon, Oct 27, 11:02
F12347854: D3469.id9569.diff
Mon, Oct 27, 11:02
F12347456: D3469.id8943.diff
Mon, Oct 27, 10:15
F12346545: D3469.id.diff
Mon, Oct 27, 08:12
F12344814: D3469.id9568.diff
Mon, Oct 27, 03:47
F12342462: D3469.diff
Sun, Oct 26, 22:12
Unknown Object (File)
Sat, Oct 25, 11:26
Subscribers
None

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Errors
SeverityLocationCodeMessage
Errorroles/netbox/netbox/files/configuration.py:23E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:24E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:29E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:40E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:41E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:47E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:57E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:63E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:73E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:78E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:79E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:91E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:100E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:101E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:111E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:115E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:116E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:117E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:126E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:127E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:146E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:147E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:154E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:160E501flake8 E501
Errorroles/netbox/netbox/files/configuration.py:164E501flake8 E501
Unit
No Test Coverage
Branch
netboxInstall
Build Status
Buildable 5537
Build 5818: arc lint + arc unit

Event Timeline

DorianWinty created this revision.
dereckson requested changes to this revision.Sep 29 2024, 13:10

Good for me excepted for UIDs/GIDs

GIDs
16

Sorted by numerical order

UIDs
12

Should match uid, so 1001

roles/netbox/netbox/software.sls
18

Open question:

Should we declare software versions and hashes directly in roles or use pillar to store that information?

I don't have a definite opinion on that question and generally put this kind of information directly in roles/.

Pillar could simply be:

netbox:
  release:
     tag: v3.7.1
     hash: 97ea9106b6d29e2568c4e9c395013ca015ba7521029e8c907b6aa515dd62649a
This revision now requires changes to proceed.Sep 29 2024, 13:10
DorianWinty marked 3 inline comments as done.

edit following the commants

dereckson requested changes to this revision.Sep 29 2024, 21:34
dereckson added inline comments.
roles/netbox/netbox/files/gunicorn.py
15

New server CPU is 6 core, 12 threads

To avoid to read sysctl kern.sched.topology_spec, probably the easiest way to get this value is to use Salt grains.

No need to divide by 2 as it gives the number of CPU threads, not of core.

18

That's OS-level thread, not CPU thread, so we can keep this value.

This revision now requires changes to proceed.Sep 29 2024, 21:34
roles/netbox/netbox/files/rc/netbox
46

Only one =

DorianWinty marked 2 inline comments as done.

update following comments

This revision is now accepted and ready to land.Sep 20 2025, 14:13
dereckson retitled this revision from Install netbox on new windriver to Install netbox on new WindRiver.Sep 20 2025, 14:14
dereckson edited the summary of this revision. (Show Details)

Set chmod 755 for the scripts. Rebased against main

This revision was landed with ongoing or failed builds.Sep 20 2025, 14:24
This revision was automatically updated to reflect the committed changes.