From winfried_mb2@xmsnet.nl Thu Jun 9 08:28:11 2011
From: winfried_mb2@xmsnet.nl
To: autoinstall@lists.opensuse.org
Subject:
[opensuse-autoinstall] Can't get online update to work in autoyast install
Date: Thu, 09 Jun 2011 10:28:09 +0200
Message-ID:
<50760.80.57.192.116.1307608089.squirrel@webmail.xtramediaservices.nl>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7688296201939334166=="
--===============7688296201939334166==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
I'm trying to let autoyast do an online update during installation.
First I tried with
true
but that didn't work. Moreover I read here
http://lists.opensuse.org/opensuse-autoinstall/2009-04/msg00028.html
that if you want to add repositories you should do the update at the end
of the installation.
So now I'm trying to do it in a post-install script (see below), but then
I get the following feedback:
+zypper ar -f http://download.opensuse.org/update/11.4 updates
System management is locked by the application with pid 2579 (y2base).
Close this application before trying again.
+zypper ar -f ftp://download.nvidia.com/opensuse/11.4/ nvidia
System management is locked by the application with pid 2579 (y2base).
Close this application before trying again.
+zypper --non-interactive --gpg-auto-import-keys update
--auto-agree-with-licenses --force-resolution
System management is locked by the application with pid 2579 (y2base).
Close this application before trying again.
So what is the best time to do the update?
Thanks a lot in advance for any help,
Winfried
autoinstall.xml snippet:
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help(a)opensuse.org
--===============7688296201939334166==--
From ug@suse.de Fri Jun 10 11:26:11 2011
From: Uwe Gansert
To: autoinstall@lists.opensuse.org
Subject: Re: [opensuse-autoinstall] Can't get online update to work in
autoyast install
Date: Fri, 10 Jun 2011 13:26:09 +0200
Message-ID: <201106101326.09662.ug@suse.de>
In-Reply-To:
<50760.80.57.192.116.1307608089.squirrel@webmail.xtramediaservices.nl>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8553451765018027992=="
--===============8553451765018027992==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
on Thursday 09 June 2011 winfried_mb2(a)xmsnet.nl wrote:
> I'm trying to let autoyast do an online update during installation.
> First I tried with
>
> true
>
> but that didn't work. Moreover I read here
what SUSE version?
What did not work? Did you see an error message?
> http://lists.opensuse.org/opensuse-autoinstall/2009-04/msg00028.html
>
> that if you want to add repositories you should do the update at the end
> of the installation.
that was true 2 years ago but it should be fixed in the meantime.
> So now I'm trying to do it in a post-install script (see below), but then
> I get the following feedback:
>
> +zypper ar -f http://download.opensuse.org/update/11.4 updates
> System management is locked by the application with pid 2579 (y2base).
> Close this application before trying again.
http://www.suse.de/~ug/AutoYaST_FAQ.html#ac
"1.13 Can I call zypper from scripts?"
> So what is the best time to do the update?
if you do network installations, you can add the update repo as an add-on.
Then the latest RPMs are getting installed in the 1st stage.
do_online_update should work too but then the updates are done in the 2nd
stage. In the 1st stage outdated RPMs might getting installed.
you can do an update with an init-script in the 2nd stage too by a self
written script. When autoyast init-scripts are run, the RPM database is not
locked anymore by yast.
--
ciao, Uwe Gansert
Uwe Gansert
SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net
listening to: "Domination vs. Bound (Mindless Faith)" by Seabound
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help(a)opensuse.org
--===============8553451765018027992==--
From winfried_mb2@xmsnet.nl Fri Jun 10 16:29:15 2011
From: winfried_mb2@xmsnet.nl
To: autoinstall@lists.opensuse.org
Subject: Re: [opensuse-autoinstall] Can't get online update to work in
autoyast install
Date: Fri, 10 Jun 2011 18:29:13 +0200
Message-ID:
<24257.80.57.192.116.1307723353.squirrel@webmail.xtramediaservices.nl>
In-Reply-To: <201106101326.09662.ug@suse.de>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0360654007079634702=="
--===============0360654007079634702==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
>> I'm trying to let autoyast do an online update during installation.
>> First I tried with
>>
>>
>> true
>>
>>
>> but that didn't work. Moreover I read here
>
> what SUSE version? What did not work? Did you see an error message?
>
>
>> http://lists.opensuse.org/opensuse-autoinstall/2009-04/msg00028.html
>>
>>
>> that if you want to add repositories you should do the update at the
>> end of the installation.
>
> that was true 2 years ago but it should be fixed in the meantime.
>
I'm using opensuse 11.4.
Autoyast gives me a pop-up "Error. Could not add add-on product" for each
add-on that I specified. In the y2log file I see:
Exception.cc(log):137 Error code: Connection failed
Exception.cc(log):137 Error message: Couldn't resolve host
'download.opensuse.org'
So that looks similar to the mailing list issue of 2 years ago. I'm doing
an autoyast installation from dvd.
The start of my autoinst.xml where the add-ons are specified:
openSuse-oss
/
openSuse-non-oss
/
nvidia
/
>> So now I'm trying to do it in a post-install script (see below), but
>> then I get the following feedback:
>>
>>
>> +zypper ar -f http://download.opensuse.org/update/11.4 updates
>> System management is locked by the application with pid 2579 (y2base).
>> Close this application before trying again.
>>
>
> http://www.suse.de/~ug/AutoYaST_FAQ.html#ac
> "1.13 Can I call zypper from scripts?"
>
>
>> So what is the best time to do the update?
>>
>
> if you do network installations, you can add the update repo as an
> add-on. Then the latest RPMs are getting installed in the 1st stage.
>
>
> do_online_update should work too but then the updates are done in the 2nd
> stage. In the 1st stage outdated RPMs might getting installed.
>
> you can do an update with an init-script in the 2nd stage too by a self
> written script. When autoyast init-scripts are run, the RPM database is
> not locked anymore by yast.
Yes, after changing post-script into init-script, my update script works.
Thanks a lot for the update.
--=20
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help(a)opensuse.org
--===============0360654007079634702==--
From Thomas.Zimolong@bmi.bund.de Wed Jun 15 16:32:32 2011
From: Thomas.Zimolong@bmi.bund.de
To: autoinstall@lists.opensuse.org
Subject: [opensuse-autoinstall] AutoYaST Partitioning and Alignment
Date: Wed, 15 Jun 2011 18:31:57 +0200
Message-ID:
In-Reply-To: <201106101326.09662.ug@suse.de>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3927761752853583408=="
--===============3927761752853583408==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Hi List!
We use AutoYaST to set up SLES11 servers, both in VMs in an ESX 4.1
environment and on physical servers (HP proliant).
Since we have an ESX cluster, we use shared storage on a SAN.
As I read in some docs and discussions on the web it is recommended to make a
correct alignment when partitioning disks, both for the VMFS's on our SAN and
the guest OS disks (vmdk) and even for the LUNs of the proliant RAID
crontrollers.
Concerning a VMFS on a LUN in our storage the alignment is automatically done
when the VMFS is created by VI client / vCenter.
Concerning other disks (proliant RAID and VMDK) there are only instructions
how to align disks manually before installing - manually.
We know people have different opinions about the necessity of aligning boot
disks rather than data disks.
But despite this discussion, we'd like to know if there's a way to do the
alignment during automatic installation.
According to our profiles AutoYaST [re]creates the needed partitions.
And we think preparing the necessary partitions prior to installing and then
use the existing partitions with AutoYaST is not an option, because we
sometimes "reuse" servers which might have been partitioned with a different
partitioning scheme.
What I read from the doc, there is no parameter for the alignment in the
... tag.
Since alignment is done on an existing partition Pre-Install Scripts are to
early and Postpartitioning Scripts seem to late.
So, are there any other suggestions? Or is this a feature of an upcoming
version?
Maybe someone can tell about his/her everyday practice?
Thanks in advance!
Greetings from Berlin
Thomas Zimolong
Federal Ministry of the Interior
of the Federal Republic of Germany
Z 6 - Server/Client/Storage
Alt-Moabit 101 D
D-10559 Berlin
Fon +49(0)30 18 681 2383
Fax +49(0)30 18 681 -5- 2383
mailto:thomas.zimolong(a)bmi.bund.de
http://bmi.bund.de
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help(a)opensuse.org
--===============3927761752853583408==--