Dear all,
i’ve a SLES12SP3 in a remote datacenter and i need create a Live CD/DVD in order to clone that server on a local datacenter.
After read some documentation i’m trying doing that .iso with Kiwi.
First i must say that my skills on SLES are not expert !!!
So, i downloaded and installed Kiwi packages and trying to do .iso,
I simply downloaded packages and don’t adjust nothing on config.xml
When run and try built .iso i have an error saying:
[INDENT]sistem:/usr/share/kiwi/image/suse-SLE12-community-JeOS # kiwi --build /usr/share/kiwi/image/suse-SLE12-community-JeOS -d /tmp/IBMSRV --type iso
Apr-14 08:59:16 <3> : setBuildType: no type configuration exists for the given type ‘iso’ in the current active profiles. failed
Apr-14 08:59:16 <1> : Description provides no MD5 hash, check
Apr-14 08:59:16 <1> : Reading image description [Prepare]…
Apr-14 08:59:16 <3> : setBuildType: no type configuration exists for the given type ‘iso’ in the current active profiles. failed
Apr-14 08:59:16 <1> : Setting up package manager: zypper done
Apr-14 08:59:16 <1> : Setting up source channel:
Apr-14 08:59:16 <1> : → obs://SUSE:SLE-12:GA/standard
Apr-14 08:59:17 <2> : Couldn’t resolve opensuse URL: obs://SUSE:SLE-12:GA/standard skipped
Apr-14 08:59:17 <1> : Removing old root directory ‘/tmp/IBMSRV/build/image-root’
Apr-14 08:59:17 <1> : Set root log: /tmp/IBMSRV/build/image-root.13736.screenrc.log… done
Apr-14 08:59:17 <1> : Setting RPM doc exclusion to: true done
Apr-14 08:59:17 <1> : Creating default template files for new root system done
Apr-14 08:59:18 <1> : Importing build keys… done
Apr-14 08:59:18 <1> : Adding bootstrap zypper service: obsGDN__SUSE:SLE-12:GA_standard done
Apr-14 08:59:18 <1> : Initializing image system on: /tmp/IBMSRV/build/image-root failed
- export PBL_SKIP_BOOT_TEST=1
- PBL_SKIP_BOOT_TEST=1
- trap clean INT TERM
- export ZYPP_MODALIAS_SYSFS=/tmp
- ZYPP_MODALIAS_SYSFS=/tmp
- export YAST_IS_RUNNING=true
- YAST_IS_RUNNING=true
- export ZYPP_CONF=/tmp/IBMSRV/build/image-root//var/cache/kiwi/zypper/zypp.conf.13736
- ZYPP_CONF=/tmp/IBMSRV/build/image-root//var/cache/kiwi/zypper/zypp.conf.13736
- export ZYPP_LOCKFILE_ROOT=/tmp/IBMSRV/build/image-root
- ZYPP_LOCKFILE_ROOT=/tmp/IBMSRV/build/image-root
- mkdir -p /tmp/IBMSRV/build/image-root/etc/zypp
- SPID=13889
- wait 13889
- /usr/bin/zypper --non-interactive --pkg-cache-dir /var/cache/kiwi/packages --reposd-dir /tmp/IBMSRV/build/image-root//var/cache/kiwi/zypper/repos --solv-cache-dir /tmp/IBMSRV/build/image-root//var/cache/kiwi/zypper/solv --cache-dir /tmp/IBMSRV/build/image-root//var/cache/kiwi/zypper --config /var/cache/kiwi/zypper/zypper.conf.13736 --no-gpg-checks --root /tmp/IBMSRV/build/image-root install --auto-agree-with-licenses --no-recommends cracklib-dict-full filesystem glibc-locale zypper
Repository ‘obsGDN__SUSE:SLE-12:GA_standard’ is invalid.
[obsGDN__SUSE:SLE-12:GA_standard|https://download.opensuse.org/repositories/SUSE:/SLE-12:/GA/standard] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Problem loading data from ‘obsGDN__SUSE:SLE-12:GA_standard’
Resolvables from ‘obsGDN__SUSE:SLE-12:GA_standard’ not loaded because of error.
No provider of ‘cracklib-dict-full’ found.
No provider of ‘filesystem’ found.
No provider of ‘glibc-locale’ found.
No provider of ‘zypper’ found. - ECODE=104
- echo 104
- exit 104
Apr-14 08:59:19 <3> : Base initialization failed failed
Apr-14 08:59:19 <1> : Closing session with ecode: 1
Apr-14 08:59:19 <3> : KIWI exited with error(s)
Apr-14 08:59:19 <1> : Complete logfile at: /tmp/IBMSRV/build/image-root.log[/INDENT]
It seems problem is related to a repository.
In config.xml is configured
[INDENT][INDENT]
Is this config ok ?
can someone help me with this ?
Should i change this line on config.xml ?
Kind Regards
Jorge