Page MenuHomeDevCentral

Install netbox on new windriver
Needs ReviewPublic

Authored by DorianWinty on Sep 27 2024, 22:18.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 01:43
Unknown Object (File)
Fri, Nov 15, 11:27
Unknown Object (File)
Mon, Nov 11, 07:52
Unknown Object (File)
Sun, Nov 10, 07:05
Unknown Object (File)
Sat, Nov 9, 02:40
Unknown Object (File)
Tue, Oct 29, 06:47
Unknown Object (File)
Tue, Oct 29, 06:47
Unknown Object (File)
Tue, Oct 29, 05:54
Subscribers
None

Details

Reviewers
dereckson

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 5525
Build 5806: 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
14

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.

17

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
45

Only one =

DorianWinty marked 2 inline comments as done.

update following comments