Giter VIP home page Giter VIP logo

bacchus's People

Contributors

armagankaratosun avatar matonb avatar niyazielvan avatar openbacchus avatar xandradx avatar

Stargazers

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

Watchers

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

bacchus's Issues

Backups not created - oVirt 4.2.8

Hi Everyone,
Backup jobs are not created ( neither on-demand, nor scheduled ). Worker log shows this error:

Traceback (most recent call last):
File "/usr/bin/celery", line 10, in
sys.exit(main())
File "/usr/lib/python2.7/site-packages/celery/main.py", line 14, in main
_main()
File "/usr/lib/python2.7/site-packages/celery/bin/celery.py", line 326, in main
cmd.execute_from_commandline(argv)
File "/usr/lib/python2.7/site-packages/celery/bin/celery.py", line 488, in execute_from_commandline
super(CeleryCommand, self).execute_from_commandline(argv)))
File "/usr/lib/python2.7/site-packages/celery/bin/base.py", line 281, in execute_from_commandline
return self.handle_argv(self.prog_name, argv[1:])
File "/usr/lib/python2.7/site-packages/celery/bin/celery.py", line 480, in handle_argv
return self.execute(command, argv)
File "/usr/lib/python2.7/site-packages/celery/bin/celery.py", line 412, in execute
).run_from_argv(self.prog_name, argv[1:], command=argv[0])
File "/usr/lib/python2.7/site-packages/celery/bin/worker.py", line 221, in run_from_argv
return self(*args, **options)
File "/usr/lib/python2.7/site-packages/celery/bin/base.py", line 244, in call
ret = self.run(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/celery/bin/worker.py", line 255, in run
**kwargs)
File "/usr/lib/python2.7/site-packages/celery/worker/worker.py", line 99, in init
self.setup_instance(**self.prepare_args(**kwargs))
File "/usr/lib/python2.7/site-packages/celery/worker/worker.py", line 122, in setup_instance
self.should_use_eventloop() if use_eventloop is None
File "/usr/lib/python2.7/site-packages/celery/worker/worker.py", line 241, in should_use_eventloop
self._conninfo.transport.implements.async and
File "/usr/lib/python2.7/site-packages/kombu/transport/base.py", line 127, in getattr
raise AttributeError(key)
AttributeError: async

Using oVirt 4.2.8.
Any suggestions ?

Thank you very much !

Error Backup

I am not able to back it up. I noticed that he tries to create the VM before finishing Snapshot.
in the image you can verify that in more than one test it makes the same error.
Another point is that in the dasboard it is not updating some information. Should I make any corrections?

Tks,

Fernando Pandolphi

capturar

capturar2

Unnecessary steps on Backup a powered down VM

Currently, the process for a powered up and powered down vm, is the same.

The correct process for backup a powered down vm, it's just to export the VM, there's no need to take a SnapShot, clone and export.

[RESOLVED] 502 Bad Gateway after fresh install

Description of problem:
Can't access web UI after fresh install.

Steps to Reproduce:

  1. Install fresh CentOS 7 minimal
  2. Install ansible, wget
  3. set nginx_ssl_port: 443
  4. bacchus_hostname: openbacchus. (resolved from internal dns)
  5. set mail server settings
  6. add to installer.yml
    environment:
    http_proxy: http://10.:3128
    https_proxy: http://10.:3128
  7. timezone: Europe/Moscow
  8. systemctl stop firewalld

Actual results:
502 Bad Gateway

Expected results:
Web UI is opened

Additional info:

  1. nginx log:

10.169.20.26 - - [27/Jun/2018:16:55:49 +0300] "GET / HTTP/1.1" 502 575 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 YaBrowser/18.4.1.871 Yowser/2.5 Safari/537.36" "-"
10.169.20.26 - - [27/Jun/2018:16:55:49 +0300] "GET /favicon.ico HTTP/1.1" 502 575 "https://openbacchus./" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 YaBrowser/18.4.1.871 Yowser/2.5 Safari/537.36" "-"

  1. netstat info

[root@openbacchus tmp]# netstat -npl4
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 6664/python
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 6243/nginx: master
tcp 0 0 0.0.0.0:4369 0.0.0.0:* LISTEN 3476/epmd
tcp 0 0 0.0.0.0:5555 0.0.0.0:* LISTEN 6615/python2
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1016/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1239/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 6243/nginx: master
tcp 0 0 0.0.0.0:25672 0.0.0.0:* LISTEN 3461/beam.smp
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 3389/mysqld
udp 0 0 127.0.0.1:323 0.0.0.0:* 685/chronyd

  1. nginx bacchus.conf

