Skip to main content

CPanel Elevate on Google Cloud Compute Engine

Comments

13 comments

  • cPRex Jurassic Moderator
    Hey there! That sounds like a solid plan. I don't personally have experience with trying ELevate on GCP, so I'll leave this marked as new for a bit to see if other users can share their experiences.
    0
  • RayJ
    Many thanks! Sorry for the late response. I could not get to the upgrade until today. It seemed to work fine. Accept that I could not reinstall these three packages. google-compute-engine python-google-compute-engine google-compute-engine-oslogin I suspect that they are important. Here is the result of dnf install google-compute-engine Last metadata expiration check: 0:01:37 ago on Fri 03 Mar 2023 09:35:54 AM UTC. Error: Problem: package google-compute-engine-1:20190916.00-g2.el7.noarch requires python-google-compute-engine >= 1:20190916.00, but none of the providers can be installed - conflicting requests - nothing provides python-setuptools needed by python-google-compute-engine-1:20191210.00-g1.el7.noarch - nothing provides /usr/bin/python needed by python-google-compute-engine-1:20191210.00-g1.el7.noarch - nothing provides python-boto needed by python-google-compute-engine-1:20191210.00-g1.el7.noarch (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Hoping that someone knows a workaround.
    0
  • cPRex Jurassic Moderator
    It sounds like you may be missing the necessary repository to install that tool. The closest match I have on my AlmaLinux 8 machine is the platform-pythong-setuptools package, which is provided by the baseos repository. It might be best to work through their guide on this here to ensure those are setup properly: Getting started with Python on Compute Engine | Google Cloud
    0
  • Harwer
    Hi, I just got this same message. * 2023-08-13 23:34:51 [WARN] Your system is not up to date please run: /usr/bin/yum update * 2023-08-13 23:34:51 [WARN] *** Elevation Blocker detected: *** System is not up to date * 2023-08-13 23:35:25 [ERROR] 5 package(s) installed from unsupported YUM repo 'google-compute-engine' from /etc/yum.repos.d/google-cloud.repo * 2023-08-13 23:35:25 [ERROR] 1 package(s) installed from unsupported YUM repo 'google-cloud-sdk' from /etc/yum.repos.d/google-cloud.repo * 2023-08-13 23:35:25 [ERROR] 1 package(s) installed from unsupported YUM repo 'google-cloud-ops-agent' from /etc/yum.repos.d/google-cloud-ops-agent.repo * 2023-08-13 23:35:25 [WARN] *** Elevation Blocker detected: *** One or more enabled YUM repo are currently unsupported and have installed packages. You should disable these repositories and remove packages installed from them before continuing the update. Is there already a solution for this error?
    0
  • cPRex Jurassic Moderator
    @Harwer - I believe the solution is included in that text snippet you posted :D. You'll have to remove those packages and disable the repositories as they can cause issues with the ELevate tool.
    0
  • saffa
    @Harwer - I believe the solution is included in that text snippet you posted :D. You'll have to remove those packages and disable the repositories as they can cause issues with the ELevate tool.

    That is not a valid response for GCP. I have the same issue and the repos required by Google Cloud so if you could please provide support as to how to process the upgrade without totally breaking the GCP VM instance install that would be awesome. * 2023-09-03 15:35:13 [ERROR] 4 package(s) installed from unsupported YUM repo 'google-cloud-compute' from /etc/yum.repos.d/google-cloud.repo * 2023-09-03 15:35:13 [ERROR] 1 package(s) installed from unsupported YUM repo 'google-cloud-sdk' from /etc/yum.repos.d/google-cloud.repo * 2023-09-03 15:35:13 [ERROR] 1 package(s) installed from unsupported YUM repo 'google-cloud-monitoring' from /etc/yum.repos.d/google-cloud-monitoring.repo * 2023-09-03 15:35:13 [ERROR] 2 package(s) installed from unsupported YUM repo 'google-cloud-logging' from /etc/yum.repos.d/google-cloud-logging.repo * 2023-09-03 15:35:13 [ERROR] 1 package(s) installed from unsupported YUM repo 'elrepo' from /etc/yum.repos.d/elrepo.repo * 2023-09-03 15:35:13 [WARN] *** Elevation Blocker detected: *** One or more enabled YUM repo are currently unsupported and have installed packages. You should disable these repositories and remove package The reality is after disabling/removing those you won't be able to SSH in tot he server or anything as GCP will be disconnected from the OS, right?
    0
  • cPRex Jurassic Moderator
    Let me see what the team has to say. It could also be that it's just not possible to upgrade that environment, but I'll let you know what I find out!
    0
  • cPRex Jurassic Moderator
    I did confirm with the team that if it's not possible to remove those packages, you won't be able to run ELevate in that environment.
    0
  • Preeya

    Any update on the above issue ?

    0
  • cPRex Jurassic Moderator

    Preeya - are you still getting notified about the same package when running the --check?

    0
  • Preeya

    Yes. Similar

    Below are the errors:

    ---

    * 2024-05-18 08:21:10 [ERROR] 5 package(s) installed from unsupported YUM repo 'google-compute-engine' from /etc/yum.repos.d/google-cloud.repo
    * 2024-05-18 08:21:10 [ERROR] 1 package(s) installed from unsupported YUM repo 'google-cloud-sdk' from /etc/yum.repos.d/google-cloud.repo

    0
  • RayJ

    Apologies for not following up sooner.

    I never did figure out a solution.

    But since the server seems to run fine without these packages:

    google-compute-engine

    python-google-compute-engine

    and

    google-compute-engine-oslogin

    I just left it as it.

    I have not noticed any issues.

     

    0
  • Preeya

    Hey. Thanks for the Info. I will try and see now.

    0

Please sign in to leave a comment.