pcp
[Top] [All Lists]

Re: [pcp] Containers analysis with PCP

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Containers analysis with PCP
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Tue, 10 Feb 2015 09:36:27 +1000
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0m7fvr3tem.fsf@xxxxxxxx>
References: <2100915892.5240937.1422867358164.JavaMail.zimbra@xxxxxxxxxx> <768474811.5242777.1422867576642.JavaMail.zimbra@xxxxxxxxxx> <y0m7fvr3tem.fsf@xxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
On 02/10/2015 03:07 AM, Frank Ch. Eigler wrote:
Nathan Scott <nathans@xxxxxxxxxx> writes:

[...]
     http://pcp.io/docs/lab.containers.html

Thank you.  Please don't forget to address earlier review comments in [1].

Also, on my x86-64 fedora21 box running the 3.10.2 build, I still can't get
any pcp client --container ops working, e.g.,

% pmprobe -I --container=compassionate_archimedes  network.interface.up
network.interface.up 4-12366 IPC protocol failure (pmGetInDom)

in pmcd.log, pmcd is shown to die, but no other diagnostics appear:

[Mon Feb  9 12:04:59] pmcd(2152) Error: ClientLoop select: Bad file descriptor
[Mon Feb  9 12:05:00] pmcd(2152) Info: CleanupAgent ...
Cleanup "root" agent (dom 1): terminated, exit(1)

Not working for me either, but I'm getting ENOSUP errors. I'm running
top-of-tree on f19 (3.10.3-1) :

# sudo docker run -it 834629358fe2 /bin/bash
bash-4.3#
bash-4.3# ls -l /proc/$$/ns
total 0
lrwxrwxrwx 1 root root 0 Feb  9 18:17 ipc -> ipc:[4026532510]
lrwxrwxrwx 1 root root 0 Feb  9 18:17 mnt -> mnt:[4026532508]
lrwxrwxrwx 1 root root 0 Feb  9 18:17 net -> net:[4026532513]
lrwxrwxrwx 1 root root 0 Feb  9 18:17 pid -> pid:[4026532511]
lrwxrwxrwx 1 root root 0 Feb  9 18:17 user -> user:[4026531837]
lrwxrwxrwx 1 root root 0 Feb  9 18:17 uts -> uts:[4026532509]

then in another shell :

$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c2a1bd412ad4 fedora:latest /bin/bash 33 minutes ago Up 33 minutes jovial_lovelace

# pminfo -h localhost -f hinv.ncpu

hinv.ncpu
    value 4

# pminfo -h localhost --container c2a1bd412ad4 -f hinv.ncpu
pminfo: Cannot connect to PMCD on host "localhost": Operation not supported
[mgoodwin@fletch pcp]$ pminfo -h localhost --container jovial_lovelace -f 
hinv.ncpu
pminfo: Cannot connect to PMCD on host "localhost": Operation not supported


Also note: after upgrading to pcp-3.10.3 I had to manually Install the
new root PMDA. Should it be auto-installed?

Regards
-- Mark


<Prev in Thread] Current Thread [Next in Thread>