When trying to install the c50 monitoring point using podman 4.x on linux the installation fails
./setup.sh install
|
Using podman container engine Could not determine compose version, skipping check Using sum tool sha1sum Trying to download updated tools from https://content.pm.appneta.com/tools % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 209 100 209 0 0 674 0 --:--:-- --:--:-- --:--:-- 676 Trying to download updated tools from https://appliance-repo.pm.appneta.com/current % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to appliance-repo.pm.appneta.com:443 Overwriting setup files with newly downloaded versions > Tools update complete. Proceed with configuration? (Y/n) (default=y): y Running configuration script > Existing mp-compose.yaml detected, overwrite/keep? (O/k) (default=o): o Overwriting existing mp-compose.yaml > Would you like to use host networking? (y/N) (default=n): y Selected Host networking Setting container time zone to UTC in mp-compose.yaml Setting talos port to 26268 in mp-compose.yaml > Proceed with deployment? (Y/n) (default=y): y Trying to pull appneta.azurecr.io/pathview-cmp:release... Getting image source signatures Copying blob sha256:c0103fcbf4011a304f1cbd...xxx...61b9ee4d9c3d27729419d8df8c7349254 Copying blob sha256:009d9aede50ac311444...xxx...c5b1fc7c6712a9cefa807cacaa56a1d2 ~ ~ Copying blob sha256:8988f5b09694a80..xxx...14707663d8afc25c0b236a2105dcb82faff Copying config sha256:acd3f6792b0e00706...xxx...4f12bed1d55460a74961c66d73da186c51ad Writing manifest to image destination acd3f6792b0e00706c58e7...xxx...1d55460a74961c66d73da186c51ad Trying to pull appneta.azurecr.io/talos-engine:current... Getting image source signatures Copying blob sha256:f6f0cf1c1fed56f93e14f0046b2...xxx...e7cbc87568f6cb4bbd79d20a07b6b ~ ~ Copying blob sha256:4f4fb700ef54461cfa02571ae0d...xxx...5577484a6d75e68dc38e8acc1 Copying config sha256:3d28782b7cde5345d5c3fe90...xxx...bde3888e84ebdfd590840bc0c9e273 Writing manifest to image destination 3d28782b7cde5345d5c3fe90bd6cd0...xxx...888e84ebdfd590840bc0c9e273 Failed to restart cmp-appneta-01-sequencer.service: Unit cmp-appneta-01-sequencer.service not found. |
RHEL8
podman 4.x (RHEL9 & podman 5.x not affected)
c50 EMP version 13.3.1 and earlier
Version 16.3.1 and earlier versions of the c50 did not contain support for podman 4.x only 5.x
- Install c50 EMP version 16.3.2+ (now available which has support for podman 4.x)
-OR-
- Implement the work around
cd to the cmp folder
1. edit setup.sh
a. comment out ~Line 218
${CP_CMD} -f quadlet/cmp.pod "${INSTALL_PATH}/${container_name}.pod"
b. comment out ~Line 237
${SYSTEMCTL_CMD} restart "${container_name}-pod.service"
c. add after ~Line 237
${SYSTEMCTL_CMD} restart "${container_name}-network.service"
${SYSTEMCTL_CMD} restart "${container_name}-sequencer.service"
${SYSTEMCTL_CMD} restart "${container_name}-talos.service"
Note: IF you are selecting HOST Network (as opposed to bridging) leave out or comment out the network.service
line. This will not work in HOST network mode. If you select Bridging this entry is required.
2. Edit .quadlet-templates/sequencer.container
a. comment out the Pod= line Pod=__CONTAINER_NAME__.pod
b. comment out the LogOpt line
LogOpt=max-size="100m"
3. Edit .quadlet-templates/talos.container
a. comment out the Pod= line
Pod=__CONTAINER_NAME__.pod
b. comment out the LogOpt line
LogOpt=max-size="100m"
Installing:
When you run the installer you will need to answer 'n' to overwritting filessudo ./setup.sh install -t America/New_York
|
Using podman container engine gpg: Good signature from "AppNeta Flash (Flash file verification key) <[email protected]>" [ultimate] |
If you do not specify 'n' the installer will replace the modified files and will fail again.
This is resolved in EMP version 16.3.2