当我通过vagrant创建集群时,minidcos出现问题

当我通过vagrant创建集群时,minidcos出现问题,vagrant,centos7,docker-repository,Vagrant,Centos7,Docker Repository,我遵循以下步骤: 我用这个命令创建了一个集群:minidcos vagrant create./dcos\u generate\u config.sh 然后,我发现这个错误: 以下SSH命令以非零退出状态响应。 Vagrant认为这意味着命令失败 yum安装-y centos发行版 命令中的Stdout: 加载的插件:FastTestMirror 命令中的Stderr: :[Errno 14]HTTPS错误404-未找到 尝试另一面镜子。 要解决此问题,请参阅以下知识库文章 如果上述文章无助于

我遵循以下步骤: 我用这个命令创建了一个集群:minidcos vagrant create./dcos\u generate\u config.sh 然后,我发现这个错误: 以下SSH命令以非零退出状态响应。 Vagrant认为这意味着命令失败

yum安装-y centos发行版

命令中的Stdout:

加载的插件:FastTestMirror

命令中的Stderr:

:[Errno 14]HTTPS错误404-未找到 尝试另一面镜子。 要解决此问题,请参阅以下知识库文章

如果上述文章无助于解决此问题,请在上创建一个bug

其中一个配置的存储库失败(Docker存储库), 而且yum没有足够的缓存数据继续。在这一点上,唯一的 百胜可以做的安全事情就是失败。有几种方法可以“修复”此问题:

失败:dockerepo:[Errno 256]中的repodata/repomd.xml没有更多镜像可供尝试。 :[Errno 14]HTTPS错误404-未找到

创建群集时出错。 完全错误: 命令'['/usr/bin/vagrant','up']'返回非零退出状态1


希望有人能帮助我

如果有人遇到这个错误,我找到了解决办法 在文件中: config.vbguest.auto_update=true 用假替换真

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
        yum --disablerepo=dockerrepo ...

 4. Disable the repository permanently, so yum won't use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

        yum-config-manager --disable dockerrepo
    or
        subscription-manager repos --disable=dockerrepo

 5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=dockerrepo.skip_if_unavailable=true