server {
server_name 'openbacchus.';
listen 443 ssl default deferred;
ssl_certificate /etc/ssl/certs/bacchus-selfsigned.crt;
ssl_certificate_key /etc/ssl/private/bacchus-selfsigned.key;
ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:!ADH:!AECDH:!MD5;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
location / {
proxy_pass_header Authorization;
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;
client_max_body_size 0;
proxy_read_timeout 36000s;
proxy_redirect off;
}
}

backup created bu openbacchus has invalid name

Hi, Trying to import from an backup, there's a error message bcos Red Hat Virtualization Manager Version: 4.1.11.2-0.1.el7 importing dialog doesn't like bacchus generated filename - see image please

20180713_134622x

Thanks,
Steve

Multiple ovirt clusters

I've got a couple of oVirt clusters, which I think is a case you've not covered yet.

Cluster1: Version 4.1.6.2-1.el7.centos
Cluster2: Version 4.1.7.1-1.el7.centos

I can add manages for each cluster and the vm list reflects machines from both, however I can only backup servers that are in the cluster managed by the first manager entered.

If I try to back up a VM from the second cluster I get the following error in worker.log:

[2017-09-26 13:08:39,043: INFO/MainProcess] Received task: manager.tasks.backup_vm[8099b23a-7431-46aa-b0fb-546eb7348f4e]  
[2017-09-26 13:08:39,454: ERROR/ForkPoolWorker-7] Task manager.tasks.backup_vm[8099b23a-7431-46aa-b0fb-546eb7348f4e] raised unexpected: IndexError('list index out of range',)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 367, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 622, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/bacchus/bacchus/manager/tasks.py", line 23, in backup_vm
    return VMTools.backup_vm(rhevmname,vmname)
  File "/home/bacchus/bacchus/manager/vmtools.py", line 183, in backup_vm
    vm = vms_service.list(search='name='+str(vmname))[0]
IndexError: list index out of range

I suspect that the backup task is using the first (possibly a random?) manager that it comes across, and not linking / associating virtual machines with specific manager accounts.

Installation does not finnish - Centos 7

Hi,
Fresh install, it throws the folowing error regarding django, even though i have issued "pip --upgrade django" before running the playbook.
I had to upgrade celery accordingly toissue #47 :

