Project

Profile

Help

Task #8328

Check install product for centos 7

Added by Alexander Kaluzhny almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Timofey Turenko
Category:
-
Sprint/Milestone:
Start date:
16.05.2017
Due date:
% Done:

0%

Estimated time:
Target branch:
Test scenario:

In description command used inproper command.

To install new product first you need to setup repo with version of product and only then install product, like that:
./mdbci setup_repo --product mariadb --product-version 10.1 CONFIG/NODE
./mdbci install_product --product mariadb CONFIG/NODE

+ some fixes in https://github.com/mariadb-corporation/mdbci/pull/18/files

Testing:
create config file(CONFIG_FILE) with content:
{
"cookbook_path" : "../recipes/cookbooks/",
"galera_000" :
{
"hostname" : "galera_000",
"box" : "centos_7_libvirt",
"memory_size" : "1024"
}
}
generate: ./mdbci --template CONFIG_FILE generate 8328
start: ./mdbci up 8328/
setup and install product: ./mdbci setup_repo --product mariadb --product-version 10.1 8328/galera_000
./mdbci install_product --product mariadb 8328/galera_000

Check that data base installed on VM, run:
cd 8328/ && vagrant ssh galera_000 -c 'mysql --version'
Output shoul look like that: mysql Ver 15.1 Distrib 10.1.25-MariaDB, for Linux (x86_64) using readline 5.1
Connection to 192.168.121.230 closed.


Description

./mdbci install_product --product mariadb 10.1 centos_7_libvirt-local_test-35/maxscale
INFO: MariaDb CI CLI
INFO: mdbci called with: ["install_product", "10.1", "centos_7_libvirt-local_test-35/maxscale"]
INFO: Checking this machine configuration requirments
INFO: .....NOT IMPLEMENTED YET
INFO: Load Boxes from ./BOXES
INFO: Loaded boxes: 50
INFO: Load AWS config from aws-config.yml
INFO: Load Repos from ./repo.d
INFO: Looking up for repos ./repo.d
INFO: Loaded repos: 752
ERROR: /home/vagrant/mdbci/core/node_product.rb:297:in `chdir'
/home/vagrant/mdbci/core/node_product.rb:297:in `installProduct'
/home/vagrant/mdbci/core/session.rb:456:in `commands'
./mdbci:133:in `<main>'
ERROR: No such file or directory - 10.1

History

#1 Updated by Mark Zaslavskiy almost 4 years ago

  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny
  • Priority changed from Normal to High

#2 Updated by Mark Zaslavskiy almost 4 years ago

  • Assignee deleted (Alexander Kaluzhny)

#3 Updated by Mark Zaslavskiy almost 4 years ago

  • Assignee set to Ilfat Kinyaev

#4 Updated by Mark Zaslavskiy almost 4 years ago

  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny

#5 Updated by Alexander Kaluzhny almost 4 years ago

  • Status changed from New to Active / In progress

#6 Updated by Alexander Kaluzhny almost 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy
  • Test scenario updated (diff)

In description used inproper command.

To install new product first you need to setup repo with version of product and only then install product, like that:
./mdbci setup_repo --product mariadb --product-version 10.1 CONFIG/NODE
./mdbci install_product --product mariadb CONFIG/NODE

+ some fixes in https://github.com/mariadb-corporation/mdbci/pull/18/files

Testing:
create config file(CONFIG_FILE) with content: {
"cookbook_path" : "../recipes/cookbooks/",
"galera_000" : {
"hostname" : "galera_000",
"box" : "centos_7_libvirt",
"memory_size" : "1024"
}
}
generate: ./mdbci --template CONFIG_FILE generate 8328
start: ./mdbci up 8328/
setup and install product: ./mdbci setup_repo --product mariadb --product-version 10.1 8328/galera_000
./mdbci install_product --product mariadb 8328/galera_000

Check that data base installed on VM, run:
cd 8328/ && vagrant ssh galera_000 -c 'mysql --version'
Output shoul look like that: mysql Ver 15.1 Distrib 10.1.25-MariaDB, for Linux (x86_64) using readline 5.1
Connection to 192.168.121.230 closed.

#7 Updated by Alexander Kaluzhny almost 4 years ago

  • Test scenario updated (diff)

#8 Updated by Mark Zaslavskiy almost 4 years ago

  • Status changed from Review to Testing
  • Assignee changed from Mark Zaslavskiy to Timofey Turenko

#9 Updated by Timofey Turenko over 3 years ago

  • Status changed from Testing to Closed

Also available in: Atom PDF