Seite 1 von 1

[SOLVED] Problem to create new netboot product

Verfasst: 01 Jun 2023, 17:25
von o.ferre
Hi all,
I try to create a new netboot product

Code: Alles auswählen

opsi-package-manager --install win10-x64_4.2.0.3-6.opsi --new-product-id new_product
And this is the error message.
HTTPSConnectionPool(host='server_hostname', port=4447): Max retries exceeded with url: /rpc (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f26240c79a0>: Failed to establish a new connection: [Errno 111] Connection refused'))

ERROR: Failed to process command 'install': 1 errors during the processing of tasks
Perhaprs I got to modify the config.ini file in /opsi/config/ and remove /rpc
defaultvalues = ["https://server_hostname:4447/rpc"]
possiblevalues = ["https://server_hostname:4447/rpc"]
Thanks for your help
Olivier

Re: Problem to create new netboot product

Verfasst: 02 Jun 2023, 08:20
von o.ferre
Hi,
for more information :
I got the same problem when I try to install another product !

Code: Alles auswählen

opsi-package-manager -i wipedisk_2.3-7.opsi
or

Code: Alles auswählen

opsi-package-manager -i ubuntu22-04_4.2.0.1-13.opsi"
But, there are few months, I was able to install win11-x64_4.2.0.3-6.opsi and win10-x64_4.2.0.3-6.opsi without problem...

Thanks for the help
Olivier

Opsi version : 4.2.0

Re: Problem to create new netboot product

Verfasst: 02 Jun 2023, 10:54
von m.radtke
Hi

is the opsiconfd running?

Re: Problem to create new netboot product

Verfasst: 02 Jun 2023, 16:35
von o.ferre
Thanks for your reply.
Yes, the opsiconfd service is running
I've just restart the server.

Code: Alles auswählen

● opsiconfd.service - opsi server daemon
   Loaded: loaded (/lib/systemd/system/opsiconfd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2023-06-02 16:23:26 CEST; 9min ago
 Main PID: 709 (opsiconfd)
    Tasks: 18 (limit: 4700)
   Memory: 225.8M
   CGroup: /system.slice/opsiconfd.service
           ├─709 ./opsiconfd start --log-level-stderr=0
           ├─930 /usr/lib/opsiconfd/opsiconfd -B -S -E -s -c from multiprocessing.resource_tracker import main;main(22)
           └─931 /usr/lib/opsiconfd/opsiconfd --multiprocessing-fork tracker_fd=23 pipe_handle=26

Jun 02 16:23:26  systemd[1]: Started opsi server daemon.

Re: Problem to create new netboot product

Verfasst: 02 Jun 2023, 19:26
von o.ferre
Hi,

and the strange, it's that I can install computer without problem (pxe boot and connection to opsiserver to get the netboot products).
No problem to connect to https://server:4447/rpc :?:

Thanks
Olivier

Re: Problem to create new netboot product

Verfasst: 11 Jul 2023, 16:35
von o.ferre
Hi All,
I just resolved this problem...
It was a mistake in my /etc/hosts file... I haven't got the good IP ! :|
Sorry for the noise !
Olivier