Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3445

cf-remote picks wrong package for rhel 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Higher
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: N/A
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3

      Description

      olehermanse@OH-WIN core $ bash docs/test.sh
      +++ dirname docs/test.sh
      ++ cd docs
      ++ pwd -P
      + SCRIPTPATH=/home/olehermanse/code/northern.tech/cfengine/core/docs
      + cf-remote spawn --platform ubuntu-18-04-x64 --count 1 --name hub --role hub
      Spawning VMs...DONE
      Waiting for VMs to get IP addresses...........DONE
      Details about the spawned VMs can be found in /home/olehermanse/.cfengine/cf-remote/cloud_state.json
      + cf-remote spawn --platform rhel-7-x64 --count 1 --name rhel7 --role client
      Spawning VMs...DONE
      Waiting for VMs to get IP addresses....DONE
      Details about the spawned VMs can be found in /home/olehermanse/.cfengine/cf-remote/cloud_state.json
      + sleep 60
      + cf-remote --version master install --demo --bootstrap hub --hub hububuntu@54.194.168.123
      OS : ubuntu (debian)
      Architecture : x86_64
      CFEngine : Not installed
      Policy server : None
      Binaries : dpkg, aptPackage already downloaded: '/home/olehermanse/.cfengine/cf-remote/packages/cfengine-nova-hub_3.17.0a.da4135060~11038.ubuntu18_amd64.deb'
      Copying: '/home/olehermanse/.cfengine/cf-remote/packages/cfengine-nova-hub_3.17.0a.da4135060~11038.ubuntu18_amd64.deb' to 'ubuntu@54.194.168.123'
      Installing: 'cfengine-nova-hub_3.17.0a.da4135060~11038.ubuntu18_amd64.deb' on 'ubuntu@54.194.168.123'
      CFEngine 3.17.0a.da4135060 (Enterprise) was successfully installed on 'ubuntu@54.194.168.123'
      Bootstrapping: '54.194.168.123' -> '172.31.22.245'
      Bootstrap successful: '54.194.168.123' -> '172.31.22.245'
      Transferring def.json to hub: 'ubuntu@54.194.168.123'
      Copying: '/home/olehermanse/.cfengine/cf-remote/json/def.json' to 'ubuntu@54.194.168.123'
      Triggering an agent run on: '54.194.168.123'
      Disabling password change on hub: 'ubuntu@54.194.168.123'
      Triggering an agent run on: '54.194.168.123'
      Your demo hub is ready: https://54.194.168.123/ (Username: admin, Password: password)
      + cf-remote --version master install --demo --bootstrap hub --clients rhel7ec2-user@34.240.77.93
      OS : rhel (fedora)
      Architecture : x86_64
      CFEngine : Not installed
      Policy server : None
      Binaries : rpm, yumPackage already downloaded: '/home/olehermanse/.cfengine/cf-remote/packages/cfengine-nova-3.17.0a.da4135060-11038.suse15.x86_64.rpm'
      Copying: '/home/olehermanse/.cfengine/cf-remote/packages/cfengine-nova-3.17.0a.da4135060-11038.suse15.x86_64.rpm' to 'ec2-user@34.240.77.93'
      Installing: 'cfengine-nova-3.17.0a.da4135060-11038.suse15.x86_64.rpm' on 'ec2-user@34.240.77.93'
      [ERROR] Installation failed!
      olehermanse@OH-WIN core $ cat docs/test.sh
      #!/usr/bin/env bashset -e
      set -xSCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"cf-remote spawn --platform ubuntu-18-04-x64 --count 1 --name hub --role hub
      cf-remote spawn --platform rhel-7-x64 --count 1 --name rhel7 --role client
      sleep 60
      cf-remote --version master install --demo --bootstrap hub --hub hub
      cf-remote --version master install --demo --bootstrap hub --clients rhel7cf-remote info -H hub
      olehermanse@OH-WIN core $
      

        Attachments

          Activity

            People

            • Assignee:
              olehermanse Ole Herman Schumacher Elgesem
              Reporter:
              olehermanse Ole Herman Schumacher Elgesem
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel