OpenVZ Forum


Home » General » Support » Cannot find a valid baseurl for repo: base0
Cannot find a valid baseurl for repo: base0 [message #53162] Fri, 02 February 2018 14:49
TomvB is currently offline  TomvB
Messages: 25
Registered: July 2017
Location: Netherlands
Junior Member
From: *ip-037-017-220-143.dds.nl
When creating a new CentOS Container.
prlctl create name --vmtype ct --ostemplate centos-7-x86_64

Cannot find a valid baseurl for repo: base0
Could not retrieve mirrorlist http://vzdownload.swsoft.com/download/mirrors/centos-7 error was
14: curl#6 - "Could not resolve host: vzdownload.swsoft.com"
Error: /usr/share/vzyum/bin/yum failed, exitcode=1
Creation of Container private area failed

Update: Problem Solved, external issue and not related to a fresh installation!


--

http://vzdownload.swsoft.com/download/mirrors/
This site can't be reached
The webpage at http://vzdownload.swsoft.com/download/mirrors/ might be temporarily down or it may have moved permanently to a new web address.


Seems to be down:
Could not retrieve mirrorlist http://vzdownload.swsoft.com/download/mirrors/xx error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'vzdownload.swsoft.com'"
Traceback (most recent call last):
  File "/usr/share/vzyum/bin/yum", line 30, in <module>
  File "/usr/share/vzyum/yum-cli/yummain.py", line 293, in user_main
  File "/usr/share/vzyum/yum-cli/yummain.py", line 144, in main
  File "/usr/share/vzyum/yum-cli/cli.py", line 442, in doCommands
  File "/usr/share/vzyum/yum-cli/yumcommands.py", line 561, in doCommand
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1474, in <lambda>
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1466, in _getRepoXML
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1456, in _loadRepoXML
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1431, in _groupLoadRepoXML
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1249, in _commonLoadRepoXML
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1027, in _getFileRepoXML
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 834, in _getFile
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 519, in <lambda>
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 514, in _getgrab
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 484, in _setupGrab
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 699, in <lambda>
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 696, in _geturls
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 662, in _baseurlSetup
  File "/usr/share/vzyum/lib/yum/yumRepo.py", line 426, in check
AttributeError: 'YumRepository' object has no attribute 'mirrorlistfn'
Error: /usr/share/vzyum/bin/yum failed, exitcode=1
Creation of Container private area failed
)
Failed to create the virtual machine.

[Updated on: Sat, 03 February 2018 07:49]

Report message to a moderator

Previous Topic: Spectre and Meltdown Patch ASAP Please
Next Topic: venet cannot listen on ip address specified
Goto Forum:
  


Current Time: Fri Nov 16 14:50:12 GMT 2018