cloud-init-nonetMAAS JUJU cloud-init-nonet waiting for network deviceHow do I troubleshoot network issues with my VPS?How do I start my network bridge automatically upon boot?Ubuntu goes down daily at night - VMUbuntu 14.04 Server Install Unable to Connect to Network via Ethernetcloud init fails on instanceCloud in a Box Issue - LXD static host with DHCP bridge and static LXD host reservationsserver wont connect to network; cannot find device eth0

Unable to find solution to 6 simultaneous equations

How do we know that black holes are spinning?

Read string of any length in C

Block diagram vs flow chart?

Importance of the current postdoc advisor's letter in TT job search

What was the motivation for the invention of electric pianos?

What is the mathematical notation for rounding a given number to the nearest integer?

How to be sure services and researches offered by the University are not becoming cases of unfair competition?

Does a large scratch in an ND filter affect image quality?

Why is it called a stateful and a stateless firewall?

What is the source of "You can achieve a lot with hate, but even more with love" (Shakespeare?)

How does a simple logistic regression model achieve a 92% classification accuracy on MNIST?

Make 2019 with single digits

Can a character with good/neutral alignment attune to a sentient magic item with evil alignment?

Can I see Harvest moon in India?

What are the advantages and disadvantages of tail wheels that cause modern airplanes to not use them?

'Overwrote' files, space still occupied, are they lost?

Assign every word from a line to a variable

What is the meaning of 「ぞんぞん」?

Seven Places at Once - Another Google Earth Challenge?

How would you control supersoldiers in a late iron-age society?

International Orange?

Some Prime Peerage

Statistical tests for benchmark comparison



cloud-init-nonet


MAAS JUJU cloud-init-nonet waiting for network deviceHow do I troubleshoot network issues with my VPS?How do I start my network bridge automatically upon boot?Ubuntu goes down daily at night - VMUbuntu 14.04 Server Install Unable to Connect to Network via Ethernetcloud init fails on instanceCloud in a Box Issue - LXD static host with DHCP bridge and static LXD host reservationsserver wont connect to network; cannot find device eth0






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I have the problem someone pointed in the forum. But I see everyone have this problem with VM machines. In my case is with bare metal:



When I start the machine I see cloud-init-nonet waiting for network.



--------------------------------
cloud-init-nonet[164.54]: gave up waiting for a network device.
Cloud-init v. 0.7.5 running 'init' at Sat, 11 Oct 2014 22:23:38 +0000. Up 164.77 seconds.
ci-info: +++++++++++++++++++++++Net device info+++++++++++++++++++++++
ci-info: +--------+------+-----------+-----------+-------------------+
ci-info: | Device | Up | Address | Mask | Hw-Address |
ci-info: +--------+------+-----------+-----------+-------------------+
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . |
ci-info: | eth1 | True | . | . | 68:XX:ca:YY:09:50 |
ci-info: | eth0 | True | . | . | 00:XX:8c:YY:c7:00 |
ci-info: +--------+------+-----------+-----------+-------------------+
ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Route info failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2014-10-12 00:25:44,469 - DataSourceMAAS.py[CRITICAL]: Giving up on md from ['http://172.16.0.40/MAAS/metadata//2012-03-01/meta-data/instance-id'] after 126 seconds
2014-10-12 00:25:44,469 - util.py[WARNING]: No instance datasource found! Likely bad things to come!
--------------------------------


Is almost the same thing as seen here:



https://ask.openstack.org/en/question/28297/cloud-init-nonet-waiting-and-fails/



I also tried to explain in this bug:



https://bugs.launchpad.net/cloud-init/+bug/1345433



As I told in the bug it seems to me that openvswitch is not started in order. But I don't know. Maybe it's just my network config that's relaying on openvswitch db.



My config is rather simple /etc/network/interfaces:



### This does nothing, but left here for future reference. It should work. It's supposed to be openvswitch support on startup
allow-ovs br-ext
iface br-ext inet manual
ovs_type OVSBridge
ovs_ports eth0


# The primary network interface
auto eth0
iface eth0 inet manual
up ifconfig $IFACE 0.0.0.0 up
up ip link set $IFACE promisc on
down ip link set $IFACE promisc off
down ifconfig $IFACE down

auto eth1
iface eth1 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down


#This also does nothing as br-int is not created when this script is executed
auto br-int
iface br-int inet dhcp


Any help on how to solve this? This really messes my startup so much that I'm thinking about removing MAAS and reinstall without the cloud-init stuff.










