Giter Site home page Giter Site logo

vyos-cloudinit's People

Contributors

anderssvanqvist avatar higebu avatar vikash082 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vyos-cloudinit's Issues

VyOS on OpenStack, tries to fetch ssh public-key from EC2 metadata URL

Hello,
I'm building an image for OpenStack, based on VyOS 1.1.7, with vyos-cloudinit 0.3.1.
Once set service cloudinit to openstack:

service {
    cloudinit {
        environment openstack
     }
}

Trying to start service here's what I get:
Starting vyos-cloudinit... could not retrieve user-data from http://169.254.169.254/latest/user_data

Looking further in configuration, previous URL is related to EC2. Even if I set ssh-key with correct URL for OpenStack (that is, http://169.254.169.254/latest/meta-data/public-keys//0/openssh-key) still tries to reach ECS metadata URL.

I'm still looking into it, do you have any clue?

Seems to be broken in 1.1.8

vyos@rtr001# set service cloudinit environment ec2

  Configuration path: service [cloudinit] is not valid
  Set failed

[edit]

vyos@rtr001:~$ show system image 
The system currently has the following image(s) installed:

   1: VyOS-1.1.8 (default boot) (running image)
   2: VyOS-1.1.7
   3: 1.1.7

Preferred Install Method

How do you suggest getting this installed on the AWS instance at launch when you need this pre-installed at creation to send user data?

Thanks

VyOS post-update advice?

VyOS 1.1.8 is out. Any advice concerning what to do after an image update? Naturally, vyos-cloudinit gets blown away. Is there a manual install procedure?

Race Condition: VyOS-CloudInit Runs Before Network Is Fully Up

VyOS-CloudInit seems to sometimes run before the network is fully up. This results is sporadic errors attempting to communicate with the metadata service.

After the first reboot, things seem to sort themselves out, and VyOS-CloudInit is able to fetch both the user-data and the ssh-key from the metadata service.

I think a retry mechanism is needed, like the real CloudInit. Thoughts?

I should also note, this is a VyOS instance running on OpenStack, created from an ISO install. I am going though the process getting VyOS working on OpenStack, and behaving as one would expect. This includes documenting how to create an OpenStack ready image, starting from an ISO install, adding the VyOS-CloudInit deb, configuring static routes to the metadata service, and finally, exporting a nicely compressed qcow2 image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.