Re: [openstack-dev] [all] need help with my first commit: The branch 'master' does not exist on the given remote 'gerrit'

2015-04-16 Thread Tran, Steven
Just thought I should add the solution in case others run into the same issue.  
In my case I miss the following line in the configuration:
remote.gerrit.fetch=+refs/heads/*:refs/remotes/gerrit/*
Regards,
-Steven


From: Tran, Steven
Sent: Monday, January 26, 2015 9:10 PM
To: openstack-dev@lists.openstack.org
Subject: [openstack-dev] [all] need help with my first commit: The branch 
'master' does not exist on the given remote 'gerrit'

Hi,
   Can someone point out what I miss that results in the following warning?

$ git review
The branch 'master' does not exist on the given remote 'gerrit'. If
these changes are intended to start a new branch, re-run with the '-R'
option enabled.


I believe I shouldn't do "git review -R" because it prompts me to submit 
multiple commits.
I can do "git review -s" without any errors.
I follow the steps at 
http://docs.openstack.org/infra/manual/developers.html#starting-a-change
I'm using Cygwin.

$ git status
On branch bp/murano-driver
nothing to commit, working directory clean

$ git branch
* bp/murano-driver
  master

$ git config --list
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
remote.origin.url=https://github.com/stackforge/congress.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
remote.gerrit.url=ssh://steven...@review.openstack.org:29418/stackforge/congress.git
user.name=Steven Tran
user.email=steven.tr...@hp.com<mailto:user.email=steven.tr...@hp.com>
gitreview.username=stevenldt

$ git log
commit 5567b6e4622246ad86cdb9d6c0643427573e8d13
Author: Steven Tran mailto:steven.tr...@hp.com>>
Date:   Mon Jan 26 17:19:38 2015 -0800

Change-Id: Idc4abf32a7aa25231a7a6df511df998a0a3a50ad
Implements: blueprint murano-driver

Thanks,
-Steven
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Congress] murano-driver review

2015-03-04 Thread Tran, Steven
Hi core reviewers,
   I have a review for murano-driver improvement that's waiting for approval 
from core reviewers.  Please take a look at your convenience.  I just want to 
remind so it won't slip your attention.
https://review.openstack.org/#/c/158924/

Thanks,
-Steven
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Murano] exception in deployment

2015-02-04 Thread Tran, Steven
Hi,
   Has anyone seen this exception in the recent revision?  I just get the 
latest today.
   murano-engine outputs this exception when I deploy an environment.  It fails 
to create a VM.
   I wonder if it's my environment or a murano defect.


{"packages": [{"class_definitions": ["io.murano.Environment", 
"io.murano.resources.Network", "io.murano.Application", 
"io.murano.resources.WindowsInstance", 
"io.murano.resources.HeatSWConfigInstance", "io.murano.system.StatusReporter", 
"io.murano.resources.LinuxInstance", "io.murano.system.AgentListener", 
"io.murano.resources.NeutronNetwork", 
"io.murano.resources.LinuxMuranoInstance", 
"io.murano.resources.HeatSWConfigLinuxInstance", 
"io.murano.system.NetworkExplorer", "io.murano.system.Agent", 
"io.murano.SharedIp", "io.murano.system.HeatStack", 
"io.murano.system.InstanceNotifier", "io.murano.resources.Instance", 
"io.murano.system.SecurityGroupManager", "io.murano.StackTrace", 
"io.murano.Object", "io.murano.Exception", 
"io.murano.resources.LinuxUDInstance", "io.murano.system.Resources"], 
"description": "Core MuranoPL library\n", "tags": ["MuranoPL"], "updated": 
"2015-02-04T23:03:03", "is_public": true, "categories": [], "name": "Core 
library", "author": "murano.io", "created": "2015-02-04T23:03:03", "enabled": 
true, "id": "5ebdb96fc6f542dca9a1af766ddbfa94", "supplier": {}, 
"fully_qualified_name": "io.murano", "type": "Library", "owner_id": ""}]}
log_http_response /opt/stack/python-muranoclient/muranoclient/common/http.py:124
2015-02-04 17:37:50.950 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: Begin execution: 
io.murano.system.Resources.string (-7559542279869778927) called from File 
"/tmp/murano-packages-cache/1aaac863-f712-4ec6-b7c3-683d3498b951/io.murano/Classes/resources/Instance.yaml",
 line 98:28 in method deploy of class io.murano.resources.Instance
$.prepareUserData() _invoke_method_implementation 
/opt/stack/murano/murano/dsl/executor.py:142
2015-02-04 17:37:50.950 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: End execution: 
io.murano.system.Resources.string (-7559542279869778927) 
_invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:160
2015-02-04 17:37:50.952 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: Begin execution: 
io.murano.system.Resources.string (-7559542279869778927) called from File 
"/tmp/murano-packages-cache/1aaac863-f712-4ec6-b7c3-683d3498b951/io.murano/Classes/resources/Instance.yaml",
 line 98:28 in method deploy of class io.murano.resources.Instance
$.prepareUserData() _invoke_method_implementation 
/opt/stack/murano/murano/dsl/executor.py:142
2015-02-04 17:37:50.952 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: End execution: 
io.murano.system.Resources.string (-7559542279869778927) 
_invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:160
2015-02-04 17:37:50.953 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: Begin execution: 
io.murano.system.AgentListener.queueName (8227276669045428973) called from File 
"/tmp/murano-packages-cache/1aaac863-f712-4ec6-b7c3-683d3498b951/io.murano/Classes/resources/Instance.yaml",
 line 98:28 in method deploy of class io.murano.resources.Instance
$.prepareUserData() _invoke_method_implementation 
/opt/stack/murano/murano/dsl/executor.py:142
2015-02-04 17:37:50.953 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: End execution: 
io.murano.system.AgentListener.queueName (8227276669045428973) 
_invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:160
2015-02-04 17:37:50.954 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: Begin execution: 
io.murano.system.Agent.queueName (-5211629396053631386) called from File 
"/tmp/murano-packages-cache/1aaac863-f712-4ec6-b7c3-683d3498b951/io.murano/Classes/resources/Instance.yaml",
 line 98:28 in method deploy of class io.murano.resources.Instance
$.prepareUserData() _invoke_method_implementation 
/opt/stack/murano/murano/dsl/executor.py:142
2015-02-04 17:37:50.954 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: End execution: 
io.murano.system.Agent.queueName (-5211629396053631386) 
_invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:160
2015-02-04 17:37:50.956 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: End execution: 
io.murano.resources.LinuxMuranoInstance.prepareUserData (-6721861659645843611) 
_invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:160
2015-02-04 17:37:50.957 28689 DEBUG murano.dsl.executor [-] 
cad324b38b064c6a92f8bdf55b01ce37: Begin execution: 
io.murano.system.Agent.prepare (-5222445134521330586) called from File 
"/tmp/murano-packages-cache/1aaac863-f712-4ec6-b7c3-683d3498b951/io.murano.apps.linux.Telnet/Classes/telnet.yaml",
 line 32:9 in method deploy of class io.murano.apps.linux.Telnet
$.instance.de

[openstack-dev] [all] need help with my first commit: The branch 'master' does not exist on the given remote 'gerrit'

2015-01-26 Thread Tran, Steven
Hi,
   Can someone point out what I miss that results in the following warning?

$ git review
The branch 'master' does not exist on the given remote 'gerrit'. If
these changes are intended to start a new branch, re-run with the '-R'
option enabled.


I believe I shouldn't do "git review -R" because it prompts me to submit 
multiple commits.
I can do "git review -s" without any errors.
I follow the steps at 
http://docs.openstack.org/infra/manual/developers.html#starting-a-change
I'm using Cygwin.

$ git status
On branch bp/murano-driver
nothing to commit, working directory clean

$ git branch
* bp/murano-driver
  master

$ git config --list
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
remote.origin.url=https://github.com/stackforge/congress.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
remote.gerrit.url=ssh://steven...@review.openstack.org:29418/stackforge/congress.git
user.name=Steven Tran
user.email=steven.tr...@hp.com
gitreview.username=stevenldt

$ git log
commit 5567b6e4622246ad86cdb9d6c0643427573e8d13
Author: Steven Tran 
Date:   Mon Jan 26 17:19:38 2015 -0800

Change-Id: Idc4abf32a7aa25231a7a6df511df998a0a3a50ad
Implements: blueprint murano-driver

Thanks,
-Steven
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Congress] simulate examples

2014-12-22 Thread Tran, Steven
Hi,
   Does anyone have an example on how to use 'simulate' according to the 
following command line usage?

usage: openstack congress policy simulate [-h] [--delta] [--trace]

  

  What are the query and sequence? The example under 
/opt/stack/congress/examples doesn't mention about query and sequence.  It 
seems like all 4 parameters are required.
Thanks,
-Steven
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [tox] Connection to pypi.python.org timed out when installing markupsafe in tox

2014-12-18 Thread Tran, Steven
Hi,
   I'm new to Openstack & tox and I run into this issue with tox, so hopefully 
someone can point me a direction on how to resolve it.
   I try to run tox and out of many packages, tox gets timed out installing 
"markupsafe" but not those before it.  In fact,  the failure is on oslo.db and 
markupsafe is one of its dependencies.  I put "markupsafe" in a separate 
requirements.txt and try to install markupsafe before oslo.db and I still hit 
the timeout installing "markupsafe".  However, if I run the pip install 
manually with that same requirements.txt that contain "markupsafe", the install 
is successful.
   I suspect it's the proxy issue under tox.  But how do I include proxy in 
tox?  I have environment $http_proxy & $https_proxy set up properly.   I try to 
add proxy to pip: "install_command = pip install -U --proxy  {opts} 
{packages}" under tox.ini but it doesn't help.  I also increase the timeout for 
pip  or using an older version of pip (1.4) as someone suggest but that doesn't 
help either.
   I'm running Ubuntu 14.04.1.  pip 1.5.6.


stack@tv-156:/opt/stack/congress$ tox -e pep8 -v
using tox.ini: /opt/stack/congress/tox.ini
using tox-1.6.1 from /usr/local/lib/python2.7/dist-packages/tox/__init__.pyc
GLOB sdist-make: /opt/stack/congress/setup.py
  /opt/stack/congress$ /usr/bin/python /opt/stack/congress/setup.py sdist 
--formats=zip --dist-dir /opt/stack/congress/.tox/dist 
>/opt/stack/congress/.tox/log/tox-0.log
pep8 create: /opt/stack/congress/.tox/pep8
  /opt/stack/congress/.tox$ /usr/bin/python 
/usr/lib/python2.7/dist-packages/virtualenv.py --setuptools --python 
/usr/bin/python pep8 >/opt/stack/congress/.tox/pep8/log/pep8-0.log
pep8 installdeps: -r/opt/stack/congress/requirements.txt, 
-r/opt/stack/congress/requirements2.txt, 
-r/opt/stack/congress/requirements3.txt, 
-r/opt/stack/congress/test-requirements.txt
  /opt/stack/congress$ /opt/stack/congress/.tox/pep8/bin/pip install -U 
-r/opt/stack/congress/requirements.txt -r/opt/stack/congress/requirements2.txt 
-r/opt/stack/congress/requirements3.txt 
-r/opt/stack/congress/test-requirements.txt 
>/opt/stack/congress/.tox/pep8/log/pep8-1.log
ERROR: invocation failed, logfile: /opt/stack/congress/.tox/pep8/log/pep8-1.log
ERROR: actionid=pep8
msg=getenv
cmdargs=[local('/opt/stack/congress/.tox/pep8/bin/pip'), 'install', '-U', 
'-r/opt/stack/congress/requirements.txt', 
'-r/opt/stack/congress/requirements2.txt', 
'-r/opt/stack/congress/requirements3.txt', 
'-r/opt/stack/congress/test-requirements.txt']
env={'PYTHONIOENCODING': 'utf_8', 'NO_PROXY': 
'localhost,127.0.0.1,localaddress,.localdomain.com,192.168.178.88', 
'http_proxy': 'http://proxy.houston.hp.com:8080', 'FTP_PROXY': 
'http://proxy.houston.hp.com:8080', 'LESSOPEN': '| /usr/bin/lesspipe %s', 
'SSH_CLIENT': '192.168.2.49 62999 22', 'LOGNAME': 'stack', 'USER': 'stack', 
'PATH': 
'/opt/stack/congress/.tox/pep8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games',
 'HOME': '/home/stack', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': 
'/bin/bash', 'LANGUAGE': 'en_US:en', 'HTTPS_PROXY': 
'https://proxy.houston.hp.com:8080', 'SHLVL': '1', 'https_proxy': 
'https://proxy.houston.hp.com:8080', 'XDG_RUNTIME_DIR': '/run/user/1000', 
'VIRTUAL_ENV': '/opt/stack/congress/.tox/pep8', 'ftp_proxy': 
'http://proxy.houston.hp.com:8080', 'LC_ALL': 'C', 'XDG_SESSION_ID': '16', '_': 
'/usr/local/bin/tox', 'LS_COLORS': 
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:',
 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/19', 'OLDPWD': 
'/home/stack', 'HTTP_PROXY': 'http://proxy.houston.hp.com:8080', 'no_proxy': 
'localhost,127.0.0.1,localaddress,.localdomain.com,192.168.178.88', 'PWD': 
'/opt/stack/congress', 'MAIL': '/