Skip to content

Commit b30a770

Browse files
authored
Add documentation for bmc-info-outdated (#153)
1 parent 995925c commit b30a770

File tree

8 files changed

+82
-108
lines changed

8 files changed

+82
-108
lines changed

.github/workflows/auto_generate.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
with:
1414
submodules: "true"
1515
lfs: true

.github/workflows/deploy.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
with:
1616
submodules: "true"
1717
lfs: true
1818
- uses: julia-actions/setup-julia@latest
1919
with:
20-
version: 1.6.1
20+
version: 1.9.3
2121
- name: Install dependencies
2222
run: julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()))'
2323
- name: Build and deploy

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414
with:
1515
submodules: "true"
1616
lfs: true
1717
- uses: julia-actions/setup-julia@latest
1818
with:
19-
version: 1.6.1
19+
version: 1.9.3
2020
- name: Install dependencies
2121
run: julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()))'
2222
- name: Build and deploy

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM julia:1.8.4
1+
FROM julia:1.9.3
22
WORKDIR /workdir
33
COPY Project.toml Project.toml
44
COPY docs/Project.toml docs/Project.toml

Dockerfile.updater

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22
RUN apt update \
33
&& apt install -y git curl \
44
&& curl -Lo /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.9.3/yq_linux_amd64 \

docs/Manifest.toml

+57-96
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ git-tree-sha1 = "574baf8110975760d391c710b6341da1afa48d8c"
55
uuid = "a4c015fc-c6ff-483c-b24f-f7ea428134e9"
66
version = "0.0.1"
77

8-
[[ArgTools]]
9-
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
10-
version = "1.1.1"
11-
128
[[Artifacts]]
139
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
1410

@@ -22,9 +18,15 @@ version = "0.1.7"
2218

2319
[[CodecZlib]]
2420
deps = ["TranscodingStreams", "Zlib_jll"]
25-
git-tree-sha1 = "ded953804d019afa9a3f98981d99b33e3db7b6da"
21+
git-tree-sha1 = "02aa26a4cf76381be7f66e020a3eddeb27b0a092"
2622
uuid = "944b1d66-785c-5afd-91f1-9de20f533193"
27-
version = "0.7.0"
23+
version = "0.7.2"
24+
25+
[[ConcurrentUtilities]]
26+
deps = ["Serialization", "Sockets"]
27+
git-tree-sha1 = "5372dbbf8f0bdb8c700db5367132925c0771ef7e"
28+
uuid = "f0e56b4a-5159-44fe-b623-3e5288b988bb"
29+
version = "2.2.1"
2830

2931
[[Dates]]
3032
deps = ["Printf"]
@@ -44,87 +46,65 @@ version = "0.1.0"
4446

