Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3.1.32打包后生成的版本包部署失败 #20

Closed
3 tasks done
pagezz-canway opened this issue Apr 2, 2019 · 0 comments · Fixed by #21
Closed
3 tasks done

V3.1.32打包后生成的版本包部署失败 #20

pagezz-canway opened this issue Apr 2, 2019 · 0 comments · Fixed by #21
Labels
type/bug 缺陷

Comments

@pagezz-canway
Copy link
Contributor

pagezz-canway commented Apr 2, 2019

问题描述

V3.1.32打包后生成的版本包部署失败

重现方法

第一次部署

关键信息

请提供以下信息:

  • bk_sops V3.1.32-ce
  • 蓝鲸PaaS 版本
    open_paas: 3.0.94
    paas_agent: 3.0.8
  • bk_sops 异常日志
------STARTING: Migrate Database------
Traceback (most recent call last):
  File "manage.py", line 27, in <module>
    execute_from_command_line(sys.argv)
  File "/cache/.bk/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/cache/.bk/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 328, in execute
    django.setup()
  File "/cache/.bk/env/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/cache/.bk/env/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/cache/.bk/env/lib/python2.7/site-packages/django/apps/config.py", line 112, in create
    mod = import_module(mod_path)
  File "/cache/.bk/env/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/data/app/code/pipeline/apps.py", line 18, in <module>
    from rediscluster import StrictRedisCluster
  File "/cache/.bk/env/lib/python2.7/site-packages/rediscluster/__init__.py", line 7, in <module>
    from .client import StrictRedisCluster, RedisCluster
  File "/cache/.bk/env/lib/python2.7/site-packages/rediscluster/client.py", line 10, in <module>
    from .connection import (
  File "/cache/.bk/env/lib/python2.7/site-packages/rediscluster/connection.py", line 11, in <module>
    from .nodemanager import NodeManager
  File "/cache/.bk/env/lib/python2.7/site-packages/rediscluster/nodemanager.py", line 12, in <module>
    from redis._compat import b, unicode, bytes, long, basestring
ImportError: cannot import name b
------FAILURE: Migrate Database------
pagezz-canway added a commit that referenced this issue Apr 2, 2019
bugfix: #20 修复redis最新版本不兼容redis-py-cluster的问题,redis版本号升级到2.10.6
pagezz-canway added a commit that referenced this issue Apr 2, 2019
bugfix: #20 修复redis最新版本不兼容redis-py-cluster的问题,redis版本号升级到2.10.6
homholueng pushed a commit that referenced this issue Jul 2, 2019
bugfix: #20 修复redis最新版本不兼容redis-py-cluster的问题,redis版本号升级到2.10.6
homholueng pushed a commit that referenced this issue Jul 2, 2019
bugfix: #20 修复redis最新版本不兼容redis-py-cluster的问题,redis版本号升级到2.10.6
pagezz-canway pushed a commit that referenced this issue Aug 12, 2019
homholueng pushed a commit that referenced this issue Dec 9, 2019
pagezz-canway pushed a commit to pagezz-canway/bk-sops that referenced this issue Dec 27, 2019
pagezz-canway added a commit to pagezz-canway/bk-sops that referenced this issue Dec 27, 2019
bugfix: TencentBlueKing#20 修复redis最新版本不兼容redis-py-cluster的问题,redis版本号升级到2.10.6
pagezz-canway added a commit to pagezz-canway/bk-sops that referenced this issue Dec 27, 2019
bugfix: TencentBlueKing#20 修复redis最新版本不兼容redis-py-cluster的问题,redis版本号升级到2.10.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug 缺陷
Projects
None yet
1 participant