<div dir="ltr">Ehmm, měl jsem vyplé kvm v vpsadmin. Ale zas jiná chyba: "/opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/hosts/linux/cap/nfs.rb:114:in `stat': No such file or directory @ rb_file_s_stat - /etc/exports (Errno::ENOENT)" NFS mám zaplé v vpsadminu.<br></div><div class="gmail_extra"><br><div class="gmail_quote">Dne 12. května 2017 14:47 Petr Parolek <span dir="ltr"><<a href="mailto:petr.parolek@gmail.com" target="_blank">petr.parolek@gmail.com</a>></span> napsal(a):<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Už to zkoumám.<br><br>cat Vagrantfile<br># -*- mode: ruby -*-<br># vi: set ft=ruby :<br><br># All Vagrant configuration is done below. The "2" in Vagrant.configure<br># configures the configuration version (we support older styles for<br># backwards compatibility). Please don't change it unless you know what<br># you're doing.<span class=""><br>Vagrant.configure("2") do |config|<br></span>  # The most common configuration options are documented and commented below.<br>  # For a complete reference, please see the online documentation at<br>  # <a href="https://docs.vagrantup.com" target="_blank">https://docs.vagrantup.com</a>.<br><br>  # Every Vagrant development environment requires a box. You can search for<br>  # boxes at <a href="https://atlas.hashicorp.com/search" target="_blank">https://atlas.hashicorp.com/<wbr>search</a>.<br>  config.vm.box = "debian/jessie64"<br><br>  # Disable automatic box update checking. If you disable this, then<br>  # boxes will only be checked for updates when the user runs<br>  # `vagrant box outdated`. This is not recommended.<br>  # config.vm.box_check_update = false<br><br>  # Create a forwarded port mapping which allows access to a specific port<br>  # within the machine from a port on the host machine. In the example below,<br>  # accessing "localhost:8080" will access port 80 on the guest machine.<br>  # NOTE: This will enable public access to the opened port<br>  # config.vm.network "forwarded_port", guest: 80, host: 8080<br><br>  # Create a forwarded port mapping which allows access to a specific port<br>  # within the machine from a port on the host machine and only allow access<br>  # via 127.0.0.1 to disable public access<br>  # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"<br><br>  # Create a private network, which allows host-only access to the machine<br>  # using a specific IP.<br>  # config.vm.network "private_network", ip: "192.168.33.10"<br><br>  # Create a public network, which generally matched to bridged network.<br>  # Bridged networks make the machine appear as another physical device on<br>  # your network.<br>  # config.vm.network "public_network"<br><br>  # Share an additional folder to the guest VM. The first argument is<br>  # the path on the host to the actual folder. The second argument is<br>  # the path on the guest to mount the folder. And the optional third<br>  # argument is a set of non-required options.<br>  # config.vm.synced_folder "../data", "/vagrant_data"<br><br>  # Provider-specific configuration so you can fine-tune various<br>  # backing providers for Vagrant. These expose provider-specific options.<br>  # Example for VirtualBox:<br>  #<br>  # config.vm.provider "virtualbox" do |vb|<br>  #   # Display the VirtualBox GUI when booting the machine<br>  #   vb.gui = true<br>  #<br>  #   # Customize the amount of memory on the VM:<br>  #   vb.memory = "1024"<br>  # end<br>  #<br>  # View the documentation for the provider you are using for more<br>  # information on available options.<br><br>  # Define a Vagrant Push strategy for pushing to Atlas. Other push strategies<br>  # such as FTP and Heroku are also available. See the documentation at<br>  # <a href="https://docs.vagrantup.com/v2/push/atlas.html" target="_blank">https://docs.vagrantup.com/v2/<wbr>push/atlas.html</a> for more information.<br>  # config.push.define "atlas" do |push|<br>  #   push.app = "YOUR_ATLAS_USERNAME/YOUR_<wbr>APPLICATION_NAME"<br>  # end<br><br>  # Enable provisioning with a shell script. Additional provisioners such as<br>  # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the<br>  # documentation for more information about their specific syntax and use.<br>  # config.vm.provision "shell", inline: <<-SHELL<br>  #   apt-get update<br>  #   apt-get install -y apache2<br>  # SHELL<span class=""><br>  Vagrant.configure("2") do |config|<br>    config.vm.provider :libvirt do |libvirt|<br></span>      libvirt.storage :file, :size => '8G', :type => 'raw'<br>    end<br>  end<br>end<br><br><br></div><div>Vagrant stále nenabíhá: "Error while creating domain: Error saving the server: Call to virDomainDefineXML failed: internal error: no supported architecture for os type 'hvm'"<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">Dne 12. května 2017 14:32 Matěj Koudelka <span dir="ltr"><<a href="mailto:matej@hxpro.cz" target="_blank">matej@hxpro.cz</a>></span> napsal(a):<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Tož v tom návodu se píše:<div><div><br></div><div>Vagrant.configure("2") do |config|</div><div>  config.vm.provider :libvirt do |libvirt|</div><div>    libvirt.storage :file, :size => '20G'</div><div>    libvirt.storage :file, :size => '40G', :type => 'raw'</div><div>  end</div><div>end</div></div><div><br></div><div>takže bych zkusil :type => ''raw'</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">Dne 12. května 2017 14:05 Petr Parolek <span dir="ltr"><<a href="mailto:petr.parolek@gmail.com" target="_blank">petr.parolek@gmail.com</a>></span> napsal(a):<div><div class="m_-6602290997355061141h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Nechce mi naběhnout virtuální stroj, vagrant píše:<br><br>"==> default: Uploading base box image as volume into libvirt storage...<br>==> default: Creating image (snapshot of base box volume).<br>Volume for domain is already created. Please run 'vagrant destroy' first."<br><br>V KB vpsfree se píše, že se mají používat raw image pro hdd.<br><br></div>Použil jsem tento návod <a href="https://github.com/vagrant-libvirt/vagrant-libvirt#installation" target="_blank">https://github.com/vagrant-lib<wbr>virt/vagrant-libvirt#installat<wbr>ion</a>.<br><br></div>Nechtěl se mi stále spustit, řval, že mu chybí libvirt provider. Našel jsem:<br><br><a href="https://github.com/vagrant-libvirt/vagrant-libvirt/issues/770#issuecomment-298017815" target="_blank">https://github.com/vagrant-lib<wbr>virt/vagrant-libvirt/issues/77<wbr>0#issuecomment-298017815</a><br><br></div>Zkompiloval jsem a nainstaloval providera aháže mi to chybu viz výše. Jak mám změnit nastavení storage u vagrantu?<br><br></div>Díky moc za pomoc.<br></div><div class="gmail_extra"><br><div class="gmail_quote">Dne 12. května 2017 12:35 Petr Parolek <span dir="ltr"><<a href="mailto:petr.parolek@gmail.com" target="_blank">petr.parolek@gmail.com</a>></span> napsal(a):<div><div class="m_-6602290997355061141m_-4299318579406205894h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Právěže znám. Naistaloval jsem si runner do Vagrantu u sebe na pc. Díky moc za tip, nepadlo mě dát vagrant i na vps.<br></div><div class="gmail_extra"><br><div class="gmail_quote">Dne 12. května 2017 12:32 Matěj Koudelka <span dir="ltr"><<a href="mailto:matej@hxpro.cz" target="_blank">matej@hxpro.cz</a>></span> napsal(a):<div><div class="m_-6602290997355061141m_-4299318579406205894m_-2529820923364950859h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Znáš vagrant? Plugin vagrant-libvirt to umí s kvm. Na vps jsem to sice nezkoušel, ale na lokále to používám běžně. Nemusíš se pak vůbec připojovat na vnc a virtuálku máš rozchozenou raz dva. Stejně tak se pak můžeš do virtuálky dostat příkazem vagrant ssh.<div><br><div class="gmail_extra"><br><div class="gmail_quote">Dne 12. května 2017 12:22 Petr Parolek <span dir="ltr"><<a href="mailto:petr.parolek@gmail.com" target="_blank">petr.parolek@gmail.com</a>></span> napsal(a):<div><div class="m_-6602290997355061141m_-4299318579406205894m_-2529820923364950859m_-7081767897791414669h5"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Instalace OS do KVM je strašně pomalá přes VNC. Instalaci po dlouhém čekání jsem instalaci Debianu vzdal, ani potom nevím, jak se připojit k ssh z hosta do guesta tj. jak nastavit přesměrování portu.<br></div><div class="gmail_extra"><br><div class="gmail_quote">Dne 12. května 2017 9:53 Silvestr Hašek <span dir="ltr"><<a href="mailto:hasek@reklalink.cz" target="_blank">hasek@reklalink.cz</a>></span> napsal(a):<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ahoj,<br>
<br>
Na netu jsou po různu issues s podobným bugem a co jsem viděl tak problém byl asi docker spousta hlašení na 1.10 a žádný řešení. Osobně bych doporučil uštípnout si kousek resources a udělat si malou vpsku s KVM, kde by ti měl odpadnout problém se starým dockerem. Gitlab máš vlastní instanci CE, takže k tomu asi ani nebudeš potřebovat další IPv4 kvuli tomu pitomýmu cloudu kde to mají hostovaný.<br>
<br>
Pokud nechceš stěpit vpsfree resources tak buď mít runner na developer mašinách nebo na to úplně stačí VPSka od nejmenované společnosti za 25Kč/Měsíc kde jde provozovat novější verze dockeru.<span><br>
<br>
On Friday, 12 May 2017 00:20:10 CEST, Petr Parolek wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
Ahoj,<br>
<br>
tak ani z syslogu nejsem moudrý:<br>
<br>
<a href="https://pastebin.com/kvxdxrej" rel="noreferrer" target="_blank">https://pastebin.com/kvxdxrej</a><br>
<br>
Zatím to řeším workaroundem tak, že mám na svém pc ve vagrantu puštěný<br>
GitLab CI runner, který pouští buildy z mého gitlabu. Ale rád bych měl vše<br>
na VPS nezávisle.<br>
<br>
Má někdo nějaký nápad na řešení?<br>
<br>
<br>
Petr<br>
<br>
Petr<br>
<br>
2017-05-08 15:21 GMT+02:00 Petr Parolek <<a href="mailto:petr.parolek@gmail.com" target="_blank">petr.parolek@gmail.com</a>>:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
Ahoj, už delší dobu se potýkám s problémy při spouštění testů. Používám<br>
GitLab 9.1.2 CE s GitLab CI 9.0.4 a Docker 1.10.3 (tj. nejnovější Docker,<br>
který na VPSFree jede).<br>
<br>
Build často spadne s chybou: "ERROR: Preparation failed: Cannot connect<br></span>
to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon ...<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
Community-list mailing list<br>
<a href="mailto:Community-list@lists.vpsfree.cz" target="_blank">Community-list@lists.vpsfree.c<wbr>z</a><br>
<a href="http://lists.vpsfree.cz/listinfo/community-list" rel="noreferrer" target="_blank">http://lists.vpsfree.cz/listin<wbr>fo/community-list</a><br>
</blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Community-list mailing list<br>
<a href="mailto:Community-list@lists.vpsfree.cz" target="_blank">Community-list@lists.vpsfree.c<wbr>z</a><br>
<a href="http://lists.vpsfree.cz/listinfo/community-list" rel="noreferrer" target="_blank">http://lists.vpsfree.cz/listin<wbr>fo/community-list</a><br>
<br></blockquote></div></div></div><span class="m_-6602290997355061141m_-4299318579406205894m_-2529820923364950859m_-7081767897791414669HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-6602290997355061141m_-4299318579406205894m_-2529820923364950859m_-7081767897791414669m_-5979743449287406291m_1975098507515359913gmail_signature"><b>Matěj Koudelka</b><div><div><a href="tel:604%20266%20933" value="+420604266933" target="_blank">+420 604 266 933</a></div></div></div>
</font></span></div></div></div>
<br>______________________________<wbr>_________________<br>
Community-list mailing list<br>
<a href="mailto:Community-list@lists.vpsfree.cz" target="_blank">Community-list@lists.vpsfree.c<wbr>z</a><br>
<a href="http://lists.vpsfree.cz/listinfo/community-list" rel="noreferrer" target="_blank">http://lists.vpsfree.cz/listin<wbr>fo/community-list</a><br>
<br></blockquote></div></div></div><br></div>
</blockquote></div></div></div><br></div>
<br>______________________________<wbr>_________________<br>
Community-list mailing list<br>
<a href="mailto:Community-list@lists.vpsfree.cz" target="_blank">Community-list@lists.vpsfree.c<wbr>z</a><br>
<a href="http://lists.vpsfree.cz/listinfo/community-list" rel="noreferrer" target="_blank">http://lists.vpsfree.cz/listin<wbr>fo/community-list</a><br>
<br></blockquote></div></div></div><div><div class="m_-6602290997355061141h5"><br><br clear="all"><div><br></div>-- <br><div class="m_-6602290997355061141m_-4299318579406205894gmail_signature" data-smartmail="gmail_signature"><b>Matěj Koudelka</b><div><div><a href="tel:604%20266%20933" value="+420604266933" target="_blank">+420 604 266 933</a></div></div></div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Community-list mailing list<br>
<a href="mailto:Community-list@lists.vpsfree.cz" target="_blank">Community-list@lists.vpsfree.c<wbr>z</a><br>
<a href="http://lists.vpsfree.cz/listinfo/community-list" rel="noreferrer" target="_blank">http://lists.vpsfree.cz/listin<wbr>fo/community-list</a><br>
<br></blockquote></div></div></div><br></div>
</blockquote></div><br></div>