Error While Deploying C50 MP using Podman - Failed to restart cmp-appneta-01-sequencer.service: Unit cmp-appneta-01-sequencer.service not found.
search cancel

Error While Deploying C50 MP using Podman - Failed to restart cmp-appneta-01-sequencer.service: Unit cmp-appneta-01-sequencer.service not found.

book

Article ID: 406046

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction

While trying to deploy an AppNeta c50 monitoring point using podman the install 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:c0103fcbf4011a304f1cbd60901758c61b9ee4d9c3d27729419d8df8c7349254
Copying blob sha256:009d9aede50ac311444bfe2617cdceedc5b1fc7c6712a9cefa807cacaa56a1d2
~
~
Copying blob sha256:8988f5b09694a80ac70a170a6dfbe14707663d8afc25c0b236a2105dcb82faff
Copying config sha256:acd3f6792b0e00706c58e7e1863f4f12bed1d55460a74961c66d73da186c51ad
Writing manifest to image destination
acd3f6792b0e00706c58e7e1863f4f12bed1d55460a74961c66d73da186c51ad
Trying to pull appneta.azurecr.io/talos-engine:current...
Getting image source signatures
Copying blob sha256:f6f0cf1c1fed56f93e14f0046b29961f491e7cbc87568f6cb4bbd79d20a07b6b
~
~
Copying config sha256:3d28782b7cde5345d5c3fe90bd6cd03b73bde3888e84ebdfd590840bc0c9e273
Writing manifest to image destination
3d28782b7cde5345d5c3fe90bd6cd03b73bde3888e84ebdfd590840bc0c9e273
Failed to restart cmp-appneta-01-sequencer.service: Unit cmp-appneta-01-sequencer.service not found.


**Note: The install was trying to modify the docker compose file (when podman is being used)


The following error was also seen in the 

#1: Jul 30 03:03:41xxxxxxxxxxxxx quadlet-generator[6704]: error loading "/etc/containers/systemd/cmp-appneta-01/cmp-appneta-01-sequencer.container", file contains line 25: “__PORTS__” which is not a key-value pair, group, or comment




Environment

RHEL 9
Podman 5.4

Cause


Existence of docker binaries caused the setup.sh and config.sh scripts to pick up docker as an engine. If found docker will take precedence over podman. In this case
  the podman-docker package was also installed causing the install to pickup docker as an engine.

Resolution


Remove the podman-docker package and reinstall or perform the workaround below.


Workaround: modify the setup.sh and config.sh scripts

setup.sh
config.sh


In BOTH files find the CONTAINER_ENGINES= line and remove docker



example

CONTAINER_ENGINES='podman'




Rerun the installation

./setup.sh install