[OpenIndiana-discuss] Zone install failure
Predrag Zecevic
predrag.zecevic at 2e-systems.com
Tue Nov 9 08:02:47 UTC 2021
Hi all,
I have updated GZ yesterday:
:; uname -rosv
SunOS 5.11 illumos-da0001592a illumos
:; pkg list pkg
NAME (PUBLISHER) VERSION
IFO
package/pkg 0.5.11-2020.0.1.5561
i--
And tried both:
1) pfexec zoneadm -z solarium install
2) LC_ALL=C.UTF-8 pfexec zoneadm -z solarium install
and both has failed with:
...
PHASE ITEMS
Installing new actions 38774/49855Action install
failed for
'etc/certs/CA/NetLock_Arany_(Class_Gold)_F\u0151tan\xfas\xedtv\xe1ny.pem' (pkg://openindiana.org/crypto/ca-certificates):
UnicodeEncodeError: 'ascii' codec can't encode character '\u0151' in
position 69: ordinal not in range(128)
pkg: An unexpected error happened during install: 'ascii' codec can't
encode character '\u0151' in position 69: ordinal not in range(128)
Regards.
P.S: I am stuck now.
On 08.11.2021 16:30, Till Wegmüller wrote:
> Nope that wont work. LC_ALL=C is hardcoded into the zone install scripts
> and wrong. It needs to be `LC_ALL=C.UTF-8` this is a requirement within
> python3
>
> -Till
> On 08.11.21 16:23, Christian Meier wrote:
>> Hi Predrag
>> or you can try the following:
>> export LC_ALL=C
>> and try to install the zone again
>>
>> Best Regards
>> Christian
>>
>> On 08/11/2021 15:59, Till Wegmüller wrote:
>>> Hi Predrag
>>>
>>> Yes you must Update the GZ not the Zone. The GZ needs the patch
>>> installed.
>>>
>>> -Till
>>> On 08.11.21 15:57, Predrag Zečević wrote:
>>>> Hi Till,
>>>>
>>>> so, it is brand new zone, and first installation has failed!
>>>>
>>>> So, how to update to that version?
>>>>
>>>> Shall I update GZ first (which is not case, I am struggling with
>>>> Nvidia driver and waiting with update)?
>>>>
>>>> Regards.
>>>>
>>>> On 11/8/21 3:51 PM, Till Wegmüller wrote:
>>>>> Hi Predrag
>>>>>
>>>>> You will need to uninstall the zone and update to a version that
>>>>> has https://github.com/OpenIndiana/pkg5/pull/93 installed. This
>>>>> landed 4 days ago.
>>>>>
>>>>> -Till
>>>>>
>>>>> On 08.11.21 15:43, Predrag Zečević wrote:
>>>>>> I have created zone (IP addreses mangled):
>>>>>>
>>>>>> :; zonecfg -z solarium export
>>>>>> create -b
>>>>>> set zonepath=/export/Zones/solarium
>>>>>> set brand=nlipkg
>>>>>> set autoboot=false
>>>>>> set ip-type=shared
>>>>>> add net
>>>>>> set address="xxx.xxx.xxx.154/24"
>>>>>> set physical="e1000g0"
>>>>>> set defrouter="xxx.xxx.xxx.254"
>>>>>> end
>>>>>> add device
>>>>>> set match="/dev/vboxdrv"
>>>>>> end
>>>>>> add device
>>>>>> set match="/dev/ip"
>>>>>> end
>>>>>> Then tried to install:
>>>>>> ---8<------
>>>>>> :; pfexec zoneadm -z solarium install
>>>>>> Image: Preparing at /export/Zones/solarium/root.
>>>>>>
>>>>>> Publisher: Using openindiana.org
>>>>>> (https://pkg.openindiana.org/hipster/).
>>>>>> Publisher: Using hipster-encumbered
>>>>>> (https://pkg.openindiana.org/hipster-encumbered/).
>>>>>> Cache: Using /var/pkg/publisher.
>>>>>> Installing: Packages (output follows)
>>>>>> Packages to install: 175
>>>>>> Mediators to change: 7
>>>>>> Services to change: 6
>>>>>>
>>>>>> DOWNLOAD PKGS FILES XFER (MB) SPEED
>>>>>> Completed 175/175 34602/34602
>>>>>> 327.2/327.2 5.4M/s
>>>>>>
>>>>>> PHASE ITEMS
>>>>>> Installing new actions 25402/49855Action install
>>>>>> failed for
>>>>>> 'etc/certs/CA/NetLock_Arany_(Class_Gold)_F\u0151tan\xfas\xedtv\xe1ny.pem'
>>>>>> (pkg://openindiana.org/crypto/ca-certificates):
>>>>>> UnicodeEncodeError: 'ascii' codec can't encode character
>>>>>> '\u0151' in position 69: ordinal not in range(128)
>>>>>> pkg: An unexpected error happened during install: 'ascii' codec
>>>>>> can't encode character '\u0151' in position 69: ordinal not in
>>>>>> range(128)
>>>>>> ERROR: failed to install package
>>>>>>
>>>>>> ---8<------
>>>>>>
>>>>>> and now:
>>>>>>
>>>>>> :; zoneadm list -cv
>>>>>>
>>>>>> ID NAME STATUS PATH BRAND IP
>>>>>> 0 global running / ipkg shared
>>>>>> - solarium incomplete /export/Zones/solarium nlipkg
>>>>>> shared
>>>>>>
>>>>>>
>>>>>> How to proceed (finish zone installation)?
>>>>>>
>>>>>> Thanks and regards.
>>>>>>
>>>>>> --
>>>>>> Predrag Zečević
>>>>>> Operations and Support Analyst
>>>>>> Technical Support Analyst
>>>>>> 2e Systems GmbH
>>>>>>
>>>>>> tel: +49 - 6196 - 95058 - 15
>>>>>> mob: +49 - 174 - 3109288
>>>>>> fax: +49 - 6196 - 95058 - 94
>>>>>> e-mail: predrag.zecevic at 2e-systems.com
>>>>>>
>>>>>> headquarter: 2e Systems GmbH, Koenigsteiner Str. 107, 65812 Bad
>>>>>> Soden am Taunus, Germany
>>>>>> registration: Amtsgericht Koenigstein (Germany), HRB 7303
>>>>>> managing director: Phil Douglas
>>>>>>
>>>>>> http://www.2e-systems.com/ - Making your business fly!
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> openindiana-discuss mailing list
>>>>>> openindiana-discuss at openindiana.org
>>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>>
>>>>> _______________________________________________
>>>>> openindiana-discuss mailing list
>>>>> openindiana-discuss at openindiana.org
>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>
>>>
>>> _______________________________________________
>>> openindiana-discuss mailing list
>>> openindiana-discuss at openindiana.org
>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
--
Predrag Zečević
Operations and Support Analyst
2e Systems GmbH
tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: predrag.zecevic at 2e-systems.com
headquarter: 2e Systems GmbH, Koenigsteiner Str. 107, 65812 Bad Soden am
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas
http://www.2e-systems.com/ - Making your business fly!
More information about the openindiana-discuss
mailing list