Giter Club home page Giter Club logo

cloud-image-val's People

Contributors

atodorov avatar croissanne avatar fkolwa avatar jrusz avatar juan-abia avatar liangxiao1 avatar narmaku avatar ondrejbudai avatar pebringer avatar plageat avatar poncovka avatar sshmulev avatar thozza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cloud-image-val's Issues

add new coverage for bz2117700

kernel-debug, kernel-debug-devel matching current kernel version are available in repo

Here is ami-val key steps:
run_cmd(test_instance, "sudo yum -y install install kernel-debug-devel-$(uname -r)", timeout=1200)
run_cmd(test_instance, "sudo yum -y install install kernel-debug-$(uname -r)", timeout=1200)

Terraform AWS keypair creation improvement

We discovered that sometimes the AWS keypairs are not created in time while an instance for the same region is being created and it fails due to "nonexistent keypair".

Areas of improvement are:

  • Remove ".pub" in line 94
  • Modify Terraform controller to handle the Terraform configuration and create keypairs first
  • Remove "cloud" attribute from Configurator constructor. It already comes from resources.json
  • Add "get_cloud_provider_from_resources_json" function to configurator

Failing tests due to string quoting changes in systemd unit files

In osbuild/images#567 we made a non-functional change to the way we write systemd unit files. The Environment option in the osbuild stage now supports multiple entries. At the same time, we made it so that key=value assignments are quoted, which makes it easier to work with values with spaces.
From the systemd-exec man page:

ENVIRONMENT
       Environment=
           Sets environment variables for executed processes. Each line is unquoted using the rules described in "Quoting" section in
           systemd.syntax(7) and becomes a list of variable assignments. If you need to assign a value containing spaces or the equals sign to a
           variable, put quotes around the whole assignment.
...

           Example:

               Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6"

I think this change made CIV start failing to validate because it expects the unquoted strings in some of the cloud systemd units like here:

'expect_config': 'Environment=NM_CLOUD_SETUP_AZURE=yes'

The line now is Environment="NM_CLOUD_SETUP_AZURE=yes" instead of Environment=NM_CLOUD_SETUP_AZURE=yes.

float() use should be replaced with version.parse()

float values are not safe for comparisons, especially equality. They should not be used for version (or really, anything other than math). This codebase is already using packaging.version's parse for some of the version handling. The floats should be converted to do this as well.

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.