Project

Profile

Help

Task #8542

Handle errors due machine starting

Added by Ilfat Kinyaev almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ilfat Kinyaev
Category:
mdbci features
Sprint/Milestone:
Start date:
04.08.2017
Due date:
% Done:

0%

Estimated time:
5:00 h
Target branch:
Test scenario:

For testing:
1. Generate Vagrantfile
2. Up machines
3. If no errors occures: *to be continued*


Description

Linked with https://dev.osll.ru/issues/7197

For example:
galera_000: An error occurred. The error will be shown after all tasks complete

Try to restart machine, if falls: destroy machine.
Sample json in attach.

LOG https://osll.slack.com/files/timofey.turenko/F6HRLC9H9/-.txt:
ERROR: > maxscale: An error occurred. The error will be shown after all tasks complete.
ERROR: > node_003: An error occurred. The error will be shown after all tasks complete.
ERROR: > node_000: An error occurred. The error will be shown after all tasks complete.
ERROR: > galera_000: An error occurred. The error will be shown after all tasks complete.
ERROR: An error occurred while executing multiple actions in parallel.
ERROR: Any errors that occurred are shown below.
ERROR: An unexpected error occurred when executing the action on the
ERROR: 'node_000' machine. Please report this as a bug:
ERROR: undefined method `[]' for nil:NilClass
...
ERROR: Bringing up failed
ERROR: exit code 1
There are errors in the configuration of this machine. Please fix
the following errors and try again:
AWS Provider:
  • The following settings shouldn't exist: aws_profile
  • An access key ID must be specified via "access_key_id"
  • A secret access key is required via "secret_access_key"
  • An AMI must be configured via "ami" (region: #{region})
    ERROR: /home/turenko/mdbci/core/session.rb:679:in `up'
    /home/turenko/mdbci/core/session.rb:455:in `commands'
    /home/turenko/mdbci/mdbci:141:in `<main>'
    ERROR: undefined method `split' for nil:NilClass
    Error creating configuration
    Failed to create VMs, exiting
    + echo 1

https://osll.slack.com/files/timofey.turenko/F6HJCEPUZ/-.txt

https://osll.slack.com/files/timofey.turenko/F6K7JQ5QX/-.txt
cat consoleText.txt | grep "galera_000"
INFO: ==> galera_000: Rsyncing folder: /home/turenko/build-scripts/test-setup-scripts/cnf/ => /home/vagrant/cnf_templates
INFO: ==> galera_000: Rsyncing folder: /home/turenko/mdbci/recipes/cookbooks/ => /tmp/vagrant-chef/0d49f9d8e3fef4b5d46dd50d6252a423/cookbooks
ERROR: ==> galera_000: An error occurred. The error will be shown after all tasks complete.
ERROR: An error occurred while executing the action on the 'galera_000'
ERROR: Command: rsync --verbose --archive --delete -z --copy-links --no-owner --no-group --rsync-path sudo rsync -e ssh -p 22 -o ControlMaster=auto -o ControlPath=/tmp/ssh.778 -o ControlPersist=10m -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o UserKnownHostsFile=/dev/null -i '/home/turenko/vms/MXS-1266/.vagrant/machines/galera_000/libvirt/private_key' --exclude .vagrant/ /home/turenko/mdbci/recipes/cookbooks/ :/tmp/vagrant-chef/0d49f9d8e3fef4b5d46dd50d6252a423/cookbooks
INFO: galera_000 running (libvirt)

MXS-1266.json (2.95 KB) MXS-1266.json Ilfat Kinyaev, 04.08.2017 11:10

History

#1 Updated by Ilfat Kinyaev over 3 years ago

  • Description updated (diff)

#2 Updated by Ilfat Kinyaev over 3 years ago

  • Description updated (diff)

#3 Updated by Ilfat Kinyaev over 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF