[Bug 1206194] New: Distro migration name resolution failure
bugzilla_noreply at suse.com
bugzilla_noreply at suse.com
Thu Dec 8 00:15:10 UTC 2022
https://bugzilla.suse.com/show_bug.cgi?id=1206194
Bug ID: 1206194
Summary: Distro migration name resolution failure
Classification: SUSE Linux Enterprise Server
Product: SUSE Linux Enterprise Server 12 SP5 in Public Clouds
Version: BYOS
Hardware: x86-64
OS: SLES 12
Status: NEW
Severity: Normal
Priority: P5 - None
Component: DMS
Assignee: dms-bugs at lists.suse.com
Reporter: kpenrose at suse.com
QA Contact: public-cloud-maintainers at suse.de
Group: novellonly, SUSE Public Cloud
Found By: SUSE Technical Services
Services Priority: 500
Blocker: ---
Tested with multiple images provided by SUSE. Both standard 12sp5 byos and
12sp5 for SAP byos. All instances were registered to SCC. All attempts to
migrate to 15sp1 failed.
To reproduce the problem:
Create a vm instance using one of our images. For example sles-sap-12-sp5-byos.
In my cases I set the "Authentication Type" to a user and password instead of
the key.
Install all updates
zypper up
Reboot after updates installed.
Install migration packages
zypper in suse-migration-sle15-activation SLES15-Migration
Reboot to kick off migration.
Failure reported:
_____________________________________________________
Calling: ['cat', '/etc/resolv.conf']
DNS Resolver
### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf
### autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS
# NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
# NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
### Call "netconfig update -f" to force adjusting of /etc/resolv.conf.
search zuqmzox35guulhwgs1nkmozwke.bx.internal.cloudapp.net
nameserver 168.63.129.16
Running prepare service
Bind mounting /etc/zypp
Calling: ['mount', '--bind', '/system-root/etc/zypp', '/etc/zypp']
Bind mounting /usr/lib/zypp/plugins
Calling: ['mount', '--bind', '/system-root/usr/lib/zypp/plugins/services',
'/usr/lib/zypp/plugins/services']
Calling: ['chroot', '/system-root', 'SUSEConnect', '--list-extensions']
SUSEConnect error: SocketError: getaddrinfo: Temporary failure in name
resolution
System not registered. Aborting migration.
Preparation of zypper metadata failed with System not registered. Aborting
migration.
Running grub setup service
Calling: ['chroot', '/system-root', 'zypper', '--non-interactive',
'--no-gpg-checks', 'remove', 'SLE*-Migration', 'suse-migration-*-activation']
Uninstalling migration:
_____________________________________________________
To fix the problem edit the resolv.conf:
Default /etc/resolv.conf
kpenrose12sp5-migrate:~ # cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS
# NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
# NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
search zuqmzox35guulhwgs1nkmozwke.bx.internal.cloudapp.net
nameserver 168.63.129.16
Removed this line:
### Please remove (at least) this line when you modify the file!
Install migration packages
zypper in suse-migration-sle15-activation SLES15-Migration
Reboot to kick off migration.
Successful migration!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.suse.com/pipermail/dms-bugs/attachments/20221208/c14b46cf/attachment.htm>
More information about the Dms-bugs
mailing list