XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    CoreOS/Fedora Guest Tool Not working

    Scheduled Pinned Locked Moved Compute
    6 Posts 3 Posters 532 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • enes.selcukE Offline
      enes.selcuk
      last edited by

      Hello,

      I installed the rpm package in the guest tool .iso file, but it does not work on startup. It gives failed error. I would like your help on how to install it.

      Red Hat Enterprise Linux CoreOS release 4.14

      AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
      • AtaxyaNetworkA Offline
        AtaxyaNetwork Ambassador @enes.selcuk
        last edited by

        @enes-selcuk Hi !

        Can you show us the error please ?

        enes.selcukE 1 Reply Last reply Reply Quote 0
        • enes.selcukE Offline
          enes.selcuk @AtaxyaNetwork
          last edited by

          @AtaxyaNetwork

          sudo rpm -i xe-guest-utilities-7.20.0-9.x86_64.rpm
          error: can't create transaction lock on /usr/share/rpm/.rpm.lock (Read-only file system)

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            DustinB @enes.selcuk
            last edited by

            @enes-selcuk can you not use your package manager to install the tools directly?

            yum install xe-guest-utilities-latest
            

            The service is not enabled by default, so enable it and start it:

            systemctl enable xe-linux-distribution
            systemctl start xe-linux-distribution
            
            enes.selcukE 1 Reply Last reply Reply Quote 0
            • enes.selcukE Offline
              enes.selcuk @DustinB
              last edited by olivierlambert

              @DustinB

              I did the following but the problem persists.

              sudo mount -o ro /dev/sr0 /mnt
              sudo rpm-ostree install /mnt/Linux/*.x86_64.rpm
              sudo cp -f /mnt/Linux/xen-vcpu-hotplug.rules /etc/udev/rules.d/
              sudo cp -f /mnt/Linux/xe-linux-distribution.service /etc/systemd/system/
              sudo sed 's/share\/oem\/xs/sbin/g' -i /etc/systemd/system/xe-linux-distribution.service
              sudo systemctl daemon-reload
              sudo systemctl enable /etc/systemd/system/xe-linux-distribution.service
              sudo umount /mnt
              sudo systemctl reboot
              
              
              ERROR:
              [root@openshift-Linux]# systemctl start xe-linux-distribution.service
              Job for xe-linux-distribution.service failed because the control process exited with error code.
              See "systemctl status xe-linux-distribution.service" and "journalctl -xeu xe-linux-distribution.service" for details.
              Configuration file /etc/systemd/system/xe-linux-distribution.service is marked executable. Please remove executable permission bits. Proceeding anyway.
              Failed to start Linux Guest Agent.
              xe-linux-distribution.service: Failed with result 'exit-code'.
              xe-linux-distribution.service: Control process exited, code=exited, status=1/FAILURE
              

              I tried the following permission and it still didn't work.

              chmod 644 /etc/systemd/system/xe-linux-distribution.service
              
              1 Reply Last reply Reply Quote 0
              • enes.selcukE Offline
                enes.selcuk
                last edited by enes.selcuk

                I get the following error. can you help me.@AtaxyaNetwork @DustinB
                xe-linux-distribution.service: Control process exited, code=exited status=203
                xe-linux-distribution.service: Failed at step EXEC spawning /usr/sbin/xe-linux-distribution: No such file or directory
                xe-linux-distribution.service: Failed to execute command: No such file or directory

                $ cp xe-linux-distribution /usr/sbin/
                cp: cannot create regular file '/usr/sbin/xe-linux-distribution': Read-only file system

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post