Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm playing with the upgrade-charm command to better understand how it works and what happens during it. I'm using Ubuntu 14.04.

According to the log JUJU tries to use the git client for a charm upgrade.

I'm getting an error from git 'Please tell me who you are.'

So questions: - does juju use git for charm-upgrade? - do I have configure git in install hook to be able to use upgrade-charm?

Below is my log:

2014-03-11 11:02:04 ERROR juju git.go:216 worker/uniter/charm: git command failed: exit status 128
path: /var/lib/juju/agents/unit-nats-0/state/deployer/update-20140311-110204199654397
args: []string{"commit", "--allow-empty", "-m", "Imported charm \"local:trusty/cf-nats-12\" from \"/var/lib/juju/agents/unit-nats-0/state/bun
dles/local_3a_trusty_2f_cf-nats-12\"."}

*** Please tell me who you are.
share|improve this question

closed as off-topic by Braiam, Florian Diesch, Eric Carvalho, Avinash Raj, Ask Mar 12 at 5:28

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Bug reports and problems with the development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – Braiam, Florian Diesch, Eric Carvalho, Avinash Raj, Ask
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Even though Juju uses git for this you shouldn't need to do any additional setup. This sounds like a bug could you please file a bug bugs.launchpad.net/juju-core –  hatch Mar 11 at 21:31

1 Answer 1

The charm-upgrade is using git behind the scenes.

Your git username has not been configured which is why you are seeing this error. There is some information here that might be helpful.

To create a username/email in git:

git config --global user.email "your@email.com"
git config --global user.name "YourName"
share|improve this answer
    
Thank you for the answer Mat. I definitely know how to setup git client to avoid the message. To be more specific - do I have to do it in service's machine? –  Alex Prismakov Mar 11 at 14:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.