How did you go with that Junyou ?


----- "Raymond Mancy" <rmancy@redhat.com> wrote:
> From: "Raymond Mancy" <rmancy@redhat.com>
> To: "List for the development of the Beaker project" <beaker-devel@lists.fedorahosted.org>
> Sent: Wednesday, August 25, 2010 10:12:06 AM GMT +10:00 Brisbane
> Subject: Re: [Beaker-devel] 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@yahoo.com.cn> wrote:
> > From: "钧友 杨" <smile.yangjunyou@yahoo.com.cn>
> > To: beaker-devel@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@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@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@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/beaker-devel

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