RHEL8 : 8.5 iso install

割と何も考えずに、RHEL 8.5を入れてみました。

internetには二段NATで到達できる。

 

[chisaya@maple ~]$ su -
パスワード:
[root@maple ~]# subscription-manager register

Traceback (most recent call last):
File "/usr/sbin/subscription-manager", line 11, in <module>
load_entry_point('subscription-manager==1.28.21', 'console_scripts', 'subscription-manager')()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point
return ep.load()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318, in load
return self.resolve()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib64/python3.6/site-packages/subscription_manager/scripts/subscription_manager.py", line 60, in <module>
from rhsm import logutil
File "/usr/lib64/python3.6/site-packages/rhsm/logutil.py", line 17, in <module>
import logging.handlers
File "/usr/lib64/python3.6/logging/handlers.py", line 26, in <module>
import logging, socket, os, pickle, struct, time, re
File "/usr/lib64/python3.6/pickle.py", line 37, in <module>
import _compat_pickle
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 779, in get_code
File "<frozen importlib._bootstrap_external>", line 487, in _compile_bytecode

[root@maple ~]# subscription-manager list --available

Traceback (most recent call last):
File "/usr/sbin/subscription-manager", line 11, in <module>
load_entry_point('subscription-manager==1.28.21', 'console_scripts', 'subscription-manager')()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)

(snif)

ならばoffline用に証明書を….

 

[root@maple ~]# subscription-manager import --certificate=/tmp/00.pem
Traceback (most recent call last):
File "/usr/sbin/subscription-manager", line 11, in <module>
load_entry_point('subscription-manager==1.28.21', 'console_scripts', 'subscription-manager')()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)

(snif)

[root@maple log]# subscription-manager register --username chisayami --password hogehoge

Traceback (most recent call last):
File "/usr/sbin/subscription-manager", line 11, in <module>
load_entry_point('subscription-manager==1.28.21', 'console_scripts', 'subscription-manager')()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)

(snif)

前はすんなり行った記憶もあるんだけどなぁ。

 

DVDでbootイメージだけ焼いてみたけどgrabに落ちる。installしているマシンのほうもいろいろ怪しい。

今時点で8.5が最新なので8.4でも落としてみるかなぁと思ったけど、とりあえずHDDから起動するように変更。

そして再度ssh….よく見るとログイン時になにか出ている。

Activate the web console with: systemctl enable --now cockpit.socket

This system is not registered to Red Hat Insights. See https://cloud.redhat.com/
To register this system, run: insights-client --register

Last login: Tue Nov 23 13:04:09 2021 from 192.168.0.200
[chisaya@maple ~]$ insights-client --register
Insights client must be run as root.
[chisaya@maple ~]$ su -
パスワード:
[root@maple ~]# insights-client --register
Unable to fetch egg url. Defaulting to /release
Please ensure that the system is registered with RHSM for CERT auth, or that correct credentials are set in /etc/insights-client/insights-client.conf for BASIC auth.
Could not connect to the Insights API. Run insights-client --test-connection for more information.

ファイルも適当に書き換えてみる。

[root@maple log]# subscription-manager register --username chisayami --password hogehoge

登録中: subscription.rhsm.redhat.com:443/subscription
このシステムは、次の ID で登録されました: xxxxxxxx-xxxx-xxxx-xxx-xxxxxxxxxx
登録したシステム名: maple.chi-labo.info
Segmentation fault (コアダンプ)

 

core dumpしてるし….でも登録できた風味。

RHELはもとから何かとテキストの出力が多かったような気もするけど、多すぎて読まない風習がついてしまったのかも?

RHELのweb管理画面からちょこちょこいじってみたりいろいろしてみたけどだめで、そもそも 8.5はβなので人柱状態のようなので8.4あたりでいろいろやってみようかと。

CentOS8.5もあるけど、怪しい状態だなぁ。

 

タグ: