ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    XenServer 7 has launched!

    IT Discussion
    xenserver
    16
    212
    49250
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmiller
      scottalanmiller last edited by

      Same repo error as above?

      1 Reply Last reply Reply Quote 0
      • Kelly
        Kelly last edited by

        Poking at it some more and it looks like there is something sideways about the $releasever variable in the /etc/yum.repos.d/CentOS.* The resulting URL is http://mirror.centos.org/centos/7-2.1511.el7.centos.2.10/os/x86_64/repodata/repomd.xml.

        The one that I get manually navigating is: http://mirror.centos.org/centos/7.2.1511/os/x86_64/repodata/repomd.xml

        1 Reply Last reply Reply Quote 1
        • scottalanmiller
          scottalanmiller last edited by

          That's what I have been thinking. Autodetecting repos are very fragile and I see them fail all of the time. Put in a static, direct link and I bet it will work just fine.

          1 Reply Last reply Reply Quote 0
          • Kelly
            Kelly last edited by

            I replaced the references in CentOS-Base.repo with 7.2.1511 and that took away some of the errors, but it still failed. Looks like I'll need to update the other *.repo files unless there is a way to change what is going into the $releasever variable.

            scottalanmiller 1 Reply Last reply Reply Quote 1
            • scottalanmiller
              scottalanmiller @Kelly last edited by

              @Kelly said in XenServer 7 has launched!:

              I replaced the references in CentOS-Base.repo with 7.2.1511 and that took away some of the errors, but it still failed. Looks like I'll need to update the other *.repo files unless there is a way to change what is going into the $releasever variable.

              What does this show...

              cat /etc/redhat-release

              Kelly 1 Reply Last reply Reply Quote 0
              • Kelly
                Kelly @scottalanmiller last edited by Kelly

                @scottalanmiller said in XenServer 7 has launched!:

                @Kelly said in XenServer 7 has launched!:

                I replaced the references in CentOS-Base.repo with 7.2.1511 and that took away some of the errors, but it still failed. Looks like I'll need to update the other *.repo files unless there is a way to change what is going into the $releasever variable.

                What does this show...

                cat /etc/redhat-release

                XenServer release 7.0.0-125380c (xenenterprise)
                

                I get the same output from /etc/centos-release which is what the distroverpkg variable in yum.conf references.

                1 Reply Last reply Reply Quote 0
                • scottalanmiller
                  scottalanmiller last edited by

                  Yup, there is the issue. The repos don't like that different name than what they handle.

                  1 Reply Last reply Reply Quote 0
                  • Kelly
                    Kelly last edited by

                    Well, altering the distroverpkg to distroverpkg=7.2.1511 isn't fixing anything. Now $releasever is not expanding.

                    scottalanmiller 1 Reply Last reply Reply Quote 0
                    • scottalanmiller
                      scottalanmiller @Kelly last edited by

                      @Kelly said in XenServer 7 has launched!:

                      Well, altering the distroverpkg to distroverpkg=7.2.1511 isn't fixing anything. Now $releasever is not expanding.

                      Try this instead: centos-release

                      That is what is in working CentOS 7 variable for that.

                      Kelly 1 Reply Last reply Reply Quote 0
                      • Kelly
                        Kelly @scottalanmiller last edited by

                        @scottalanmiller said in XenServer 7 has launched!:

                        @Kelly said in XenServer 7 has launched!:

                        Well, altering the distroverpkg to distroverpkg=7.2.1511 isn't fixing anything. Now $releasever is not expanding.

                        Try this instead: centos-release

                        That is what is in working CentOS 7 variable for that.

                        centos-release is not installed

                        scottalanmiller 1 Reply Last reply Reply Quote 0
                        • scottalanmiller
                          scottalanmiller @Kelly last edited by

                          @Kelly said in XenServer 7 has launched!:

                          @scottalanmiller said in XenServer 7 has launched!:

                          @Kelly said in XenServer 7 has launched!:

                          Well, altering the distroverpkg to distroverpkg=7.2.1511 isn't fixing anything. Now $releasever is not expanding.

                          Try this instead: centos-release

                          That is what is in working CentOS 7 variable for that.

                          centos-release is not installed

                          It said that? Where did it give that error?

                          1 Reply Last reply Reply Quote 0
                          • Kelly
                            Kelly last edited by

                            -bash: centos-release: command not found
                            
                            scottalanmiller 1 Reply Last reply Reply Quote 0
                            • scottalanmiller
                              scottalanmiller @Kelly last edited by

                              @Kelly said in XenServer 7 has launched!:

                              -bash: centos-release: command not found
                              

                              You dont' run it as a command, you put it into the variable that you mentioned 🙂

                              Kelly 1 Reply Last reply Reply Quote 0
                              • Kelly
                                Kelly @scottalanmiller last edited by

                                @scottalanmiller said in XenServer 7 has launched!:

                                @Kelly said in XenServer 7 has launched!:

                                -bash: centos-release: command not found
                                

                                You dont' run it as a command, you put it into the variable that you mentioned 🙂

                                Oh, ok. centos-release is the normal entry in yum.conf. It does return the same value as redhat-release though, but both of them are different from the value used in the $releasever. I'm a little confused at the moment.

                                1 Reply Last reply Reply Quote 0
                                • scottalanmiller
                                  scottalanmiller last edited by

                                  I'm just saying what is a working variable on my server 🙂

                                  Kelly 1 Reply Last reply Reply Quote 0
                                  • Kelly
                                    Kelly @scottalanmiller last edited by

                                    @scottalanmiller said in XenServer 7 has launched!:

                                    I'm just saying what is a working variable on my server 🙂

                                    XenServer 7 or CentOS?

                                    scottalanmiller 1 Reply Last reply Reply Quote 0
                                    • Kelly
                                      Kelly last edited by

                                      Summary:

                                      [[email protected][server] ]# cat /etc/redhat-release
                                      XenServer release 7.0.0-125380c (xenenterprise)
                                      [[email protected][server] ]# cat /etc/centos-release
                                      XenServer release 7.0.0-125380c (xenenterprise)
                                      
                                      [[email protected][server] ]# yum version
                                      Installed: 7-2.1511.el7.centos.2.10/x86_64
                                      
                                      scottalanmiller 1 Reply Last reply Reply Quote 0
                                      • scottalanmiller
                                        scottalanmiller @Kelly last edited by

                                        @Kelly said in XenServer 7 has launched!:

                                        @scottalanmiller said in XenServer 7 has launched!:

                                        I'm just saying what is a working variable on my server 🙂

                                        XenServer 7 or CentOS?

                                        CentOS, because XS7 doesn't work.

                                        1 Reply Last reply Reply Quote 0
                                        • scottalanmiller
                                          scottalanmiller @Kelly last edited by

                                          @Kelly said in XenServer 7 has launched!:

                                          Summary:

                                          [[email protected][server] ]# cat /etc/redhat-release
                                          XenServer release 7.0.0-125380c (xenenterprise)
                                          [[email protected][server] ]# cat /etc/centos-release
                                          XenServer release 7.0.0-125380c (xenenterprise)
                                          
                                          [[email protected][server] ]# yum version
                                          Installed: 7-2.1511.el7.centos.2.10/x86_64
                                          

                                          Is that after updating the yum.conf variable?

                                          Kelly 1 Reply Last reply Reply Quote 0
                                          • Kelly
                                            Kelly @scottalanmiller last edited by

                                            @scottalanmiller said in XenServer 7 has launched!:

                                            @Kelly said in XenServer 7 has launched!:

                                            Summary:

                                            [[email protected][server] ]# cat /etc/redhat-release
                                            XenServer release 7.0.0-125380c (xenenterprise)
                                            [[email protected][server] ]# cat /etc/centos-release
                                            XenServer release 7.0.0-125380c (xenenterprise)
                                            
                                            [[email protected][server] ]# yum version
                                            Installed: 7-2.1511.el7.centos.2.10/x86_64
                                            

                                            Is that after updating the yum.conf variable?

                                            That is after setting it back to the default of distroverpkg=centos-release.

                                            scottalanmiller 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post