钧友 杨 | 12 Aug 08:43 2010
Picon

ask about some questions about beaker

Hi,
 
           I am an intel staff and want to use beaker for our machine management.I met following two questions and wanted to ask you about it:
 
          1.There is no beaker.repo file provided,can you give me one?
          2.There is no user guide document provided , when will it be available?
 
                                                                                                                                                  Thanks,
                                                                                                                                                  Junyou


 
Kevin Baker | 12 Aug 18:24 2010
Picon

Re: ask about some questions about beaker

On Thu, Aug 12, 2010 at 02:43:35PM +0800, 钧友 杨 wrote:
> Hi,
>  
>            I am an intel staff and want to use beaker for our machine
> management.I met following two questions and wanted to ask you about it:
>  
>           1.There is no beaker.repo file provided,can you give me one?
>           2.There is no user guide document provided , when will it be
> available?

There are User & Admin guides here. 

https://fedorahosted.org/beaker/wiki/BeakerUserGuide

>  
>                                                                                                                                                   Thanks,
>                                                                                                                                                  
> Junyou
> 
> 
>  

> _______________________________________________
> Beaker-devel mailing list
> Beaker-devel <at> lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/beaker-devel

--

-- 
Kevin Baker
Manager Engineering Operations, Westford          +1 978 392 2442

钧友 杨 | 16 Aug 06:52 2010
Picon

ask about some questions about beaker

Hi ,
 
     I want to setup lab controller as Beaker-0.5-Administration_Guide-en-US.pdf, but when it comes to the step :
"$ sudo chkconfig beaker-watchdog on
 $ sudo chkconfig beaker-proxy on
 $ sudo service beaker-watchdog start
 $ sudo service beaker-proxy start"
     It's just failed because that when I use the command "service beaker-watchdog status" to see the status of beaker-watchdog,it shows that "beaker-watchdog dead but subsys locked". 
                                                                                                             Thanks,
                                                                                                             Junyou

 
Kevin Baker | 17 Aug 17:34 2010
Picon

Re: ask about some questions about beaker

We get the same behavior on our lab controllers.  However, beaker-proxy
is running despite the lack of a PID.

[ ~]# service beaker-proxy status
beaker-proxy dead but subsys locked
[ ~]# ps auxx | grep beaker-proxy
apache   25757  0.0  0.9 170700  9912 ?        Sl   10:27   0:00
/usr/bin/python /usr/bin/beaker-proxy
root     25776  0.0  0.0  61176   712 pts/0    R+   10:29   0:00 grep
beaker-proxy
[ ~]#

It looks like the init script for beaker-proxy isn't creating a pid in
/var/run, but is creating a lock file in /var/run/lock/subsys, so the
'status' query will fail.

On Mon, Aug 16, 2010 at 12:52:03PM +0800, 钧友 杨 wrote:
> Hi ,
>  
>      I want to setup lab controller as
> Beaker-0.5-Administration_Guide-en-US.pdf, but when it comes to the step :
> "$ sudo chkconfig beaker-watchdog on
>  $ sudo chkconfig beaker-proxy on
>  $ sudo service beaker-watchdog start
>  $ sudo service beaker-proxy start"
>      It's just failed because that when I use the command "service
> beaker-watchdog status" to see the status of beaker-watchdog,it shows that
> "beaker-watchdog dead but subsys locked".
>
> Thanks,
> Junyou

--

-- 
Kevin Baker
Manager Engineering Operations, Westford          +1 978 392 2442

钧友 杨 | 20 Aug 09:33 2010
Picon

ask about some questions about beaker

Hi ,
 
     I want to setup lab controller as Beaker-0.5-Administration_Guide-en-US.pdf, but when it comes to the step :
"$ cobbler import --path=/net/${NFSSERVER}/${NFSPATH} \ -- name=$DISTRONAME \ --availableas=
nfs://${NFSSERVER}:/${NFSPATH}"
 
     It just fails and shows that :
    
[root <at> localhost ~]# cobbler import --path=/root/ubuntu-10.04-rc-alternate-amd64                                                                                                  --name=ubuntu --arch=x86_64
task started: 2010-08-20_152939_import
task started (id=Media import, time=Fri Aug 20 15:29:39 2010)
running: rsync -a  '/root/ubuntu-10.04-rc-alternate-amd64/' /var/www/cobbler/ks_                                                                                                 mirror/ubuntu-x86_64 --exclude-from=/etc/cobbler/rsync.exclude --progress
sending incremental file list
rsync: change_dir "/root/ubuntu-10.04-rc-alternate-amd64" failed: Permission denied (13)
rsync: ERROR: cannot stat destination "/var/www/cobbler/ks_mirror/ubuntu-x86_64": Permission denied (13)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(554) [receiver=3.0.5]
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.5]
returned: 12
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'Command failed'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 122, in die
    raise CX(msg)
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'Command failed'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 95, in run
    rc = self._run(self)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 224, in runner
    self.logger
   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 657, in import_tree
    return importer.run()
   File "/usr/lib/python2.6/site-packages/cobbler/action_import.py", line 181, in run
    self.run_this(rsync_cmd, (spacer, self.mirror, self.settings.webdir, self.mirror_name))
   File "/usr/lib/python2.6/site-packages/cobbler/action_import.py", line 262, in run_this
    utils.die(self.logger,"Command failed")
   File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 130, in die
    raise CX(msg)