TASK [Open Bacchus preflight check] *********************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["python", "manage.py", "check"], "delta": "0:00:01.092414", "end": "2019-04-13 10:48:57.186008", "msg": "non-zero return code", "rc": 1, "start": "2019-04-13 10:48:56.093594", "stderr": "Traceback (most recent call last):\n File "manage.py", line 22, in \n execute_from_command_line(sys.argv)\n File "/usr/lib64/python2.7/site-packages/django/core/management/init.py", line 367, in execute_from_command_line\n utility.execute()\n File "/usr/lib64/python2.7/site-packages/django/core/management/init.py", line 316, in execute\n settings.INSTALLED_APPS\n File "/usr/lib64/python2.7/site-packages/django/conf/init.py", line 53, in getattr\n self._setup(name)\n File "/usr/lib64/python2.7/site-packages/django/conf/init.py", line 41, in _setup\n self._wrapped = Settings(settings_module)\n File "/usr/lib64/python2.7/site-packages/django/conf/init.py", line 97, in init\n mod = importlib.import_module(self.SETTINGS_MODULE)\n File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module\n import(name)\n File "/opt/bacchus/bacchus/init.py", line 2, in \n from .celery import app as celery_app\n File "/opt/bacchus/bacchus/celery.py", line 8, in \n app = Celery('bacchus')\n File "/usr/lib/python2.7/site-packages/celery/app/base.py", line 286, in init\n self._fixups = [symbol_by_name(fixup)(self) for fixup in self.fixups]\n File "/usr/lib/python2.7/site-packages/celery/fixups/django.py", line 46, in fixup\n _verify_django_version(django)\n File "/usr/lib/python2.7/site-packages/celery/fixups/django.py", line 34, in _verify_django_version\n raise ImproperlyConfigured('Celery 4.x requires Django 1.11 or later.')\ncelery.exceptions.ImproperlyConfigured: Celery 4.x requires Django 1.11 or later.", "stderr_lines": ["Traceback (most recent call last):", " File "manage.py", line 22, in ", " execute_from_command_line(sys.argv)", " File "/usr/lib64/python2.7/site-packages/django/core/management/init.py", line 367, in execute_from_command_line", " utility.execute()", " File "/usr/lib64/python2.7/site-packages/django/core/management/init.py", line 316, in execute", " settings.INSTALLED_APPS", " File "/usr/lib64/python2.7/site-packages/django/conf/init.py", line 53, in getattr", " self._setup(name)", " File "/usr/lib64/python2.7/site-packages/django/conf/init.py", line 41, in _setup", " self._wrapped = Settings(settings_module)", " File "/usr/lib64/python2.7/site-packages/django/conf/init.py", line 97, in init", " mod = importlib.import_module(self.SETTINGS_MODULE)", " File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module", " import(name)", " File "/opt/bacchus/bacchus/init.py", line 2, in ", " from .celery import app as celery_app", " File "/opt/bacchus/bacchus/celery.py", line 8, in ", " app = Celery('bacchus')", " File "/usr/lib/python2.7/site-packages/celery/app/base.py", line 286, in init", " self._fixups = [symbol_by_name(fixup)(self) for fixup in self.fixups]", " File "/usr/lib/python2.7/site-packages/celery/fixups/django.py", line 46, in fixup", " _verify_django_version(django)", " File "/usr/lib/python2.7/site-packages/celery/fixups/django.py", line 34, in _verify_django_version", " raise ImproperlyConfigured('Celery 4.x requires Django 1.11 or later.')", "celery.exceptions.ImproperlyConfigured: Celery 4.x requires Django 1.11 or later."], "stdout": "", "stdout_lines": []}
to retry, use: --limit @/root/bacchus/installer.retry

Any thoughts ?

Thank you !

Install on Debian 9 error - Command "python setup.py egg_info" failed with error code 1 ...

Hello

I'm getting an error in step 2 (from https://github.com/openbacchus/bacchus/blob/master/README.md)

# apt-get install build-essential (successfully)
# apt-get install libxml2-dev python-dev python-pip libmariadb-dev mariadb-server rabbitmq-server (successfully)
# pip install django==1.10.6 (successfully)
# pip install django-fernet-fields (successfully)
...
# pip install ovirt-engine-sdk-python==4.1.2

Collecting ovirt-engine-sdk-python==4.1.2
  Downloading ovirt-engine-sdk-python-4.1.2.tar.gz (243kB)
    100% |████████████████████████████████| 245kB 1.6MB/s
Requirement already satisfied: enum34 in /usr/lib/python2.7/dist-packages (from ovirt-engine-sdk-python==4.1.2)
Collecting pycurl>=7.19.0 (from ovirt-engine-sdk-python==4.1.2)
  Downloading pycurl-7.43.0.1.tar.gz (195kB)
    100% |████████████████████████████████| 204kB 2.2MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-ZP6Fk5/pycurl/setup.py", line 841, in <module>
        ext = get_extension(sys.argv, split_extension_source=split_extension_source)
      File "/tmp/pip-build-ZP6Fk5/pycurl/setup.py", line 508, in get_extension
        ext_config = ExtensionConfiguration(argv)
      File "/tmp/pip-build-ZP6Fk5/pycurl/setup.py", line 72, in __init__
        self.configure()
      File "/tmp/pip-build-ZP6Fk5/pycurl/setup.py", line 108, in configure_unix
        raise ConfigurationError(msg)
    __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ZP6Fk5/pycurl/

# lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.3 (stretch)
Release:        9.3
Codename:       stretch

detected unhandled Python exception in '/usr/bin/celery'

console:
[root@cs-test3 logs]# systemctl status nginx
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2018-07-10 09:35:49 EDT; 5h 43min ago
Process: 14349 ExecStart=/usr/sbin/nginx (code=exited, status=0/SUCCESS)
Process: 14346 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
Process: 14344 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
Main PID: 14351 (nginx)
Tasks: 3
CGroup: /system.slice/nginx.service
├─14351 nginx: master process /usr/sbin/nginx
├─14352 nginx: worker process
└─14353 nginx: worker process

