Re: [pve-devel] [PATCH manager v2 1/2] Add a new renderer for displaying dates in a human readable way
While writing the change log I was wondering why you chose a specific format there. Isn't there a way to tell the browser to give you a locale dependent somewhat sane format? Otherwise why care? On Tue, Jan 31, 2017 at 04:48:49PM +0100, Emmanuel Kasper wrote: > render_timestamp returns a Date as > "2017-01-31 16:17:33" > which is good for computers and column sorting but unfit > for human consumption > > the new renderer added by this patch renders a Date as > "Tuesday 31 January 2017 16:18:08" > > Day-month-year order is the most used ordering > in the world and also commonly used in the USA for > official documents. > source: > https://en.wikipedia.org/wiki/Date_and_time_notation_in_the_United_States > https://en.wikipedia.org/wiki/Date_format_by_country > --- > www/manager6/Utils.js | 4 > 1 file changed, 4 insertions(+) > > diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js > index c05a137..148a122 100644 > --- a/www/manager6/Utils.js > +++ b/www/manager6/Utils.js > @@ -913,6 +913,10 @@ Ext.define('PVE.Utils', { utilities: { > return Ext.Date.format(servertime, 'Y-m-d H:i:s'); > }, > > +render_timestamp_human_readable: function(value) { > + return Ext.Date.format(new Date(value * 1000), 'l d F Y H:i:s'); > +}, > + > calculate_mem_usage: function(data) { > if (!Ext.isNumeric(data.mem) || > data.maxmem === 0 || > -- > 2.1.4 ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
[pve-devel] A replacement for gzip?
Hi all, Maybe of interest for vzdump? https://linuxconfig.org/how-to-perform-a-faster-data-compression-with-pbzip2 -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C mir miras org http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 -- This mail was virus scanned and spam checked before delivery. This mail is also DKIM signed. See header dkim-signature. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] A replacement for gzip?
Hello there Nice to hear something about this.. BTW, LZO is also pretty fast, isn't??? 2017-03-13 10:20 GMT-03:00 datanom.net : > Hi all, > > Maybe of interest for vzdump? > https://linuxconfig.org/how-to-perform-a-faster-data-compres > sion-with-pbzip2 > > -- > Hilsen/Regards > Michael Rasmussen > > Get my public GnuPG keys: > michael rasmussen cc > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E > mir datanom net > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C > mir miras org > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 > -- > > > > This mail was virus scanned and spam checked before delivery. > This mail is also DKIM signed. See header dkim-signature. > > ___ > pve-devel mailing list > pve-devel@pve.proxmox.com > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > -- Obrigado Cordialmente Gilberto Ferreira Consultoria em Servidores e Serviços Linux | Virtualização Proxmox | Zentyal Server | Zimbra Mail Server (47) 3025-5907 (47) 99676-7530 Skype: konnectati www.konnectati.com.br ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] A replacement for gzip?
On Mon, Mar 13, 2017 at 10:22:23AM -0300, Gilberto Nunes wrote: > Hello there > Nice to hear something about this.. > > BTW, LZO is also pretty fast, isn't??? > > 2017-03-13 10:20 GMT-03:00 datanom.net : > > > Hi all, > > > > Maybe of interest for vzdump? > > https://linuxconfig.org/how-to-perform-a-faster-data-compres > > sion-with-pbzip2 Before anyone jumps on this with a pbzip2 patch - I wonder if it's better to just deprecate the pigz option and have a generic compress-command option instead... ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
[pve-devel] applied: [PATCH manager] fix ceph.service for Ceph Jewel >= 10.2.6
applied On Thu, Mar 09, 2017 at 10:34:57AM +0100, Fabian Grünbichler wrote: > having our ceph.service pulled in by ceph.target does not > work anymore, because "systemctl start ceph.target" hangs > forever on ceph-common upgrades. multi-user.target seems to > work as well, and we are ordered after pve-cluster anyway. > > only replace the old ceph.service if it is an exact match. > > Signed-off-by: Fabian Grünbichler > --- > Tested using 10.2.5 -> 10.2.6 upgrade, subsequent reboots also work as > expected. > > Unfortunately this update needs to happen before upgrading the Ceph packages, > or > the hanging upgrade needs to be manually interrupted by killing the hanging > systemctl process. > > bin/init.d/ceph.service | 2 +- > debian/postinst | 11 +++ > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/bin/init.d/ceph.service b/bin/init.d/ceph.service > index 623becd..450856e 100644 > --- a/bin/init.d/ceph.service > +++ b/bin/init.d/ceph.service > @@ -8,4 +8,4 @@ ExecStart=/usr/sbin/ceph-disk --log-stdout activate-all > Type=oneshot > > [Install] > -WantedBy=ceph.target > +WantedBy=multi-user.target > diff --git a/debian/postinst b/debian/postinst > index 13fda4c..a3dd583 100755 > --- a/debian/postinst > +++ b/debian/postinst > @@ -79,6 +79,17 @@ EOF > # disable fancy init messages (bad with bootlogd) > test -f /etc/lsb-base-logging.sh || echo "FANCYTTY=0" > >/etc/lsb-base-logging.sh > > +if [ -f /etc/systemd/system/ceph.service ]; then > + md5=$(md5sum /etc/systemd/system/ceph.service) > + if [[ "$md5" == "21b2e7a7c4ffcf92ad0ec2c905e88e5b > /etc/systemd/system/ceph.service" ]]; then > + echo "Updating PVE ceph.service to correct install target.." > + cp /usr/share/doc/pve-manager/examples/ceph.service > /etc/systemd/system/ceph.service > + systemctl --system daemon-reload >/dev/null || true > + systemctl --system disable ceph.service > + systemctl --system enable ceph.service > + echo " done" > + fi > +fi > > systemctl --system daemon-reload >/dev/null || true > > -- > 2.1.4 ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] A replacement for gzip?
+1 for a generic option to choose compression command. On March 13, 2017 2:29:23 PM GMT+01:00, Wolfgang Bumiller wrote: >On Mon, Mar 13, 2017 at 10:22:23AM -0300, Gilberto Nunes wrote: >> Hello there >> Nice to hear something about this.. >> >> BTW, LZO is also pretty fast, isn't??? >> >> 2017-03-13 10:20 GMT-03:00 datanom.net : >> >> > Hi all, >> > >> > Maybe of interest for vzdump? >> > https://linuxconfig.org/how-to-perform-a-faster-data-compres >> > sion-with-pbzip2 > >Before anyone jumps on this with a pbzip2 patch - I wonder if it's >better to just deprecate the pigz option and have a generic >compress-command option instead... > >___ >pve-devel mailing list >pve-devel@pve.proxmox.com >http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
[pve-devel] Cloud-init
Hello there I saw recently, in PVE Roadmap, that Proxmox VE will include Cloud-init. Forgive me to been so newbie, but what Cloud-init stand for?? Can anyone enlighten me? Thanks -- Obrigado Cordialmente Gilberto Ferreira Consultoria em Servidores e Serviços Linux | Virtualização Proxmox | Zentyal Server | Zimbra Mail Server (47) 3025-5907 (47) 99676-7530 Skype: konnectati www.konnectati.com.br ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Cloud-init
Never more! I found out this nice paper: https://blog.nekoconeko.nl/blog/2016/01/02/deploying-cloud-images-on-promox-using-proxmox-deploy.html Thanks any way 2017-03-13 16:03 GMT-03:00 Gilberto Nunes : > Hello there > > I saw recently, in PVE Roadmap, that Proxmox VE will include Cloud-init. > Forgive me to been so newbie, but what Cloud-init stand for?? > Can anyone enlighten me? > > Thanks > > -- > Obrigado > > Cordialmente > > > Gilberto Ferreira > > Consultoria em Servidores e Serviços Linux | Virtualização Proxmox | > Zentyal Server | Zimbra Mail Server > > (47) 3025-5907 > (47) 99676-7530 > > Skype: konnectati > > > www.konnectati.com.br > > > -- Obrigado Cordialmente Gilberto Ferreira Consultoria em Servidores e Serviços Linux | Virtualização Proxmox | Zentyal Server | Zimbra Mail Server (47) 3025-5907 (47) 99676-7530 Skype: konnectati www.konnectati.com.br ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Cloud-init
Also a good idea would be docker-machine support for Proxmox VE. I started a driver for that (docker vocabulary) but I'm no Go programmer, so I lost interest after a few hours of painful slow trial and error cycles. On Mon, Mar 13, 2017 at 8:11 PM, Gilberto Nunes wrote: > Never more! > > I found out this nice paper: > > https://blog.nekoconeko.nl/blog/2016/01/02/deploying- > cloud-images-on-promox-using-proxmox-deploy.html > > Thanks any way > > 2017-03-13 16:03 GMT-03:00 Gilberto Nunes : > > > Hello there > > > > I saw recently, in PVE Roadmap, that Proxmox VE will include Cloud-init. > > Forgive me to been so newbie, but what Cloud-init stand for?? > > Can anyone enlighten me? > > > > Thanks > > > > -- > > Obrigado > > > > Cordialmente > > > > > > Gilberto Ferreira > > > > Consultoria em Servidores e Serviços Linux | Virtualização Proxmox | > > Zentyal Server | Zimbra Mail Server > > > > (47) 3025-5907 > > (47) 99676-7530 > > > > Skype: konnectati > > > > > > www.konnectati.com.br > > > > > > > > > -- > Obrigado > > Cordialmente > > > Gilberto Ferreira > > Consultoria em Servidores e Serviços Linux | Virtualização Proxmox | > Zentyal Server | Zimbra Mail Server > > (47) 3025-5907 > (47) 99676-7530 > > Skype: konnectati > > > www.konnectati.com.br > ___ > pve-devel mailing list > pve-devel@pve.proxmox.com > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel