Rewrite the code vcenter_compute_zones.py
Bug #1598440 reported by
Andrey Kirilochkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Rodion Tikunov |
Bug Description
Please improve this improve
+def get_data_
+ cmd = 'ruby -r hiera -r yaml -e \'hiera = Hiera.new(:config => \
+ "/etc/puppet/
+ [], {}; puts YAML.dump data\''
+ try:
+ cmd_data = subprocess.
+ except subprocess.
+ print("Error code", err.returncode, err.output)
+ sys.exit(1)
+
+ data = yaml.load(
+ return data
We running ruby in python in shell in puppet, something wrong.
+ AUTH_URL = "http://" + IP + ":5000/v2.0/"
Hardcoded auth url value.
tags: | added: area-partners |
Changed in fuel: | |
milestone: | none → 10.0 |
tags: | added: tech-debt |
Changed in fuel: | |
assignee: | nobody → Fuel Partner Core (fuel-partner-core) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in fuel: | |
milestone: | 10.0 → 9.2 |
importance: | Medium → High |
Changed in fuel: | |
assignee: | Fuel Partner Core (fuel-partner-core) → Andrey Kirilochkin (andreika-mail) |
status: | Confirmed → In Progress |
Changed in fuel: | |
importance: | High → Medium |
Changed in fuel: | |
assignee: | Andrey Kirilochkin (andreika-mail) → Rodion Tikunov (rtikunov) |
To post a comment you must log in.
Guys, please merge it. /review. openstack. org/#/c/ 379841/
Bugfix: https:/