Jul 10 09:35:49 cs-test3.bu.edu systemd[1]: Starting The nginx HTTP and reverse proxy server...
Jul 10 09:35:49 cs-test3.bu.edu nginx[14346]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Jul 10 09:35:49 cs-test3.bu.edu nginx[14346]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Jul 10 09:35:49 cs-test3.bu.edu systemd[1]: Started The nginx HTTP and reverse proxy server.
[root@cs-test3 logs]# systemctl status bacchus
● bacchus.service - Bacchus Service
Loaded: loaded (/etc/systemd/system/bacchus.service; enabled; vendor preset: disabled)
Active: active (exited) since Tue 2018-07-10 09:35:49 EDT; 5h 44min ago
Process: 14377 ExecStart=/bin/bash /opt/bacchus/tools/start_bacchus.sh (code=exited, status=0/SUCCESS)
Main PID: 14377 (code=exited, status=0/SUCCESS)
Tasks: 10
CGroup: /system.slice/bacchus.service
├─14381 /usr/bin/python2 /usr/bin/celery -A bacchus beat -l info -S django --workdir /opt/bacchus
├─14383 /usr/bin/python2 /usr/bin/celery -A bacchus flower --broker=amqp://bacchus:test@ob@localhost:5672/bacchus --basic_auth=admin:test@ob --...
├─14387 python /opt/bacchus/manage.py runserver 127.0.0.1:8080
└─14440 /usr/bin/python /opt/bacchus/manage.py runserver 127.0.0.1:8080

Jul 10 09:35:49 cs-test3.bu.edu systemd[1]: Starting Bacchus Service...
Jul 10 09:35:49 cs-test3.bu.edu bash[14377]: [worker] running with pid 14379
Jul 10 09:35:49 cs-test3.bu.edu bash[14377]: [beat] running with pid 14381
Jul 10 09:35:49 cs-test3.bu.edu bash[14377]: [flower] running with pid 14383
Jul 10 09:35:49 cs-test3.bu.edu bash[14377]: [server] running with pid 14387
Jul 10 09:35:49 cs-test3.bu.edu systemd[1]: Started Bacchus Service.
Jul 10 09:35:50 cs-test3.bu.edu python2[14379]: detected unhandled Python exception in '/usr/bin/celery'
[root@cs-test3 logs]# uname -a
Linux cs-test3.bu.edu 3.10.0-862.6.3.el7.x86_64 #1 SMP Tue Jun 26 16:32:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@cs-test3 logs]#

bacchus-logs.zip

Please advise what else i can send or try- thanks!
Steve
[email protected]
[email protected]

OAuthException access_denied: Cannot authenticate user 'openbacchus@internal'

I have tried to use user openbacchus@internal in ovirt-engine to login from openbacchus web console. But auth failed with error in ovirt engine log:

2018-08-15 10:06:39,681+03 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-25) [] EVENT_ID: USER_VDC_LOGIN_FAILED(114), User openbacchus@internal connecting from '10.169.2.2' failed to log in : 'Unable to log in. Verify your login information or contact the system administrator.'.
2018-08-15 10:06:39,682+03 ERROR [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-23) [] OAuthException access_denied: Cannot authenticate user 'openbacchus@internal': Unable to log in. Verify your login information or contact the system administrator.

But if use curl to examine ovirt API auth going with no problems:

curl -u openbacchus@internal:XXX https://ovirt.XXX/ovirt-engine/api --insecure

2018-08-15 10:06:59,942+03 INFO [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-30) [] User openbacchus@internal successfully logged in with scopes: ovirt-app-api ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate ovirt-ext=token:password-access
2018-08-15 10:06:59,975+03 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-27) [16aa1567] EVENT_ID: USER_VDC_LOGIN(30), User openbacchus@internal-authz connecting from '10.169.2.2' using session 'zrnefmQfOaFXhv4PoHXmDOScUtPTr0ivr+/zxAXmKCEG/FLUGoxe1u1SCVWA2ZuVhUl6RMpq9drT/S+7op6DTA==' logged in.

Feature request: retention policy

Looking for a way to say how many backups of a VM to keep, suppose k. When k+1 backup runs nice to delete oldest. Alternately the retention could be on it's own schedule as it's not necessary to be associated with a backup schedule.

Timezone

I'm just trying/testing openbacchaus.

First VM backup seems to be running fine, however the time displayed in running tasks is two hours ahead of the server (both ovirt and machine openbacchus is running on).

