landscape-client does not attach to Azure subscription and on-prem Landscape

Bug #2033277 reported by Kering Eyewear
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
landscape-client (Ubuntu)
Confirmed
Undecided
Mitch Burton

Bug Description

Dear team,

after re-installing Landscape on-prem every VM in Azure gets counted in the 10 licenses available instead of getting the license from the Azure Pro subscription.

admin@kazlandtstld01:~$ pro status --all
SERVICE ENTITLED STATUS DESCRIPTION
cc-eal yes n/a Common Criteria EAL2 Provisioning Packages
esm-apps yes enabled Expanded Security Maintenance for Applications
esm-infra yes enabled Expanded Security Maintenance for Infrastructure
fips yes n/a NIST-certified core packages
fips-updates yes n/a NIST-certified core packages with priority security updates
livepatch yes enabled Canonical Livepatch service
usg yes disabled Security compliance and audit tools

Enable services with: pro enable <service>

                Account: b6a3c967-9e9a-41ac-85b8-4265b46b1587
           Subscription: b6a3c967-9e9a-41ac-85b8-4265b46b1587
            Valid until: Fri Dec 31 00:00:00 9999 UTC
Technical support level: essential

Please see attached screenshots from the landscape instance

BR
Francesco

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: landscape-client 19.12-0ubuntu13
ProcVersionSignature: User Name 5.15.0-1039.46-azure 5.15.98
Uname: Linux 5.15.0-1039-azure x86_64
NonfreeKernelModules: lkp_Ubuntu_5_15_0_1039_46_azure_96
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Aug 28 10:54:10 2023
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: landscape-client
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kering Eyewear (keringeyewear) wrote :
Revision history for this message
Mitch Burton (mitchburton) wrote (last edit ):

I believe this issue will be addressed by LP: #2006402. You can test if version 23 of landscape-client resolves the issue by installing it from this PPA: https://launchpad.net/~landscape/+archive/ubuntu/self-hosted-23.03

Changed in landscape-client (Ubuntu):
status: New → Confirmed
assignee: nobody → Mitch Burton (mitchburton)
Revision history for this message
Kering Eyewear (keringeyewear) wrote :

Dear Mitch,

thank you a lot for your feedback.
landscape-client version on my server is already on 23.02 without the need of that repository.

admin@KAZZIANEULP01:~$ landscape-client --version
23.02+git6277-0ubuntu0

admin@KAZZIANEULP01:~$ sudo apt show landscape-client -a
Package: landscape-client
Version: 23.02+git6277-0ubuntu0
Status: install ok installed
Priority: optional
Section: admin
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Landscape Team <email address hidden>
Installed-Size: 614 kB
Depends: python3:any (>= 3.3.2-2~), debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.8), landscape-common (= 23.02+git6277-0ubuntu0), python3-pycurl
Homepage: https://github.com/CanonicalLtd/landscape-client
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Landscape administration system client
 Landscape is a web-based tool for managing Ubuntu systems. This
 package is necessary if you want your machine to be managed in a
 Landscape account.
 .
 This package provides the Landscape client and requires a Landscape account.

Package: landscape-client
Version: 19.12-0ubuntu13
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Landscape Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 596 kB
Depends: python3:any, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), landscape-common (= 19.12-0ubuntu13), python3-pycurl
Homepage: https://github.com/CanonicalLtd/landscape-client
Download-Size: 110 kB
APT-Sources: http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Description: Landscape administration system client
 Landscape is a web-based tool for managing Ubuntu systems. This
 package is necessary if you want your machine to be managed in a
 Landscape account.
 .
 This package provides the Landscape client and requires a Landscape account.

Revision history for this message
Mitch Burton (mitchburton) wrote :

Thanks for the additional information. When you say "server" do you mean the host where landscape-server is running, or the VM hosts that are not showing their Ubuntu Pro status?

It should be version >=23 of landscape-client in both cases (the landscape-server host and the VMs).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.