Bonjour,

Serveur upgradé ce matin.

Pour info (nous avons le repo TIS sur Debian), j'ai simplement effectué un apt-get update et un apt-get upgrade :

Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  tis-waptserver
The following packages will be upgraded:
  dpkg krb5-locales libcupsfilters1 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libpng12-0 linux-image-3.16.0-4-686-pae linux-libc-dev tis-waptrepo tis-waptsetup
  unzip
13 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 62.1 MB/66.1 MB of archives.
After this operation, 31.7 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  tis-waptrepo tis-waptsetup
Install these packages without verification? [y/N] y


[bla bla bla..]

Setting up tis-waptrepo (1.3.4) ...
103
wapt user already exists, skipping user creation
Creating wapt root directory


[bla bla bla..]

2015-12-03 08:54:39,596 INFO Writing new /var/www/wapt/Packages
2015-12-03 08:54:39,599 INFO Finished
Setting up tis-waptsetup (1.3.4) ...


Et la, pas de wapt-serverpostconf et le serveur reste en 1.3.3


En récupérant les .deb et en faisant le dpkg -i tis-wapt*.deb on remarque qu'il manque une dépendance:

dpkg: dependency problems prevent configuration of tis-waptserver:
 tis-waptserver depends on python-netifaces; however:
  Package python-netifaces is not installed.

dpkg: error processing package tis-waptserver (--install):
 dependency problems - leaving unconfigured


Après l'installation de la dépendance manquante (apt-get install python-netifaces), le wapt-server s'installe correctement.







Le 27/11/2015 12:37, Hubert TOUVET a écrit :

Changes 1.2.3 -> 1.3.4-rc2

Setuphelpers :

Additional functions :
Changes :

Core

Waptconsole


Waptservice


Waptupgrade

Wapt-get


Waptserver

RPM package for waptserver on centos
use huey task pool in waptserver instead of uwsgi for portability
Fix waptserverpostconf not able to restart local waptservice properly

Global

python upgraded to 2.7.10
many libraries upgraded (openssl, m2crypto, flask, psutils, etc...)

Upgrade from 1.2.3

Linux server upgrade
With a server on Linux :
ssh on waptserver
cd
wget http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptrepo-1.3.4.deb
wget http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptserver-1.3.4.deb
wget http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptsetup-1.3.4.deb
dpkg -i tis-wapt*.deb
apt-get -f install
wapt-serverpostconf
-> default answer to all questions.

Windows server upgrade

Download http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/waptserversetup.exe
Install with admin rights.
Launch server postconfiguration (obviously, don't recreate a new new private key...)
Don't create waptagent from waptserverpostconf but use waptconsole option which provide waptagent and waptupgrade package. waptserverpostconf creates only the waptagent.

Wapt management host upgrade

on the wapt manage workstation (where the private key is defined)
download http://wapt/wapt/waptsetup-tis.exe from waptserver
install with default options

Build clients upgrade package

launch c:\wapt\waptconsole
tools/Build waptagent
 -> build the waptagent.exe and xxx-waptupgrade.wapt package and uplaod them to wapt server.

include the built xxx-waptupgrade package in your base group package or as a dependency of all host packages
trigger upgrade on hosts

GPO update

copy waptdeploy.exe to the gp
modify your waptdeploy GPO to include --hash= with the hash defined in c:\wapt\waptupgrade\waptagent.sha256 and a --wait=15 for example.
\\srvads\netlogon\waptdeploy.exe --hash=5b5988012033e534b5352050bff7dece4840456225787b39dc1d00dfb9e75cd8
(you can get this on linux too with the command "sha256sum /var/www/wapt/waptagent.exe" )

Pyscripter development / debug

The tis-python27 package no longer includes all the libraries of Wapt.
So you need to add a site-package dir to python init of Pyscripter to be able to debug using Pyscripter.
(seehttp://dev.tranquil.it/wiki/WAPT_-_Mise_en_place_de_l%27environnement_de_d%C3%A9veloppement)

In PyScripter, Option Tools / Edit startup scripts, update file  python_init.py with lines :

import site
site.addsitedir('c:/wapt/lib/site-packages')






_______________________________________________
WAPT mailing list
WAPT@lists.tranquil.it
http://lists.tranquil.it/listinfo/wapt