Where / how to I check the time zone ?

Thanks

Ansible Installation - flower setup error

Hi,
I am encountering this error, during a fresh install:

TASK [Install Flower] ***********************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/pip2 install flower", "msg": "stdout: Collecting flower\n Downloading https://files.pythonhosted.org/packages/36/15/ed670b1f1fe14727f1564c9d98d7a917352ce8a0d88e87256be3c1e1190e/flower-0.9.3.tar.gz (1.3MB)\n Complete output from command python setup.py egg_info:\n error in flower setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers\n \n ----------------------------------------\n\n:stderr: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\nCommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-loqQjG/flower/\n"}
to retry, use: --limit @/root/installer.retry


Any thoughts or suggestions ?
Thank you very much !

Timeout

Login timeout seems to be about 10 minutes. Is there a way to change this?

Project Roadmap ?

Hello.

Do you have a road map for the project? What to expect changes in the project and when?

Dashboard

Hi,

I install today Bacchus and my dashboard shows me some "fake" resultes. How can i reset it?

Thanks

Feature-Request: Job by Job

Hi all,
is it possible to give bacchus the option to start a new job only if the job before is done?
sandro

Issue when start the backup

hello, i got this error when starting the backup for a vm :

[root@bacchua ~]# tailf /opt/bacchus/logs/worker.log
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 367, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 622, in protected_call
return self.run(*args, **kwargs)
File "/opt/bacchus/manager/tasks.py", line 24, in backup_vm
return VMTools.backup_vm(rhevmname,vmname)
File "/opt/bacchus/manager/vmtools.py", line 216, in backup_vm
vmbackups.export=export_domain.name
NameError: global name 'vmbackups' is not defined

Refresh / Rediscover VM List

Hi,

Still testing openbacchus.
I've renamed a couple of VM's in ovirt but the change doesn't appear in the VM Protection -> Virtual Machines list.

I'm guessing that openbacchus has cached the machine list in it's DB but hasn't checked that the details are all the same?

Maybe a refresh button would be a good idea...

No Host, no VM's visible in Dashboard

Is known why I cannot get my VM's visible in Bacchus?
I've created a Vitr.Manager with Engine API URL, that's verificated right.
When I check the URL of API, I see a lot of rows with:
link href="/ovirt-engine/api/.....
also
link href="/ovirt-engine/api/vms" rel="vms"/>

I use Ovirt 4.2.7.5-1.el7

'NoneType' object has no attribute 'id'

After OS fresh cannot add manager with exception.

Request Method: | POST
http://openbacchus.XXX/add_manager/
1.10.6
AttributeError
'NoneType' object has no attribute 'id'
/opt/bacchus/manager/vmtools.py in run_cluster_inv, line 89
/usr/bin/python
2.7.5
['/opt/bacchus', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib/python2.7/site-packages', '/']
Wed, 15 Aug 2018 11:19:38 +0300

Environment:

Request Method: POST
Request URL: http://openbacchus.XXX/add_manager/

Django Version: 1.10.6
Python Version: 2.7.5
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_celery_beat',
'django_celery_results',
'manager',
'login',
'scheduler',
'settings']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']

Traceback:

File "/usr/lib64/python2.7/site-packages/django/core/handlers/exception.py" in inner
42. response = get_response(request)

File "/usr/lib64/python2.7/site-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)

File "/usr/lib64/python2.7/site-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/lib64/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
23. return view_func(request, *args, **kwargs)

File "/opt/bacchus/manager/views.py" in add_manager
48. VMTools.run_cluster_inv()

File "/opt/bacchus/manager/vmtools.py" in run_cluster_inv
89. mydc = DataCenter.objects.get(dcid=cl.data_center.id)

Exception Type: AttributeError at /add_manager/
Exception Value: 'NoneType' object has no attribute 'id'

On-demand backups not creating

Hi,
Using with oVirt 4.2.8, I am trying to create a one-time backup. It does not created, and also not appearing in task lists.
Any suggestions ?
Thank you !

backups also appear in main list of VMs

Hi,
Please see attached figures.

After I run some backups, they do appear in the "Exports->VM Import" pane (capture-exports-view.png) where expected. But they also appear in the main list of hosts (capture-vms-view.png). I would like to suppress these or at least put them in a folder.

Thanks,
Steve
capture-export-view
capture-vms-view

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.