reference-repository merge requestshttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests2022-11-23T15:53:57+01:00https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/434Bump postinstall to v1.20221123152022-11-23T15:53:57+01:00BERARD BenjaminBump postinstall to v1.2022112315https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/433[grat/nancy] Add itf_name and update bios firmware2022-11-18T17:00:48+01:00BERARD Benjamin[grat/nancy] Add itf_name and update bios firmwarehttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/432[bug 14208] Remove ganglia.2022-11-16T14:27:14+01:00JACQUOT Pierrepierre.jacquot@inria.fr[bug 14208] Remove ganglia.Related to [bug 14208](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14208).
This merge request remove ganglia's virtual machines from the ref-repo.Related to [bug 14208](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14208).
This merge request remove ganglia's virtual machines from the ref-repo.JACQUOT Pierrepierre.jacquot@inria.frJACQUOT Pierrepierre.jacquot@inria.frhttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/431[bug 14185] Check that Homogeneity exceptions are still present.2022-12-07T10:47:17+01:00JACQUOT Pierrepierre.jacquot@inria.fr[bug 14185] Check that Homogeneity exceptions are still present.Related to [bug 14185](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14185).
This merge request enhance the `rake valid:homogeneity` task.
This task will check that differences between nodes that have been registered into the `...Related to [bug 14185](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14185).
This merge request enhance the `rake valid:homogeneity` task.
This task will check that differences between nodes that have been registered into the `lib/refrepo/valid/data/homogeneity.yaml.erb` file are present into the ref-repo. If an exception from the previous file is not found in the ref-repo, it is counted as an error.
The goal of this merge request is to avoid the exceptions in the `homogeneity.yaml.erb` file to stale and lead us to confusion.
This merge requests contains:
* Fixes to the exceptions that are outdated (nodes properties are marked as differents, while they are homogeneous in ref-repo)
* Enhancement of the `rake valid:homogeneity` tasks
* Adding of the `rake valid:homogeneity` task to the `validate` pipeline of the CI, to check regularly that no errors are introduced in the repo.JACQUOT Pierrepierre.jacquot@inria.frJACQUOT Pierrepierre.jacquot@inria.frhttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/430[nancy/grat] Update mac address for eth02022-11-08T17:39:46+01:00BERARD Benjamin[nancy/grat] Update mac address for eth0https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/429[valid/oar-properties] raise error when discrepancy between number of disk an...2022-11-15T10:42:27+01:00Alexandre MERLIN[valid/oar-properties] raise error when discrepancy between number of disk and...[valid/oar-properties] raise error when discrepancy between number of disk and disk_reservations_count[valid/oar-properties] raise error when discrepancy between number of disk and disk_reservations_counthttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/428[nancy/grvingt] Update bios and firmware2022-11-03T15:25:46+01:00BERARD Benjamin[nancy/grvingt] Update bios and firmwareBERARD BenjaminBERARD Benjaminhttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/426[rvm] bump ruby-version2022-10-24T18:36:41+02:00RINGOT Patrice[rvm] bump ruby-versionhttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/425[chetemi-10] Same disk model for chetemi-10 and chetemi-cluster.2022-10-20T13:22:59+02:00JACQUOT Pierrepierre.jacquot@inria.fr[chetemi-10] Same disk model for chetemi-10 and chetemi-cluster.Related to [bug 14169](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14169).Related to [bug 14169](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14169).https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/424[grenoble/dahu] Update refrepo for dahu-122022-10-20T12:09:05+02:00BERARD Benjamin[grenoble/dahu] Update refrepo for dahu-12https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/423[DSU dahu] update firmware and BIOS - except for dahu-[12,16]2022-10-19T14:48:25+02:00LELAURAIN Julien[DSU dahu] update firmware and BIOS - except for dahu-[12,16]LELAURAIN JulienLELAURAIN Julienhttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/421[grat/nancy] Add predictable name2022-10-18T10:01:57+02:00BERARD Benjamin[grat/nancy] Add predictable namehttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/420Fix ecotype errors2022-10-17T19:10:13+02:00JACQUOT Pierrepierre.jacquot@inria.frFix ecotype errorsRelated to [bug 14613](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14163).
* Add ecotype-47 eth1 missing rate
* Add exceptions for the different firmware versions of ecotype-18.Related to [bug 14613](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14163).
* Add ecotype-47 eth1 missing rate
* Add exceptions for the different firmware versions of ecotype-18.https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/419[chetemi-5] Put chetemi-5 in retired.2022-10-12T10:58:45+02:00JACQUOT Pierrepierre.jacquot@inria.fr[chetemi-5] Put chetemi-5 in retired.Related to [bug 14104](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14104).Related to [bug 14104](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14104).https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/418Fixrubocop2022-10-17T17:20:54+02:00JACQUOT Pierrepierre.jacquot@inria.frFixrubocopRelated to [bug 14145](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14145).
Rubocop has fixed automatically the detected issues with ERB functions call.
Pipeline is green, I think it means everything is OK.Related to [bug 14145](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14145).
Rubocop has fixed automatically the detected issues with ERB functions call.
Pipeline is green, I think it means everything is OK.https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/417[bug13019] swap back gemini 1 & 2 ports.2022-10-10T15:40:07+02:00JACQUOT Pierrepierre.jacquot@inria.fr[bug13019] swap back gemini 1 & 2 ports.https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/416[rubocop] temporary disable Lint/ERBNewArgument errors2022-10-05T17:57:09+02:00JACQUOT Pierrepierre.jacquot@inria.fr[rubocop] temporary disable Lint/ERBNewArgument errorsThis merge request disable the Lint/ErbNewArguments error of rubocop, because I can't reproduce them on my personal machine.
```
Inspecting 58 files
.........WWW.W...W........................................
Offenses:
lib/refrepo/gen/pu...This merge request disable the Lint/ErbNewArguments error of rubocop, because I can't reproduce them on my personal machine.
```
Inspecting 58 files
.........WWW.W...W........................................
Offenses:
lib/refrepo/gen/puppet/dhcpg5k.rb:45:97: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path("templates/dhcp.erb", File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/dhcpg5k.rb:45:102: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path("templates/dhcp.erb", File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kadeployg5k.rb:153:113: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/kadeployg5k.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kadeployg5k.rb:153:118: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/kadeployg5k.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:47:82: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
conf = YAML::load(ERB.new(File.read("#{options[:conf_dir]}/kavlang5k.yaml"), nil, '-').result(binding))[site_uid]
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:47:87: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
conf = YAML::load(ERB.new(File.read("#{options[:conf_dir]}/kavlang5k.yaml"), nil, '-').result(binding))[site_uid]
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:51:106: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/kavlan.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:51:111: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/kavlan.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:57:112: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/kavlan-cluster.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:57:117: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/kavlan-cluster.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:64:113: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/kavlan-dhcp.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:64:118: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/kavlan-dhcp.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:75:111: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/kavlan-dhcp.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kavlang5k.rb:75:116: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/kavlan-dhcp.conf.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kwollectg5k.rb:42:110: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/kwollect-node.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kwollectg5k.rb:42:115: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/kwollect-node.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kwollectg5k.rb:52:111: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/kwollect-network.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kwollectg5k.rb:52:116: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/kwollect-network.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kwollectg5k.rb:77:107: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/kwollect-pdu.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kwollectg5k.rb:77:112: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/kwollect-pdu.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kwollectg5k.rb:97:121: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/kwollect-wattmetre-mapping.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/kwollectg5k.rb:97:126: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/kwollect-wattmetre-mapping.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/oxidizedg5k.rb:21:104: W: [Correctable] Lint/ErbNewArguments: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
output = ERB.new(File.read(File.expand_path('templates/oxidized.db.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
lib/refrepo/gen/puppet/oxidizedg5k.rb:21:109: W: [Correctable] Lint/ErbNewArguments: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: '-') instead.
output = ERB.new(File.read(File.expand_path('templates/oxidized.db.erb', File.dirname(__FILE__))), nil, '-').result(binding)
^^^
58 files inspected, 24 offenses detected, 24 offenses autocorrectable
```
I have opened a bug to track the subject: https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14145https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/415[grvingt/nancy] Update idrac mac address and bios&firmware2022-10-06T14:03:21+02:00BERARD Benjamin[grvingt/nancy] Update idrac mac address and bios&firmwarehttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/414[servan] Wattmetre ports numerotation starts at 0.2022-09-26T15:12:53+02:00JACQUOT Pierrepierre.jacquot@inria.fr[servan] Wattmetre ports numerotation starts at 0.Related to [bug 14117](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14117).
Servan's wattmetre port were misnumbered.
Wattmetre port numerotation starts at 0, not at 1.
This was causing the `check-wattmetre-loss` service to m...Related to [bug 14117](https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14117).
Servan's wattmetre port were misnumbered.
Wattmetre port numerotation starts at 0, not at 1.
This was causing the `check-wattmetre-loss` service to misread data, and think there was a mute port.JACQUOT Pierrepierre.jacquot@inria.frJACQUOT Pierrepierre.jacquot@inria.frhttps://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/412[nancy/graffiti] Update bios and firmware2022-09-26T13:15:54+02:00RINGOT Patrice[nancy/graffiti] Update bios and firmwareRINGOT PatriceRINGOT Patrice