Re: [Openstack] git-review removing /gerrit

2017-06-27 Thread Clark Boylan
On Thu, Jun 22, 2017, at 02:04 AM, Raghuram Vadapalli wrote:
> I am trying to checkout a change from gerrit using git review -d
> 
>  -v.
> 
> I am getting following error:
> 
> 2017-06-21 23:40:20.187678 Running: git config --get gitreview.scheme
> 2017-06-21 23:40:20.190498 Running: git config --get gitreview.hostname
> 2017-06-21 23:40:20.193283 Running: git config --get gitreview.port
> 2017-06-21 23:40:20.196035 Running: git config --get gitreview.project
> 2017-06-21 23:40:20.198816 Running: git log --color=never --oneline
> HEAD^1..HEAD
> 2017-06-21 23:40:20.202041 Running: git remote
> 2017-06-21 23:40:20.204871 Running: git branch -a --color=never
> 2017-06-21 23:40:20.207789 Running: git config --get
> remote.origin.pushurl
> 2017-06-21 23:40:20.210567 Running: git config --list
> Found origin Push URL: https://git.opendaylight.org/gerrit
> Query gerrit
> https://git.opendaylight.org/changes/?q=59148&o=CURRENT_REVISION
> 2017-06-21
> 
> 23:40:20.213423 Running: git config --bool --get http.sslVerify
> /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:838:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.io/en/latest/security.html
>   InsecureRequestWarning)
> Cannot query patchset information
> The following command failed with exit code 104
> "GET
> https://git.opendaylight.org/changes/?q=59148&o=CURRENT_REVISION";
> ---
> 
> 
> 
> Error 404 
> 
> 
> HTTP ERROR: 404
> Problem accessing /changes/. Reason:
> Not Found
> Powered by Jetty://
> 
> 
> 
> ---
> 
> It is clearly because git-review is removing /gerrit from the url. It
> will
> work properly if it queries
> https://git.opendaylight.org/gerrit/changes/?q=59148&o=CURRENT_REVISIONinstead
> of https://git.opendaylight.org/changes/?q=59148&o=CURRENT_REVISION.
> 
> The following is my git config:
> 
> user.email=user.name=
> push.default=simple
> filter.lfs.clean=git-lfs clean -- %f
> filter.lfs.smudge=git-lfs smudge -- %f
> filter.lfs.required=true
> credential.helper=cache --timeout=100
> url.https://github.com.insteadof=git://github.com
> gpg.program=gpg2
> core.repositoryformatversion=0
> core.filemode=true
> core.bare=false
> core.logallrefupdates=true
> remote.origin.url=https://git.opendaylight.org/gerrit/a/integration/test
> remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
> remote.origin.push=HEAD:refs/for/master
> branch.master.remote=origin
> branch.master.merge=refs/heads/master
> http.proxy=
> http.sslverify=false
> https.proxy=
> gitreview.remote=origin
> gitreview.scheme=http
> gitreview.hostname=https://git.opendaylight.org/gerrit/
> gitreview.port=80
> gitreview.project=integration/test
> 

This is indeed a bug. It looks like the bug is not present if you use
ssh gerrit remotes so that is a possible workaround. That said, I am
having a hard time reproducing 'Found origin Push URL:
https://git.opendaylight.org/gerrit' when
'remote.origin.url=https://git.opendaylight.org/gerrit/a/integration/test'.

What we want to do is remove gitreview.project from the found push url
and then append 'changes/?q=foo' in order to run the query but I don't
think that will work in your case either because the push url is
incomplete (lacks 'a/integration/test'). Any idea how that is the case?
maybe your git config is incomplete or changed?

I've pushed up https://review.openstack.org/478325 to address this but
it will only work if the push url is accurate. Perhaps you can test this
change out?

Hope this helps,
Clark

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Is there a way to download an offline openstack DOC's copy

2017-04-10 Thread Clark Boylan
On Mon, Apr 10, 2017, at 08:40 AM, don...@ahope.com.cn wrote:
> Hi all,
> 
> I want to get an offline copy of the openstack documents, but most of the
> ducuments are online HTML, it is not convenient, how can i download all
> the DOC's ?
> 
> Thank you.

Depending on your needs it might make the most sense to build the docs
locally.

git clone https://git.openstack.org/openstack/openstack-manauls
cd openstack-manuals
tox -e docs

Then you should have all the html built locally in
openstack-manuals/doc/$document/build/html. Note that the initial
investment here is high as you have to download the git repo, all the
build dependencies, and then build the docs, but most of the cost should
be upfront and once you have done it you can build all the docs at
various versions.

Hope this helps,
Clark

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [infra] lists.openstack.org maintenance Friday, March 31 20:00-23:00 UTC