!!! TASK FAILED !!!
You have new mail in /var/spool/mail/root.
 
It's weird that it shows that I don't have the permission of /root/ubuntu-10.04-rc-alternate-amd64,but when I used "ls -l  /root/",it shows that:
 
[root <at> localhost ~]# ls -l /root/
total 80
-rw-------.  1 root root  1656 2010-08-20 23:27 anaconda-ks.cfg
-rw-r--r--.  1 root root 58748 2010-08-20 23:27 install.log
-rw-r--r--.  1 root root  4843 2010-08-20 23:27 install.log.syslog
drwxr-xr-x. 10 root root  4096 2010-08-20 15:11 ubuntu-10.04-rc-alternate-amd64
                                                                                                             Thanks,
                                                                                                             Junyou

 
Raymond Mancy | 25 Aug 02:12 2010
Picon

Re: ask about some questions about beaker

Hi Junyou,

It doesn't have anything to do with this does it ?

https://fedorahosted.org/cobbler/ticket/503

Cheers


----- "钧友 杨" <smile.yangjunyou <at> yahoo.com.cn> wrote:
> From: "钧友 杨" <smile.yangjunyou <at> yahoo.com.cn>
> To: beaker-devel <at> lists.fedorahosted.org
> Sent: Friday, August 20, 2010 5:33:39 PM GMT +10:00 Brisbane
> Subject: [Beaker-devel] ask about some questions about beaker
>
>
>
Hi ,
 
     I want to setup lab controller as Beaker-0.5-Administration_Guide-en-US.pdf, but when it comes to the step :
"$ cobbler import --path=/net/${NFSSERVER}/${NFSPATH} \ -- name=$DISTRONAME \ --availableas=
> nfs://${NFSSERVER}:/${NFSPATH}"
 
     It just fails and shows that :
    
[root <at> localhost ~]# cobbler import --path=/root/ubuntu-10.04-rc-alternate-amd64                                                                                                  --name=ubuntu --arch=x86_64
> task started: 2010-08-20_152939_import
> task started (id=Media import, time=Fri Aug 20 15:29:39 2010)
> running: rsync -a  '/root/ubuntu-10.04-rc-alternate-amd64/' /var/www/cobbler/ks_                                                                                                 mirror/ubuntu-x86_64 --exclude-from=/etc/cobbler/rsync.exclude --progress
> sending incremental file list
> rsync: change_dir "/root/ubuntu-10.04-rc-alternate-amd64" failed: Permission denied (13)
> rsync: ERROR: cannot stat destination "/var/www/cobbler/ks_mirror/ubuntu-x86_64": Permission denied (13)
> rsync error: errors selecting input/output files, dirs (code 3) at main.c(554) [receiver=3.0.5]
> rsync: connection unexpectedly closed (9 bytes received so far) [sender]
> rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.5]
> returned: 12
> Exception occured: <class 'cobbler.cexceptions.CX'>
> Exception value: 'Command failed'
> Exception Info:
>   File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 122, in die
>     raise CX(msg)
Exception occured: <class 'cobbler.cexceptions.CX'>
> Exception value: 'Command failed'
> Exception Info:
>   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 95, in run
>     rc = self._run(self)
>    File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 224, in runner
>     self.logger
>    File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 657, in import_tree
>     return importer.run()
>    File "/usr/lib/python2.6/site-packages/cobbler/action_import.py", line 181, in run
>     self.run_this(rsync_cmd, (spacer, self.mirror, self.settings.webdir, self.mirror_name))
>    File "/usr/lib/python2.6/site-packages/cobbler/action_import.py", line 262, in run_this
>     utils.die(self.logger,"Command failed")
>    File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 130, in die
>     raise CX(msg)
!!! TASK FAILED !!!
> You have new mail in /var/spool/mail/root.
 
It's weird that it shows that I don't have the permission of /root/ubuntu-10.04-rc-alternate-amd64,but when I used "ls -l  /root/",it shows that:
 
[root <at> localhost ~]# ls -l /root/
> total 80
> -rw-------.  1 root root  1656 2010-08-20 23:27 anaconda-ks.cfg
> -rw-r--r--.  1 root root 58748 2010-08-20 23:27 install.log
> -rw-r--r--.  1 root root  4843 2010-08-20 23:27 install.log.syslog
> drwxr-xr-x. 10 root root  4096 2010-08-20 15:11 ubuntu-10.04-rc-alternate-amd64
>
                                                                                                             Thanks,
                                                                                                             Junyou

>  
> _______________________________________________ Beaker-devel mailing list Beaker-devel <at> lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/beaker-devel

Gmane