4547
[[Documenter]]
4648
deps = ["ANSIColoredPrinters", "Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
47-
git-tree-sha1 = "6030186b00a38e9d0434518627426570aac2ef95"
49+
git-tree-sha1 = "39fd748a73dce4c05a9655475e437170d8fb1b67"
4850
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
49-
version = "0.27.23"
51+
version = "0.27.25"
5052

51-
[[Downloads]]
52-
deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"]
53-
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
54-
version = "1.6.0"
55-
56-
[[FileWatching]]
57-
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
53+
[[ExceptionUnwrapping]]
54+
deps = ["Test"]
55+
git-tree-sha1 = "e90caa41f5a86296e014e148ee061bd6c3edec96"
56+
uuid = "460bff9d-24e4-43bc-9d9f-a8973cb893f4"
57+
version = "0.1.9"
5858

5959
[[HTTP]]
60-
deps = ["Base64", "CodecZlib", "Dates", "IniFile", "Logging", "LoggingExtras", "MbedTLS", "NetworkOptions", "OpenSSL", "Random", "SimpleBufferStream", "Sockets", "URIs", "UUIDs"]
61-
git-tree-sha1 = "fd9861adba6b9ae4b42582032d0936d456c8602d"
60+
deps = ["Base64", "CodecZlib", "ConcurrentUtilities", "Dates", "ExceptionUnwrapping", "Logging", "LoggingExtras", "MbedTLS", "NetworkOptions", "OpenSSL", "Random", "SimpleBufferStream", "Sockets", "URIs", "UUIDs"]
61+
git-tree-sha1 = "5eab648309e2e060198b45820af1a37182de3cce"
6262
uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3"
63-
version = "1.6.3"
63+
version = "1.10.0"
6464

6565
[[IOCapture]]
6666
deps = ["Logging", "Random"]
67-
git-tree-sha1 = "f7be53659ab06ddc986428d3a9dcc95f6fa6705a"
67+
git-tree-sha1 = "d75853a0bdbfb1ac815478bacd89cd27b550ace6"
6868
uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89"
69-
version = "0.2.2"
70-
71-
[[IniFile]]
72-
git-tree-sha1 = "f550e6e32074c939295eb5ea6de31849ac2c9625"
73-
uuid = "83e8ac13-25f8-5344-8a64-a9f2b223428f"
74-
version = "0.5.1"
69+
version = "0.2.3"
7570

7671
[[InteractiveUtils]]
7772
deps = ["Markdown"]
7873
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
7974

8075
[[JLLWrappers]]
81-
deps = ["Preferences"]
82-
git-tree-sha1 = "abc9885a7ca2052a736a600f7fa66209f96506e1"
76+
deps = ["Artifacts", "Preferences"]
77+
git-tree-sha1 = "7e5d6779a1e09a36db2a7b6cff50942a0a7d0fca"
8378
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
84-
version = "1.4.1"
79+
version = "1.5.0"
8580

8681
[[JSON]]
8782
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
88-
git-tree-sha1 = "3c837543ddb02250ef42f4738347454f95079d4e"
83+
git-tree-sha1 = "31e996f0a15c7b280ba9f76636b3ff9e2ae58c9a"
8984
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
90-
version = "0.21.3"
91-
92-
[[LibCURL]]
93-
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
94-
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
95-
version = "0.6.3"
96-
97-
[[LibCURL_jll]]
98-
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"]
99-
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
100-
version = "7.84.0+0"
85+
version = "0.21.4"
10186

10287
[[LibGit2]]
10388
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
10489
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
10590

106-
[[LibSSH2_jll]]
107-
deps = ["Artifacts", "Libdl", "MbedTLS_jll"]
108-
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8"
109-
version = "1.10.2+0"
110-
11191
[[Libdl]]
11292
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
11393

11494
[[Libiconv_jll]]
115-
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
116-
git-tree-sha1 = "c7cb1f5d892775ba13767a87c7ada0b980ea0a71"
95+
deps = ["Artifacts", "JLLWrappers", "Libdl"]
96+
git-tree-sha1 = "f9557a255370125b405568f9767d6d195822a175"
11797
uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531"
118-
version = "1.16.1+2"
98+
version = "1.17.0+0"
11999

120100
[[Logging]]
121101
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
122102

123103
[[LoggingExtras]]
124104
deps = ["Dates", "Logging"]
125-
git-tree-sha1 = "cedb76b37bc5a6c702ade66be44f831fa23c681e"
105+
git-tree-sha1 = "c1dd6d7978c12545b4179fb6153b9250c96b0075"
126106
uuid = "e6f89c97-d47a-5376-807f-9c37f3926c36"
127-
version = "1.0.0"
107+
version = "1.0.3"
128108

129109
[[Markdown]]
130110
deps = ["Base64"]
@@ -139,47 +119,48 @@ version = "1.1.7"
139119
[[MbedTLS_jll]]
140120
deps = ["Artifacts", "Libdl"]
141121
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"
142-
version = "2.28.0+0"
122+
version = "2.28.2+0"
143123

144124
[[Mmap]]
145125
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
146126

147127
[[MozillaCACerts_jll]]
148128
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
149-
version = "2022.2.1"
129+
version = "2022.10.11"
150130

151131
[[NetworkOptions]]
152132
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
153133
version = "1.2.0"
154134

155135
[[OpenSSL]]
156136
deps = ["BitFlags", "Dates", "MozillaCACerts_jll", "OpenSSL_jll", "Sockets"]
157-
git-tree-sha1 = "df6830e37943c7aaa10023471ca47fb3065cc3c4"
137+
git-tree-sha1 = "51901a49222b09e3743c65b8847687ae5fc78eb2"
158138
uuid = "4d8831e6-92b7-49fb-bdf8-b643e874388c"
159-
version = "1.3.2"
139+
version = "1.4.1"
160140

161141
[[OpenSSL_jll]]
162-
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
163-
git-tree-sha1 = "f6e9dba33f9f2c44e08a020b0caf6903be540004"
142+
deps = ["Artifacts", "JLLWrappers", "Libdl"]
143+
git-tree-sha1 = "ceeda72c9fd6bbebc4f4f598560789145a8b6c4c"
164144
uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95"
165-
version = "1.1.19+0"
145+
version = "3.0.11+0"
166146

167147
[[Parsers]]
168-
deps = ["Dates", "SnoopPrecompile"]
169-
git-tree-sha1 = "6466e524967496866901a78fca3f2e9ea445a559"
148+
deps = ["Dates", "PrecompileTools", "UUIDs"]
149+
git-tree-sha1 = "716e24b21538abc91f6205fd1d8363f39b442851"
170150
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
171-
version = "2.5.2"
151+
version = "2.7.2"
172152

173-
[[Pkg]]
174-
deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"]
175-
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
176-
version = "1.8.0"
153+
[[PrecompileTools]]
154+
deps = ["Preferences"]
155+
git-tree-sha1 = "03b4c25b43cb84cee5c90aa9b5ea0a78fd848d2f"
156+
uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
157+
version = "1.2.0"
177158

178159
[[Preferences]]
179160
deps = ["TOML"]
180-
git-tree-sha1 = "47e5f437cc0e7ef2ce8406ce1e7e24d44915f88d"
161+
git-tree-sha1 = "00805cd429dcb4870060ff49ef443486c262e38e"
181162
uuid = "21216c6a-2e73-6563-6e65-726566657250"
182-
version = "1.3.0"
163+
version = "1.4.1"
183164

184165
[[Printf]]
185166
deps = ["Unicode"]
@@ -205,44 +186,34 @@ git-tree-sha1 = "874e8867b33a00e784c8a7e4b60afe9e037b74e1"
205186
uuid = "777ac1f9-54b0-4bf8-805c-2214025038e7"
206187
version = "1.1.0"
207188

208-
[[SnoopPrecompile]]
209-
git-tree-sha1 = "f604441450a3c0569830946e5b33b78c928e1a85"
210-
uuid = "66db9d55-30c0-4569-8b51-7e840670fc0c"
211-
version = "1.0.1"
212-
213189
[[Sockets]]
214190
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
215191

216192
[[StringEncodings]]
217193
deps = ["Libiconv_jll"]
218-
git-tree-sha1 = "50ccd5ddb00d19392577902f0079267a72c5ab04"
194+
git-tree-sha1 = "b765e46ba27ecf6b44faf70df40c57aa3a547dcb"
219195
uuid = "69024149-9ee7-55f6-a4c4-859efe599b68"
220-
version = "0.3.5"
196+
version = "0.3.7"
221197

222198
[[TOML]]
223199
deps = ["Dates"]
224200
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
225-
version = "1.0.0"
226-
227-
[[Tar]]
228-
deps = ["ArgTools", "SHA"]
229-
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
230-
version = "1.10.1"
201+
version = "1.0.3"
231202

232203
[[Test]]
233204
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
234205
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
235206

236207
[[TranscodingStreams]]
237208
deps = ["Random", "Test"]
238-
git-tree-sha1 = "94f38103c984f89cf77c402f2a68dbd870f8165f"
209+
git-tree-sha1 = "9a6ae7ed916312b41236fcef7e0af564ef934769"
239210
uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
240-
version = "0.9.11"
211+
version = "0.9.13"
241212

242213
[[URIs]]
243-
git-tree-sha1 = "ac00576f90d8a259f2c9d823e91d1de3fd44d348"
214+
git-tree-sha1 = "b7a5e99f24892b6824a954199a45e9ffcc1c70f0"
244215
uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
245-
version = "1.4.1"
216+
version = "1.5.0"
246217

247218
[[UUIDs]]
248219
deps = ["Random", "SHA"]
@@ -253,21 +224,11 @@ uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
253224

254225
[[YAML]]
255226
deps = ["Base64", "Dates", "Printf", "StringEncodings"]
256-
git-tree-sha1 = "dbc7f1c0012a69486af79c8bcdb31be820670ba2"
227+
git-tree-sha1 = "e6330e4b731a6af7959673621e91645eb1356884"
257228
uuid = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6"
258-
version = "0.4.8"
229+
version = "0.4.9"
259230

260231
[[Zlib_jll]]
261232
deps = ["Libdl"]
262233
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
263-
version = "1.2.12+3"
264-
265-
[[nghttp2_jll]]
266-
deps = ["Artifacts", "Libdl"]
267-
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"
268-
version = "1.48.0+0"
269-
270-
[[p7zip_jll]]
271-
deps = ["Artifacts", "Libdl"]
272-
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
273-
version = "17.4.0+0"
234+
version = "1.2.13+0"

docs/make.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ using Documenter
33
is_ci_build = get(ENV, "CI", nothing) == "true"
44

55
makedocs(
6+
repo = "github.com/metal-stack/docs.git",
67
sitename="metal-stack",
78
format = Documenter.HTML(
89
prettyurls = is_ci_build,
@@ -15,7 +16,7 @@ makedocs(
1516
linkcheck_ignore = [
1617
r"^(?!http)",
1718
],
18-
#strict = true, # TODO: Should be enabled soon, links from repos to CONTRIBUTING have to be updated though...
19+
# strict = false, # TODO: Should be enabled soon, links from repos to CONTRIBUTING have to be updated though...
1920
clean = true,
2021
pages = [
2122
"Introduction" => "index.md",

docs/src/installation/troubleshoot.md

+16-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ If there are any failing pods, investigate those and look into container logs. T
5252

5353
The control-plane deployment returns an error like this:
5454

55-
```
55+
```bash
5656
deploy-control-plane | fatal: [localhost]: FAILED! => changed=false
5757
deploy-control-plane | attempts: 60
5858
deploy-control-plane | content: ''
@@ -159,7 +159,7 @@ This error will disappear after a certain time period from `machine issues`. You
159159

160160
#### asn-not-unique
161161

162-
This issue was introduced by a bug in earlier versions of metal-stack and was fixed in https://github.com/metal-stack/metal-api/pull/105.
162+
This issue was introduced by a bug in earlier versions of metal-stack and was fixed in [PR105](https://github.com/metal-stack/metal-api/pull/105.)
163163

164164
To resolve the issue, you need to recreate the firewalls that use the same ASN.
165165

@@ -181,6 +181,18 @@ The [metal-bmc](https://github.com/metal-stack/metal-bmc) is responsible to repo
181181

182182
When there is no distinct IP address for the BMC, it can be that an orphaned machine used this IP in the past. In this case, you need to clean up the orphaned machine through `metalctl machine rm --remove-from-database`.
183183

184+
#### bmc-info-outdated
185+
186+
The [metal-bmc](https://github.com/metal-stack/metal-bmc) is responsible to report bmc details for the machine's [BMC](https://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface#Baseboard_management_controller).
187+
188+
When the metal-bmc was not able to fetch the bmc info for longer than 20 minutes, something is wrong with the BMC configuration of the machine. This can be caused by one of the following reasons:
189+
190+
- Wrong password for the root user is configured in the BMC
191+
- ip address of the BMC is either wrong or not present
192+
- the device on the given ip address is not a machine, maybe a switch or a management component which is not managed by the metal-api
193+
194+
In either case, please check the logs for the given machine UUID on the metal-bmc for further details. Also check that the metal-bmc is configured to only consider BMC IPs in the range they are configured from the DHCP server in the partition. This prevents grabbing unrelated BMCs.
195+
184196
### A machine has registered with a different UUID after reboot
185197

186198
metal-stack heavily relies on steady machine UUIDs as the UUID is the primary key of the machine entity in the metal-api.
@@ -192,8 +204,8 @@ For further reference also see [metal-stack/metal-hammer#52](https://github.com/
192204
There are some scenarios (can be vendor-specific), which can cause a machine UUID to change over time, e.g.:
193205

194206
- When the UUID partly contains of a network card's mac address, it can happen when:
195-
- Exchanging network cards
196-
- Disabling network cards through BIOS
207+
- Exchanging network cards
208+
- Disabling network cards through BIOS
197209
- Changing the UUID through vendor-specific CLI tool
198210

199211
#### Solution

0 commit comments

Comments
 (0)