share|improve this question






























    2















    I have the problem someone pointed in the forum. But I see everyone have this problem with VM machines. In my case is with bare metal:



    When I start the machine I see cloud-init-nonet waiting for network.



    --------------------------------
    cloud-init-nonet[164.54]: gave up waiting for a network device.
    Cloud-init v. 0.7.5 running 'init' at Sat, 11 Oct 2014 22:23:38 +0000. Up 164.77 seconds.
    ci-info: +++++++++++++++++++++++Net device info+++++++++++++++++++++++
    ci-info: +--------+------+-----------+-----------+-------------------+
    ci-info: | Device | Up | Address | Mask | Hw-Address |
    ci-info: +--------+------+-----------+-----------+-------------------+
    ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . |
    ci-info: | eth1 | True | . | . | 68:XX:ca:YY:09:50 |
    ci-info: | eth0 | True | . | . | 00:XX:8c:YY:c7:00 |
    ci-info: +--------+------+-----------+-----------+-------------------+
    ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Route info failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    2014-10-12 00:25:44,469 - DataSourceMAAS.py[CRITICAL]: Giving up on md from ['http://172.16.0.40/MAAS/metadata//2012-03-01/meta-data/instance-id'] after 126 seconds
    2014-10-12 00:25:44,469 - util.py[WARNING]: No instance datasource found! Likely bad things to come!
    --------------------------------


    Is almost the same thing as seen here:



    https://ask.openstack.org/en/question/28297/cloud-init-nonet-waiting-and-fails/



    I also tried to explain in this bug:



    https://bugs.launchpad.net/cloud-init/+bug/1345433



    As I told in the bug it seems to me that openvswitch is not started in order. But I don't know. Maybe it's just my network config that's relaying on openvswitch db.



    My config is rather simple /etc/network/interfaces:



    ### This does nothing, but left here for future reference. It should work. It's supposed to be openvswitch support on startup
    allow-ovs br-ext
    iface br-ext inet manual
    ovs_type OVSBridge
    ovs_ports eth0


    # The primary network interface
    auto eth0
    iface eth0 inet manual
    up ifconfig $IFACE 0.0.0.0 up
    up ip link set $IFACE promisc on
    down ip link set $IFACE promisc off
    down ifconfig $IFACE down

    auto eth1
    iface eth1 inet manual
    up ifconfig $IFACE 0.0.0.0 up
    down ifconfig $IFACE down


    #This also does nothing as br-int is not created when this script is executed
    auto br-int
    iface br-int inet dhcp


    Any help on how to solve this? This really messes my startup so much that I'm thinking about removing MAAS and reinstall without the cloud-init stuff.










    share|improve this question


























      2












      2








      2








      I have the problem someone pointed in the forum. But I see everyone have this problem with VM machines. In my case is with bare metal:



      When I start the machine I see cloud-init-nonet waiting for network.



      --------------------------------
      cloud-init-nonet[164.54]: gave up waiting for a network device.
      Cloud-init v. 0.7.5 running 'init' at Sat, 11 Oct 2014 22:23:38 +0000. Up 164.77 seconds.
      ci-info: +++++++++++++++++++++++Net device info+++++++++++++++++++++++
      ci-info: +--------+------+-----------+-----------+-------------------+
      ci-info: | Device | Up | Address | Mask | Hw-Address |
      ci-info: +--------+------+-----------+-----------+-------------------+
      ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . |
      ci-info: | eth1 | True | . | . | 68:XX:ca:YY:09:50 |
      ci-info: | eth0 | True | . | . | 00:XX:8c:YY:c7:00 |
      ci-info: +--------+------+-----------+-----------+-------------------+
      ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Route info failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      2014-10-12 00:25:44,469 - DataSourceMAAS.py[CRITICAL]: Giving up on md from ['http://172.16.0.40/MAAS/metadata//2012-03-01/meta-data/instance-id'] after 126 seconds
      2014-10-12 00:25:44,469 - util.py[WARNING]: No instance datasource found! Likely bad things to come!
      --------------------------------


      Is almost the same thing as seen here:



      https://ask.openstack.org/en/question/28297/cloud-init-nonet-waiting-and-fails/



      I also tried to explain in this bug:



      https://bugs.launchpad.net/cloud-init/+bug/1345433



      As I told in the bug it seems to me that openvswitch is not started in order. But I don't know. Maybe it's just my network config that's relaying on openvswitch db.



      My config is rather simple /etc/network/interfaces:



      ### This does nothing, but left here for future reference. It should work. It's supposed to be openvswitch support on startup
      allow-ovs br-ext
      iface br-ext inet manual
      ovs_type OVSBridge
      ovs_ports eth0


      # The primary network interface
      auto eth0
      iface eth0 inet manual
      up ifconfig $IFACE 0.0.0.0 up
      up ip link set $IFACE promisc on
      down ip link set $IFACE promisc off
      down ifconfig $IFACE down

      auto eth1
      iface eth1 inet manual
      up ifconfig $IFACE 0.0.0.0 up
      down ifconfig $IFACE down


      #This also does nothing as br-int is not created when this script is executed
      auto br-int
      iface br-int inet dhcp


      Any help on how to solve this? This really messes my startup so much that I'm thinking about removing MAAS and reinstall without the cloud-init stuff.










      share|improve this question














      I have the problem someone pointed in the forum. But I see everyone have this problem with VM machines. In my case is with bare metal:



      When I start the machine I see cloud-init-nonet waiting for network.



      --------------------------------
      cloud-init-nonet[164.54]: gave up waiting for a network device.
      Cloud-init v. 0.7.5 running 'init' at Sat, 11 Oct 2014 22:23:38 +0000. Up 164.77 seconds.
      ci-info: +++++++++++++++++++++++Net device info+++++++++++++++++++++++
      ci-info: +--------+------+-----------+-----------+-------------------+
      ci-info: | Device | Up | Address | Mask | Hw-Address |
      ci-info: +--------+------+-----------+-----------+-------------------+
      ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . |
      ci-info: | eth1 | True | . | . | 68:XX:ca:YY:09:50 |
      ci-info: | eth0 | True | . | . | 00:XX:8c:YY:c7:00 |
      ci-info: +--------+------+-----------+-----------+-------------------+
      ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Route info failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      2014-10-12 00:25:44,469 - DataSourceMAAS.py[CRITICAL]: Giving up on md from ['http://172.16.0.40/MAAS/metadata//2012-03-01/meta-data/instance-id'] after 126 seconds
      2014-10-12 00:25:44,469 - util.py[WARNING]: No instance datasource found! Likely bad things to come!
      --------------------------------


      Is almost the same thing as seen here:



      https://ask.openstack.org/en/question/28297/cloud-init-nonet-waiting-and-fails/



      I also tried to explain in this bug:



      https://bugs.launchpad.net/cloud-init/+bug/1345433



      As I told in the bug it seems to me that openvswitch is not started in order. But I don't know. Maybe it's just my network config that's relaying on openvswitch db.



      My config is rather simple /etc/network/interfaces:



      ### This does nothing, but left here for future reference. It should work. It's supposed to be openvswitch support on startup
      allow-ovs br-ext
      iface br-ext inet manual
      ovs_type OVSBridge
      ovs_ports eth0


      # The primary network interface
      auto eth0
      iface eth0 inet manual
      up ifconfig $IFACE 0.0.0.0 up
      up ip link set $IFACE promisc on
      down ip link set $IFACE promisc off
      down ifconfig $IFACE down

      auto eth1
      iface eth1 inet manual
      up ifconfig $IFACE 0.0.0.0 up
      down ifconfig $IFACE down


      #This also does nothing as br-int is not created when this script is executed
      auto br-int
      iface br-int inet dhcp


      Any help on how to solve this? This really messes my startup so much that I'm thinking about removing MAAS and reinstall without the cloud-init stuff.







      networking maas cloud






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 12 '14 at 0:02









      Gonzalo Aguilar DelgadoGonzalo Aguilar Delgado

      1761 gold badge5 silver badges11 bronze badges




      1761 gold badge5 silver badges11 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0
















          This works for me:



          1. login with :gui by login/pass: vagrant/vagrant

          2. modify the /etc/rc.local file
            to include the line sh /etc/init.d/networking restart just before exit 0

          3. disable :gui

          4. vagrant up or vagrant reload

          https://github.com/mitchellh/vagrant/issues/391#issuecomment-2078383






          share|improve this answer



























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f535988%2fcloud-init-nonet%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0
















            This works for me:



            1. login with :gui by login/pass: vagrant/vagrant

            2. modify the /etc/rc.local file
              to include the line sh /etc/init.d/networking restart just before exit 0

            3. disable :gui

            4. vagrant up or vagrant reload

            https://github.com/mitchellh/vagrant/issues/391#issuecomment-2078383






            share|improve this answer





























              0
















              This works for me:



              1. login with :gui by login/pass: vagrant/vagrant

              2. modify the /etc/rc.local file
                to include the line sh /etc/init.d/networking restart just before exit 0

              3. disable :gui

              4. vagrant up or vagrant reload

              https://github.com/mitchellh/vagrant/issues/391#issuecomment-2078383






              share|improve this answer



























                0














                0










                0









                This works for me:



                1. login with :gui by login/pass: vagrant/vagrant

                2. modify the /etc/rc.local file
                  to include the line sh /etc/init.d/networking restart just before exit 0

                3. disable :gui

                4. vagrant up or vagrant reload

                https://github.com/mitchellh/vagrant/issues/391#issuecomment-2078383






                share|improve this answer













                This works for me:



                1. login with :gui by login/pass: vagrant/vagrant

                2. modify the /etc/rc.local file
                  to include the line sh /etc/init.d/networking restart just before exit 0

                3. disable :gui

                4. vagrant up or vagrant reload

                https://github.com/mitchellh/vagrant/issues/391#issuecomment-2078383







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 10 '16 at 16:07









                julthepjulthep

                1




                1































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f535988%2fcloud-init-nonet%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?