Commit Graph

27 Commits

Author SHA1 Message Date
Qu Xuan
3b0a437a12 feature: gcp rds sync 2020-03-20 18:05:57 +08:00
Qu Xuan
2c4d3f5215 fix: 加强密码校验 2020-01-06 11:44:32 +08:00
TangBin
f1e68528b0 elastic cache auth_mode status & password reset bugfix 2019-11-19 11:45:44 +08:00
Yousong Zhou
9ea42cf7e2 seclib2: add doc describing the protocol on removal of tmpfile 2019-11-05 03:55:34 +00:00
TangBin
732dcdd3be redis support 2 2019-10-31 19:51:02 +08:00
ioito
21be27e36c add rds operation 2019-10-24 11:40:22 +08:00
TangBin
12d4a2f0d0 ucloud bugfix 2019-07-19 15:32:16 +08:00
Qiu Jian
5a660987e6 feature: keystone support phase 1 2019-05-17 13:53:45 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
邱剑
7f8ea1b23e Automatic merge from release/2.5.0 -> release/2.6.0
* commit '7974b7127f490c40b19b7fb20621b74df1162f77':
  避免腾讯云使用以/开头的密码
2019-03-15 14:52:11 +08:00
邱剑
7974b7127f Automatic merge from release/2.4.0 -> release/2.5.0
* commit '3beb002e5d749fe4bfdd9964f73ee352b5e83702':
  避免腾讯云使用以/开头的密码
2019-03-15 14:52:10 +08:00
屈轩
c40dc1edcd 避免腾讯云使用以/开头的密码 2019-03-15 14:23:19 +08:00
Yousong Zhou
8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
Qiu Jian
1e4789285d minor improvements 2018-12-28 20:24:23 +08:00
Yousong Zhou
4f0b4ec7c9 govet: treewide
# yunion.io/x/onecloud/pkg/lbagent/utils
  pkg/lbagent/utils/configdir.go:134: unreachable code
  # yunion.io/x/onecloud/pkg/mcclient/modules
  pkg/mcclient/modules/mod_domains.go:243: Sprintf format %s has arg len(result.Data) of wrong type int
  # yunion.io/x/onecloud/pkg/lbagent/models
  pkg/lbagent/models/reflect.go:68: Errorf call needs 1 arg but has 2 args
  # yunion.io/x/onecloud/pkg/cloudcommon/db
  pkg/cloudcommon/db/db_dispatcher.go:1064: Sprintf call needs 1 arg but has 2 args
  # yunion.io/x/onecloud/pkg/scheduler/core
  pkg/scheduler/core/context.go:579: assignment copies lock value to dataItem.Networks: sync.Map contains sync.Mutex
  # yunion.io/x/onecloud/pkg/scheduler/data_manager
  pkg/scheduler/data_manager/candidate_manager.go:353: Errorf format %#v reads arg #1, but call has 0 args
  # yunion.io/x/onecloud/pkg/scheduler/algorithm/predicates/baremetal
  pkg/scheduler/algorithm/predicates/baremetal/network_predicate.go:145: call of u.SetFiltedData copies lock value: sync.Map contains sync.Mutex
  # yunion.io/x/onecloud/pkg/scheduler/algorithm/predicates/guest
  pkg/scheduler/algorithm/predicates/guest/network_predicate.go:207: call of u.SetFiltedData copies lock value: sync.Map contains sync.Mutex
  # yunion.io/x/onecloud/pkg/cloudcommon/db/lockman
  pkg/cloudcommon/db/lockman/inmemory_test.go:49: loop variable id captured by func literal
  # yunion.io/x/onecloud/pkg/util/seclib2
  pkg/util/seclib2/seclib.go:56: unreachable code
  # yunion.io/x/onecloud/cmd/climc/shell
  cmd/climc/shell/alarmlogs.go:46: result of fmt.Errorf call not used
  # yunion.io/x/onecloud/pkg/util/aliyun
  pkg/util/aliyun/disk.go:267: Errorf format %s has arg size of wrong type int64
  pkg/util/aliyun/image.go:93: Sprintf format %s reads arg #1, but call has 0 args
  # yunion.io/x/onecloud/pkg/compute/models
  pkg/compute/models/cachedimages.go:161: Errorf format %d has arg imgId of wrong type string
  pkg/compute/models/disks.go:1274: Errorln call has possible formatting directive %s
  pkg/compute/models/guests.go:1749: Infof format %s has arg self.IsOwner(userCred) of wrong type bool
  pkg/compute/models/hosts.go:1134: Debugf format %s has arg storage of wrong type *models.SStorage
  pkg/compute/models/hosts.go:1135: Debugf format %s has arg self of wrong type *models.SHost
  # yunion.io/x/onecloud/pkg/util/azure
  pkg/util/azure/instance.go:536: unreachable code
  pkg/util/azure/network.go:128: unreachable code
  pkg/util/azure/storage.go:69: unreachable code
  # yunion.io/x/onecloud/pkg/util/azure/shell
  pkg/util/azure/shell/disk.go:20: unreachable code
  pkg/util/azure/shell/network.go:55: unreachable code
2018-10-22 12:33:41 +00:00
Zhang Dongliang
06f588ad64 go fmt 2018-10-19 16:08:11 +08:00
邱剑
510ad125db Automatic merge from release/2.2.0 -> release/2.3.0
* commit 'a72b479bdb8bf848b48a315fb667ec4ee38142fc':
  改进:允许climc指定tls证书,允许服务指定tls证书
2018-10-18 16:01:19 +08:00
Qiu Jian
575ea95525 改进:允许climc指定tls证书,允许服务指定tls证书 2018-10-17 16:45:11 +08:00
Qiu Jian
23443c07bc 修正:1. 阿里云自动设置Import/Export image ram授权,不再需要手动授权 2.
修正公有云注入userdata的问题
2018-10-13 20:36:15 +08:00
Qiu Jian
b17b24b232 Update format 2018-10-12 12:13:35 +08:00
Qiu Jian
17175bc0a4 改进:1. 部署VM时注入全局和项目公钥 2. 完善keypair的创建和导入功能 3.
其他
2018-10-11 23:04:42 +08:00
Qiu Jian
e460919cbe minor fixes 2018-09-15 19:44:48 +08:00
Qiu Jian
8c2250517f 修正:1. 主机创建/rebuild root密码设置问题 2. climc 密码设置问题 3.
billing_type字段为空导致创建主机失败问题
2018-09-15 00:31:58 +08:00
Qiu Jian
e771067879 增加 billing_type 和 expire_at 字段,用于计费 2018-09-14 17:49:29 +08:00
Zexi
cbc0c234f2 - climc: 设置 option 没有 subcommand 的情况下进入交互模式, 代码逻辑变清晰
- make fmt
2018-08-17 12:11:08 +08:00
Zexi Li
e6788bb75e add doc.go for each package 2018-08-11 14:41:38 +08:00
Qiu Jian
f0ec8a563e 修正:1. 删除VPC导致hostwire数据不一致问题 2. 阿里云主机无操作系统信息
3. 其他一些BUGfix
2018-08-09 17:49:17 +08:00