Re: [smartos-discuss] Note to help installs

2017-04-13 Thread Nahum Shalman
Looks like a small step in the right direction landed and is in the current
release:
https://github.com/joyent/smartos-live/commit/457eeeb#diff-02843e11b99b4466766211737b6c2cb6R787

(Thanks Robert!)

-Nahum

On Fri, Mar 17, 2017 at 6:12 PM, Steve  wrote:

> On 03/17/2017 17:30, Nahum Shalman wrote:
> > Which brings me back to my original question. Do you think if instead of:
> >
> > Please manually create/import a zpool named zones.
> >
> > It said:
> >
> > Please manually create/import a zpool named 'zones'.
> >
> > That the quotation marks would have drawn your attention a bit more?
> >
> > The fact that you missed it might be a sign of a small UX problem that
> > is both real and addressable.
> 
> Sure. If it was me I probably would have said something like:
> 
> VITAL! Ensure a zpool zone called 'zones' is created/imported.
> 
> or
> 
> IMPORTANT! A zpool named 'zones' must be created/imported.
> 
> I like putting the priority first to highlight the importance. Makes it
> harder to miss. Had I fumbled onto a line like that I'd probably get it
> in spite of the cloud of confusion I was in at the time.
> 
> --
> Steve
> 



---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


[smartos-discuss] SmartOS release-20170413

2017-04-13 Thread Trent Mick
Hello All,

The latest bi-weekly "release" branch build of SmartOS is up:

curl -C - -O
https://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos-latest.iso
curl -C - -O
https://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos-latest-USB.img.bz2
curl -C - -O
https://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos-latest.vmwarevm.tar.bz2

A generated changelog is here:


https://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos.html#20170413T062226Z

The full build bits directory, for those interested, is here in Manta:

/Joyent_Dev/public/SmartOS/20170413T062226Z


# Highlights

- Support for NVMe 1.2 device and NVMe namespaces with an EUI64.
- Support for HBA mode for HP Generation 9 systems.


# General Info

Every second Thursday we roll a "release-MMDD" release branch and
builds for SmartOS (and Triton DataCenter and Manta, as well).

Cheers,
Trent, on behalf of the SmartOS developers
https://smartos.org



---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


RE: [smartos-discuss] rotate-kvm-log

2017-04-13 Thread Fred Liu
> 
> Hi Fred,
> 
> That'll only be true if the KVM VM is never booted. Whenever it is booted, the
> file will be non-empty until it is rotated since there are always messages
> written to the log when a KVM VM boots.
> 

 All of my KVM VMs are definitely running now.  I think
It came from the 'copytruncate' by "logadm -c". Once rotate-kvm-logs.sh ends,
all the non-empty vm.log files are rotating into "/var/log/sdc/upload/qemu-xxx".
And if rotate-kvm-log.sh runs again, no new entry will be generated.

 
> 
> 
>   Plus, I also notice that there is logadm invocation during "vmadm 
> create"
> in lines from #625 to #641 of source
> (https://github.com/joyent/smartos-live/blob/64998c0b5a7c33287eb7dd118fef
> 4aea42e5a6f3/src/vm/sbin/vmadmd.js#L625
>  f4aea42e5a6f3/src/vm/sbin/vmadmd.js#L625> ) --
> 
> 
> 
> 
> You're right. I had forgotten about this code in vmadmd. I had looked only at
> vmadm.
> 
> I don't see how this changes anything though. Because it's still the
> rotate-kvm-logs.sh that it's calling to do the rotation. The same thing would
> have happened at the first cron execution after this if vmadmd didn't do it.
> 
> Since it seems that fixing the bug in logadm that causes this problem might be
> a while still in coming, I will look into the prospect of adding a workaround 
> that
> runs:
> 
> logadm -r /zones//root/tmp/vm.log
> 
> when deleting a KVM VM, or in the rotate-kvm-logs.sh itself when it sees a VM
> no longer exists. I've filed https://smartos.org/bugview/OS-6053 to look into
> this.

From my side, the intuitive and direct way is removing the entry by "vmadm 
destroy".
We can also add the similar cose in vmadmd source.


Thanks.

Fred


---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com