When will Ubuntu 18.04 LTS be supported by the monitoring agent?

856 views
Skip to first unread message

Chris McCauley

unread,
Apr 27, 2018, 12:01:06 PM4/27/18
to Google Stackdriver Discussion Forum
The 18.04 LTS image is an option for new instances but the stackdriver agent doesn't support it yet.  Has anyone heard when that will happen?  Running it at present throws an error ...


==============================================================================
Starting installation of stackdriver-agent
==============================================================================

Installing agent for Debian or Ubuntu.
OK
E: The repository 'http://packages.cloud.google.com/apt google-cloud-monitoring-bionic Release' does not have a Release file.
Could not update apt repositories.
Please check your network connectivity and
make sure you are running a supported Ubuntu/Debian distribution.

Theodoor van Donge

unread,
Jun 18, 2018, 2:39:36 PM6/18/18
to Google Stackdriver Discussion Forum
What is the status of this issue? I have the same issue on Ubuntu 18.04 LTS. 


Op vrijdag 27 april 2018 18:01:06 UTC+2 schreef Chris McCauley:

s...@anywhere.co

unread,
Sep 15, 2018, 4:43:36 AM9/15/18
to Google Stackdriver Discussion Forum
stack driver agent not supporting the ubuntu 18.04 LTS yet, and there is no ETA where this will be available..

Dylan Northrup

unread,
Jan 4, 2021, 8:42:22 PM1/4/21
to Google Stackdriver Discussion Forum
Given 18.04 LTS will be around for a while, but version 5 of the stackdriver Agent is slated to be decommissioned April 28, 2021 (per https://cloud.google.com/stackdriver/docs/deprecations/mon-agent), the need to answer this question is fast becoming a serious one. 

Igor Peshansky

unread,
Jan 7, 2021, 12:59:50 AM1/7/21
to Dylan Northrup, Google Stackdriver Discussion Forum
Sorry for not following up on this thread. Ubuntu 18.04 Bionic has been supported by the monitoring agent since February 2019. The new major version of the monitoring agent, 6.x.x, also supports Bionic.
        Igor

--
© 2020 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/ca0e1356-beaf-4b9b-b758-7efb84beb487n%40googlegroups.com.

Dylan Northrup

unread,
Jan 7, 2021, 7:52:55 AM1/7/21
to Igor Peshansky, Google Stackdriver Discussion Forum
Igor,

Thanks for the update. I see the version at packages.cloud.google.com in the bionic repository is still 5.5.2-1002.bionic. Do you know (or know the right folks to ask) if that will get updated any time soon?  I ask because simply updating the repo file in apt.sources.d to point at the focal repository does not work given the vocal binary relies on libc6 >= 2.29 while 18.04 provides version 2.27-3ubuntu1.4 of libc6.

For reference, here's output from an 18.04 box this morning.

[~]  constructicon-1804> sudo apt search stackdriver-agent
Sorting... Done
Full Text Search... Done
stackdriver-agent/google-cloud-monitoring-bionic,now 5.5.2-1002.bionic amd64 [installed]
  Stackdriver system metrics collection daemon

[~]  constructicon-1804> sudo apt update -y
[...REPO LIST DELETED FOR BREVITY...]
Fetched 6966 kB in 2s (4464 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
[~] [12:38:36] constructicon-1804> more /etc/apt/sources.list.d/packages_cloud_google_com_apt.list
deb http://packages.cloud.google.com/apt google-cloud-monitoring-bionic main
[~] [12:38:42] constructicon-1804> sudo apt search stackdriver-agent
Sorting... Done
Full Text Search... Done
stackdriver-agent/google-cloud-monitoring-bionic,now 5.5.2-1002.bionic amd64 [installed]
  Stackdriver system metrics collection daemon

[~]  constructicon-1804> sudo vi /etc/apt/sources.list.d/packages_cloud_google_com_apt.list
[~]  constructicon-1804> more /etc/apt/sources.list.d/packages_cloud_google_com_apt.list
deb http://packages.cloud.google.com/apt google-cloud-monitoring-focal main
[~]  constructicon-1804> sudo apt update -y && sudo apt search stackdriver-agent && sudo apt install stackdriver-agent
[...REPO LIST ELIDED AGAIN...]
Reading package lists... Done
Building dependency tree
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
Sorting... Done
Full Text Search... Done
stackdriver-agent/google-cloud-monitoring-focal 6.1.0-1.focal amd64 [upgradable from: 5.5.2-1002.bionic]
  Stackdriver system metrics collection daemon

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 stackdriver-agent : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.4 is to be installed
E: Unable to correct problems, you have held broken packages.
[~]  constructicon-1804>


--
Dylan Northrup
Tock Site Reliability Engineer

Igor Peshansky

unread,
Jan 7, 2021, 7:21:18 PM1/7/21
to Dylan Northrup, Google Stackdriver Discussion Forum
Right, the focal package won't work on bionic, because it references the dependencies from a later Ubuntu version.

Your repo is pointing at google-cloud-monitoring-bionic, which is pinned at version 5.x for backward compatibility. If you used the latest installation instructions at https://cloud.google.com/monitoring/agent/installation, you would get the right repo. However, the name of your sources list file (packages_cloud_google_com_apt.list) indicates that you didn't use the installation script we supplied, but rather added the repo manually, so you should be able to just replace google-cloud-monitoring-bionic with google-cloud-monitoring-bionic-all, which will give you the latest agent versions for bionic.
        Igor

Dylan Northrup

unread,
Jan 8, 2021, 5:58:21 PM1/8/21
to Igor Peshansky, Google Stackdriver Discussion Forum
Excellent! This is working for me as expected. Thank you very much, Igor!
Reply all
Reply to author
Forward
0 new messages