On 08/19/2009 10:28 AM, Bryan Schneiders wrote:
I just got back from vacation, so nothing has changed on my end.  You said you were testing the same import, do you remember what results you got?

Bryan Schneiders
bschneiders@woti.com
301-562-1900 ext 305
  

Apologies, I am heavily distracted by a lot of other inputs, including getting 2.0 out the door, and remember shutting off
a slow mirror download.   I'll put it back in the queue to test.

If someone else wants to look at it before me, please let me know.

--Michael


Michael DeHaan wrote:
  
On 08/06/2009 05:27 PM, Bryan Schneiders wrote:
    
The import command in my history is:
sudo cobbler import --path=rsync://linux.mirrors.es.net/centos/5.3/os/x86_64/ --name=centos53 --arch=x86_64

Here's the contents of that file, minus the uid part because I don't understand what is encoded there.  The os_version field was blank, I changed it to rhel5 in the webui to match the other distributions but that didn't appear to help.

  
      
uid is "universal identifier".  It is essentially just random, so no 
problem :)

Changing things in the Web UI won't help you as the repo pointers into 
the tree are evaluated at import time only.   I do see that your 
"source_repos" (which is an internalism that folks really don't need to 
understand) is blank, indicating the importer didn't find any yum repos 
in the tree while it was working.

I'm running the exact same import right now to see what I get on my end 
with the 2.0 codebase.

    
$ cat /var/lib/cobbler/config/distros.d/centos53-x86_64.json 
{"comment": "", "kernel": "/var/www/cobbler/ks_mirror/centos53-x86_64/images/pxeboot/vmlinuz", "uid": "...", "kernel_options_post": {}, "redhat_management_key": "<<inherit>>", "kernel_options": {}, "tree_build_time": 0.0, "initrd": "/var/www/cobbler/ks_mirror/centos53-x86_64/images/pxeboot/initrd.img", "mtime": 1249586355.4657841, "template_files": {}, "ks_meta": {"tree": "http://@@http_server@@/cblr/links/centos53-x86_64"}, "breed": "redhat", "os_version": "rhel5", "mgmt_classes": [], "parent": "", "redhat_management_server": "<<inherit>>", "arch": "x86_64", "ctime": 1241150695.039839, "owners": ["admin"], "name": "centos53-x86_64", "source_repos": [], "depth": 0}

Bryan Schneiders
bschneiders@woti.com
301-562-1900 ext 305


Michael DeHaan wrote:
  
      
On 08/06/2009 03:28 PM, Bryan Schneiders wrote:
    
        
cobbler-1.6.6-1.fc10.i386

I'm having a problem where my CentOS 5.2 i386, x86_64 and CentOS 5.3 i386 profiles contain repository information for the installation media but my CentOS 5.3 x86_64 profile does not.  This may be because of something I did, but I can't figure out how to fix it.

When I fetch a url such as http://www.myserver.com/cblr/svc/op/yum/profile/centos53-i386, I get:

[core-0]
name=core-0
baseurl=http://www.myserver.com:80/cobbler/ks_mirror/centos53-i386
enabled=1
gpgcheck=0
priority=1


[centos53-i386-updates]
name=centos53-i386-updates
baseurl=http://www.myserver.com/cobbler/repo_mirror/centos53-i386-updates
enabled=1
priority=10
gpgcheck=0


[centosplus-53-i386]
name=centosplus-53-i386
baseurl=http://www.myserver.com/cobbler/repo_mirror/centosplus-53-i386
enabled=1
priority=10
gpgcheck=0

But when I fetch http://www.myserver.com/cblr/svc/op/yum/profile/centos53-x86_64, I get the same thing without the "core-0" repository..

[centos53-x64-updates]
name=centos53-x64-updates
baseurl=http://www.myserver.com/cobbler/repo_mirror/centos53-x64-updates
enabled=1
priority=10
gpgcheck=0


[centosplus-53-x64]
name=centosplus-53-x64
baseurl=http://www.myserver.com/cobbler/repo_mirror/centosplus-53-x64
enabled=1
priority=10
gpgcheck=0

I don't see differences in the output of 'cobbler report' or the ability to select "core-0" in the webui profiles.
   
      
          
What command did you use to run the import in the second case? Also what 
is "cat /var/lib/cobbler/config/distros.d/distroname" for the second case?

--Michael
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
    
        
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
  
      
------------------------------------------------------------------------

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
    

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler