Page MenuHomeDevCentral

Install netbox on new WindRiver
ClosedPublic

Authored by DorianWinty on Sep 27 2024, 22:18.
Tags
None
Referenced Files
F12061780: D3469.id9568.diff
Mon, Sep 29, 07:09
F12061432: D3469.id9569.diff
Mon, Sep 29, 05:59
F12061268: D3469.id9568.diff
Mon, Sep 29, 04:44
F12060374: D3469.id9569.diff
Sun, Sep 28, 23:12
F12060284: D3469.diff
Sun, Sep 28, 22:46
F12050551: D3469.diff
Sun, Sep 28, 13:03
F12049697: D3469.id8943.diff
Sun, Sep 28, 12:36
F12046173: D3469.id8953.diff
Sun, Sep 28, 11:23
Subscribers
None

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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
17

Sorted by numerical order

UIDs
14

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.Sat, Sep 20, 14:13
dereckson retitled this revision from Install netbox on new windriver to Install netbox on new WindRiver.Sat, Sep 20, 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.Sat, Sep 20, 14:24
This revision was automatically updated to reflect the committed changes.