2017-03-31 Thread Clark Boylan
On Tue, Mar 28, 2017, at 05:14 PM, Jeremy Stanley wrote:
> The Mailman listserv on lists.openstack.org will be offline for an
> upgrade-related maintenance for up to 3 hours (but hopefully much
> less) starting at 20:00 UTC March 31, this coming Friday. This
> activity is scheduled for a relatively low-volume period across our
> lists; during this time, most messages bound for the server will
> queue at the senders' MTAs until the server is back in service and
> so should not result in any obvious disruption.
> 
> Apologies for cross-posting so widely, but we wanted to make sure
> copies of this announcement went to most of our higher-traffic
> lists.

This work has been completed successfully, and receipt of this email
should mostly prove it :). Thank you to everyone that helped out.

Once again apologies for the cross post, but wanted to make sure
everyone that got the notice got this followup too.

Thank you,
Clark

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [doc] Translation problem

2016-05-03 Thread Clark Boylan
On Tue, May 3, 2016, at 04:29 PM, Shinobu Kinjo wrote:
> Hi,
> 
> I found a documentation that some sentences are NOT translated but
> some... [1]
> I would like to know whom we should contact with regarding to such a
> incomplete translation.
> 
> [1]
> http://docs.openstack.org/ja/user-guide-admin/common/cli_nova_evacuate.html

The documents are translated in much the same manner as the
Babel/gettext managed strings in the code. Basically each document is
"chopped" up into strings to translate, they are pushed to Zanata,
translated in Zanata, then the translations are fetched, compiled, and
published to this location. I believe that the reason that you see some
untranslated strings on this page is simply that no one has translated
them yet.

If you would like to get involved you can find more info at
https://translate.openstack.org/. Digging around there shows that the
user guide is ~97% translated into Japanese so a few untranslated
strings is expected.

Clark

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Docs website https failure

2015-07-07 Thread Clark Boylan
On Tue, Jul 7, 2015, at 07:15 AM, Leslie-Alexandre DENIS wrote:
> Hello everyone,
> 
> from my point of view and after some tests[1] from various locations, it 
> appears that docs.openstack.org refused connection on 443 at the moment.
> 
> [1] curl: (7) Failed to connect to docs.openstack.org port 443: 
> Connection refused
> 
I don't think docs.openstack.org has ever served content via HTTPS, it
has only served content over HTTP. Are you using HTTPS everywhere? It
has been mentioned that it has rules for docs.openstack.org to use HTTPS
but these rules are not valid.

If HTTP works for you then everything is working as expected.

Clark

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [OpenStack] How to get the logging output in unit tests with tox?

2014-08-04 Thread Clark Boylan
On Mon, Aug 4, 2014, at 08:28 AM, Markus Zoeller wrote:
> The bug 1301830 describes the need for additional debug logging.
> When I run the unit tests with
> tox -epy26
> HostFiltersTestCase.test_availability_zone_filter_different
> I don't see any logging output.
> 
> How do I get the ouput of the logging?
> 
> Regards,
> Markus Zoeller
> 
> 
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Note questions like this should probably go to the openstack-dev list.
You may get a quicker response there.

The answer to the question depends on what project is being tested.
Looking at the bug it appears to be Nova. Nova uses subunit to record
its test logs. You will find the subunit logs in
.testrepository/$TESTIDNUMBER. These files should contain the logs you
are looking for.

Clark

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Unable to post code for review via Gerrit

2014-04-14 Thread Clark Boylan
On Mon, Apr 14, 2014 at 3:42 PM, Narasimhan, Vivekanandan
 wrote:
> Hi,
>
>
>
> I have been working on Neutron OVS Distributed Virtual Router.
>
>
>
> When I tried to push the WIP code to Gerrit, I am getting the following
> error:
>
>
>
> workspace:~/dev/upstream/neutron$ git review
>
> fatal: ICLA contributor agreement requires current contact information.
>
>
>
> Please review your contact information:
>
>
>
>   https://review.openstack.org/#/settings/contact
>
>
>
>
>
> fatal: The remote end hung up unexpectedly
>
> workspace:~/dev/upstream/neutron$
>
>
>
> I have signed the ICLA.
>
>
>
> I tried to update the contact information in the above URL, but when saving
> the information, it
>
> Throws error that you have to register in openstack.org/register.
>
>
>
> So I tried ‘Submit Application’ in openstack.org/register, but after that
> button is clicked the
>
> same page loads again.  There is no mail being sent on confirmation of
> application or so.
>
>
>
> Could you please let me know which support list to forward this request to,
> if this is not
>
> the right mailing list?
>
>
>
> Thanks in advance for your help.
>
>
>
> --
>
> Thanks,
>
>
>
> Vivek
>
>
>
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>

You can check the list of registered foundation users at
http://www.openstack.org/community/members/ and can attempt to login
to see if your membership is valid via
https://www.openstack.org/Security/login/. If both of those show your
membership you should be set to go and resubmit your contact details.

I think you can submit bugs against the foundation site at
https://bugs.launchpad.net/openstack-community.

Hope this helps,
Clark

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack