Servermanager fails to start beause of missing directory

Bug #1377758 reported by Vinod Nair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Undecided
Unassigned
R1.1
Fix Committed
High
prasad miriyala

Bug Description

Build47: Server-manager fails to start because of missing directory /etc/contrail_smgr/contrail-redhat-repo
Once the directory is created manually it starts fine.

running: rsync -rltDv --copy-unsafe-links --delete-after --delete --exclude-from=/etc/cobbler/rsync.exclude /etc/contrail_smgr/contrail-redhat-repo/ /var/www/cobbler/repo_mirror/contrail-redhat-repo
received on stdout: building file list ... done

sent 16 bytes received 12 bytes 56.00 bytes/sec
total size is 0 speedup is 0.00

received on stderr: rsync: change_dir "/etc/contrail_smgr/contrail-redhat-repo" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'cobbler reposync failed'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 126, in die
    raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'cobbler reposync failed'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", line 125, in run
    self.sync(repo)
   File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", line 173, in sync
    return self.rsync_sync(repo)
   File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", line 274, in rsync_sync
    utils.die(self.logger,"cobbler reposync failed")
   File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 134, in die
    raise CX(msg)

reposync failed, tries left: 0
reposync failed, retry limit reached, skipping
running: chown -R root:apache /var/www/cobbler/repo_mirror/contrail-redhat-repo
received on stdout:
received on stderr:
running: chmod -R 755 /var/www/cobbler/repo_mirror/contrail-redhat-repo
received on stdout:
received on stderr:
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'overall reposync failed, at least one repo failed to synchronize'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 126, in die
    raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'overall reposync failed, at least one repo failed to synchronize'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 87, in run
    rc = self._run(self)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 247, in runner
    3), name=name, nofail=nofail, logger=self.logger)
   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 818, in reposync
    return reposync.run(name)
   File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", line 154, in run
    utils.die(self.logger,"overall reposync failed, at least one repo failed to synchronize")
   File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 134, in die
    raise CX(msg)

!!! TASK FAILED !!!
Error connecting to cobbler

tags: added: blocker server-manager
information type: Proprietary → Public
Changed in juniperopenstack:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.