[2.3, snap] Installing from the snap shows a lot of warnings

Bug #1708223 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
High
Данило Шеган

Bug Description

roaksoax@rivals:~/project/maas⟫ sudo maas init
Mode (all/region+rack/region/rack/noneall/region+rack/region/rack/none) [default=all]? all
MAAS URL [default=http://192.168.1.1:5240/MAAS]: http://192.168.122.1:5240/MAAS
Create first admin account:
System check identified some issues:

WARNINGS:
?: (urls.W002) Your URL pattern '^/*' [name='metadata'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/by-id/(?P<system_id>[\w\-]+)/$' [name='metadata-node-by-id'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/by-mac/(?P<mac>[^/]+)/meta-data/(?P<item>.*)$' [name='metadata-meta-data-by-mac'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/by-mac/(?P<mac>[^/]+)/user-data$' [name='metadata-user-data-by-mac'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/enlist-preseed/$' [name='metadata-enlist-preseed'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/maas-commissioning-scripts' [name='commissioning-scripts'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/maas-scripts' [name='maas-scripts'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/meta-data/(?P<item>.*)$' [name='metadata-meta-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/user-data$' [name='metadata-user-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*curtin/(?P<version>[^/]+)/meta-data/(?P<item>.*)$' [name='curtin-metadata-meta-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*curtin/(?P<version>[^/]+)/user-data$' [name='curtin-metadata-user-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*curtin[/]*$' [name='curtin-metadata'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*enlist/(?P<version>[^/]+)/meta-data/(?P<item>.*)$' [name='enlist-metadata-meta-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*enlist/(?P<version>[^/]+)/user-data$' [name='enlist-metadata-user-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*enlist/(?P<version>[^/]+)[/]*$' [name='enlist-version'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*enlist[/]*$' [name='enlist'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
Username: admin
Password:
Again:
Email: <email address hidden>
Import SSH keys [] (lp:user-id or gh:user-id): andreserl
SSH import protocol was not entered. Using Launchpad protocol (default).

Changed in maas:
milestone: none → 2.3.0
assignee: nobody → Данило Шеган (danilo)
importance: Undecided → Critical
status: New → Triaged
importance: Critical → High
summary: - [2.3] Installing from the snap shows a lot of warnings
+ [2.3, snap] Installing from the snap shows a lot of warnings
Revision history for this message
Данило Шеган (danilo) wrote :

This is most likely a duplicate of bug #1705504: I'll wait for it to land (hit conflicts then lint issues after resolving those), and then double check, but I've specifically fixed the URL patterns to avoid this warning.

Revision history for this message
Данило Шеган (danilo) wrote :

Indeed, the fix for above bug fixes this as well. Marked as a duplicate.

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.